Bug 21053: sh: Reduce namespace pollution from sys/ucontext.h
[glibc.git] / ChangeLog
blobc7f3a1008b0314755a3a3e695ed5eb2b1937dab0
1 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
3         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4         constants instead of the old R* ones.
5         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
7         (NGREG): ... to this, to fit in with other architectures.
8         (gpregset_t): Use new NGREG macro.
9         [__USE_GNU]: Remove condition; all architectures other than tile
10         are unconditional.
11         (R*): Rename to REG_R*.
13 2017-01-20  DJ Delorie  <dj@redhat.com>
15         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
16         (tunable_set_val_if_valid_range_signed) ... this, and ...
17         (tunable_set_val_if_valid_range_unsigned) ... this.
18         (tunable_initialize): Call the correct one of the above based on type.
20 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
22         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
23         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25         * sysdeps/microblaze/libm-test-ulps: Likewise.
26         * sysdeps/sh/libm-test-ulps: Likewise.
28         * math/README.libm-test: Update list of characters for input and
29         output types.
31 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
34         (__lll_unlock_elision): Fix adapt_count decrement.
36 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
38         * README.pretty-printers (Known issues): Warn about printers not
39         always covering everything.
40         * nptl/nptl-printers.py (MutexPrinter): Change output.
41         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
43 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
45         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
46         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
47         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
48         (__lll_lock_elision): Do not test futex before starting a
49         transaction.  Use __glibc_likely instead of __builtin_expect.
50         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
51         (__lll_trylock_elision): Do not test futex before starting a
52         transaction.  Use __glibc_likely instead of __builtin_expect.
54 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
56         * po/Makefile (update-translations): New target.
58 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
60         [BZ #21061]
61         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
63 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
65         * elf/dl-tunables (get_next_env): Always advance envp.
66         * stdlib/tst-empty-env.c: New test case.
67         * stdlib/Makefile (tests): Use it.
69 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
71         [BZ #21047]
72         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
73         name for instruction.
74         [!__SOFTFP__] (_FPU_SETCW): Likewise.
76 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
78         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
79         for make install.
81 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
83         * po/bg.po: Merge from Translation Project.
84         * po/fr.po: Likewise.
85         * po/ko.po: Likewise.
86         * po/nl.po: Likewise.
87         * po/sv.po: Likewise.
89 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
91         * manual/install.texi (Tools for Compilation): Update GCC version
92         known to work to build glibc.
93         * INSTALL: Regenerated.
95 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
97         [BZ #21006]
98         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
100 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
102         [BZ #21045]
103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
104         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
105         to __sigprocmask.
107 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
109         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
110         wrap-around.
111         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
113         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
115 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
117         * NEWS: Fix typo.
119 2016-01-13  Torvald Riegel  <triegel@redhat.com>
121         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
122         barriers and comments.
123         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
124         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
125         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
127 2016-01-13  Torvald Riegel  <triegel@redhat.com>
129         [BZ #19402]
130         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
131         mutexes.
133 2016-01-13  Torvald Riegel  <triegel@redhat.com>
135         [BZ #20985]
136         * nptl/Makefile: Adapt.
137         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
138         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
139         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
140         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
141         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
142         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
143         lll_robust* functions and adapt.
144         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
145         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
146         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
147         __lll_robust_timedlock, __lll_robust_unlock): Remove.
148         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
149         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
150         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
151         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
152         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
153         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
154         __lll_robust_timedlock, __lll_robust_unlock): Remove.
155         * nptl/lowlevelrobustlock.c: Remove file.
156         * nptl/lowlevelrobustlock.sym: Likewise.
157         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
158         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
160 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
162         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
164 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
166         * po/cs.po: Merge translations from the Translation Project.
167         * po/de.po: Likewise.
168         * po/pl.po: Likewise.
169         * po/ru.po: Likewise.
170         * po/tr.po: Likewise.
171         * po/uk.po: Likewise.
172         * po/vi.po: Likewise.
173         * po/zh_CN.po: Likewise.
175 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
177         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
179         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
180         object.
182 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
184         [BZ #16458]
185         * bits/uintn-identity.h: New file.
186         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
187         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
188         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
189         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
190         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
191         * string/endian.h: Include <bits/uintn-identity.h>.
192         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
193         __uint16_identity.
194         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
195         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
196         __uint32_identity.
197         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
198         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
199         __uint64_identity.
200         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
201         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
202         __uint16_identity.
203         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
204         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
205         __uint32_identity.
206         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
207         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
208         __uint64_identity.
209         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
210         * string/Makefile (headers): Add bits/uintn-identity.h.
211         (tests): Add test-endian-types.
212         * string/test-endian-types.c: New file.
213         * inet/Makefile (tests): Add test-hnto-types.
214         * inet/test-hnto-types.c: New file.
216 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
218         * po/be.po: Update from Translation Project.
219         * po/bg.po: Likewise.
220         * po/ca.po: Likewise.
221         * po/cs.po: Likewise.
222         * po/da.po: Likewise.
223         * po/de.po: Likewise.
224         * po/el.po: Likewise.
225         * po/eo.po: Likewise.
226         * po/es.po: Likewise.
227         * po/fi.po: Likewise.
228         * po/fr.po: Likewise.
229         * po/gl.po: Likewise.
230         * po/hr.po: Likewise.
231         * po/hu.po: Likewise.
232         * po/ia.po: Likewise.
233         * po/id.po: Likewise.
234         * po/it.po: Likewise.
235         * po/ja.po: Likewise.
236         * po/ko.po: Likewise.
237         * po/lt.po: Likewise.
238         * po/nb.po: Likewise.
239         * po/nl.po: Likewise.
240         * po/pl.po: Likewise.
241         * po/pt_BR.po: Likewise.
242         * po/ru.po: Likewise.
243         * po/rw.po: Likewise.
244         * po/sk.po: Likewise.
245         * po/sl.po: Likewise.
246         * po/sv.po: Likewise.
247         * po/tr.po: Likewise.
248         * po/uk.po: Likewise.
249         * po/vi.po: Likewise.
250         * po/zh_CN.po: Likewise.
251         * po/zh_TW.po: Likewise.
253 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
255         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
256         -Wformat-truncation instead of -Wformat-length.
257         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
258         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
259         GCC 7.
260         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
261         (do_test): Ignore -Wformat-truncation for GCC 7.
263         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
264         buffer used to print long int value.
266         * elf/sotruss-lib.c (init): Increase space allocated for pid by
267         one byte.  Print it with %ld, cast to long int.
269 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
271         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
272         (re.fullmatch, subprocess.run): Likewise.
274 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
276         * po/libc.pot: Regenerate.
278 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
280         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
281         (min_strlen): Likewise.
282         (disable_tunable): Likewise.
283         (maybe_disable_malloc_check): Rename to
284         maybe_enable_malloc_check.
285         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
286         if /etc/suid-debug file exists.
287         (__tunables_init): Update caller.
288         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
289         secure.
291 2016-01-10  Torvald Riegel  <triegel@redhat.com>
293         * nptl/DESIGN-rwlock.txt: Remove.
294         * nptl/lowlevelrwlock.sym: Remove.
295         * nptl/Makefile: Add new tests.
296         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
297         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
298         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
299         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
300         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
301         PTHREAD_RWLOCK_FUTEX_USED): New.
302         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
303         implementation.
304         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
305         (__pthread_rwlock_rdlock): Adapt.
306         * nptl/pthread_rwlock_timedrdlock.c
307         (pthread_rwlock_timedrdlock): Adapt.
308         * nptl/pthread_rwlock_timedwrlock.c
309         (pthread_rwlock_timedwrlock): Adapt.
310         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
311         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
312         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
313         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
314         (__pthread_rwlock_wrlock): Adapt.
315         * nptl/tst-rwlock10.c: Adapt.
316         * nptl/tst-rwlock11.c: Adapt.
317         * nptl/tst-rwlock17.c: New file.
318         * nptl/tst-rwlock18.c: New file.
319         * nptl/tst-rwlock19.c: New file.
320         * nptl/tst-rwlock2b.c: New file.
321         * nptl/tst-rwlock8.c: Adapt.
322         * nptl/tst-rwlock9.c: Adapt.
323         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
324         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
325         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
326         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
327         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
328         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
329         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
330         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
331         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
332         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
333         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
334         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
335         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
336         (pthread_rwlock_t): Adapt.
337         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
338         (pthread_rwlock_t): Adapt.
339         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
340         * nptl/nptl-printers.py (): Adapt.
341         * nptl/nptl_lock_constants.pysym: Adapt.
342         * nptl/test-rwlock-printers.py: Adapt.
343         * nptl/test-rwlockattr-printers.c: Adapt.
344         * nptl/test-rwlockattr-printers.py: Adapt.
346 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
348         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
349         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
350         (fma_test_data): Likewise.
351         (hypot_test_data): Likewise.
352         (log1p_test_data): Likewise.
353         (modf_test_data): Likewise.
354         (pow_test_data): Likewise.
355         (remainder_test_data): Likewise.
356         (remquo_test_data): Likewise.
357         (scalb_test_data): Likewise.
358         (scalbn_test_data): Likewise.
359         (scalbln_test_data): Likewise.
360         * math/gen-libm-test.pl (parse_args): Transform
361         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
362         on the rounding mode.
364 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
366         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
367         xfail-rounding:ibm128-libgcc automatically to tests overflowing
368         and those that can underflow to zero.
369         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
370         add others.
371         * math/auto-libm-test-out: Regenerated.
373         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
374         supported.
375         (feholdexcept_tests): Skip tests requiring exceptions or rounding
376         modes support if not supported.
378         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
379         Add libc.so PLT entry.
380         (__tls_get_addr): Make ld.so PLT entry optional.
382 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
384         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
385         * string/bits/string3.h: ... here.
387 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
389         [BZ #21028]
390         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
391         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
392         if EXCEPTION_TESTS returns false.
394 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
396         [BZ #20558]
397         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
398         strings_fortified.h.
399         [__USE_MISC] (bzero): Likewise.
400         [__USE_MISC] (explicit_bzero): Likewise.
401         * string/strings.h: Include strings_fortified.h.
402         * string/Makefile (headers): Add strings_fortified.h.
403         * string/bits/strings_fortified.h: New file.
404         * include/bits/strings_fortified.h: Likewise.
406 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
408         * elf/tst-tls13.c (TIMEOUT): Remove.
409         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
410         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
411         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
412         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
413         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
415         [BZ #21026]
416         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
417         (readahead): New syscall entry.
419 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
421         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
422         around tests of strncat with large sizes.
424         * malloc/tst-malloc.c: Include <libc-internal.h>.
425         (do_test): Disable -Walloc-size-larger-than= around tests of
426         malloc with negative sizes.
427         * malloc/tst-mcheck.c: Include <libc-internal.h>.
428         (do_test): Disable -Walloc-size-larger-than= around tests of
429         malloc and realloc with negative sizes.
430         * malloc/tst-realloc.c: Include <libc-internal.h>.
431         (do_test): Disable -Walloc-size-larger-than= around tests of
432         realloc with negative sizes.
434         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
435         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
436         allowed to 16 ulps.
437         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
438         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
439         * math/auto-libm-test-out: Regenerated.
441 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
443         * math/Makefile (libm-calls): Move wrappers...
444         (libm-compat-call-auto): Here.
445         (libm-routines): Add items in libm-compat-calls-auto.
446         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
447         the filenames of the wrappers that have been renamed.
448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
451         * math/w_acos.c: Add _compat suffix to filename.
452         * math/w_acosf.c: Likewise.
453         * math/w_acosh.c: Likewise.
454         * math/w_acoshf.c: Likewise.
455         * math/w_acoshl.c: Likewise.
456         * math/w_acosl.c: Likewise.
457         * math/w_asin.c: Likewise.
458         * math/w_asinf.c: Likewise.
459         * math/w_asinl.c: Likewise.
460         * math/w_atan2.c: Likewise.
461         * math/w_atan2f.c: Likewise.
462         * math/w_atan2l.c: Likewise.
463         * math/w_atanh.c: Likewise.
464         * math/w_atanhf.c: Likewise.
465         * math/w_atanhl.c: Likewise.
466         * math/w_cosh.c: Likewise.
467         * math/w_coshf.c: Likewise.
468         * math/w_coshl.c: Likewise.
469         * math/w_exp10.c: Likewise.
470         * math/w_exp10f.c: Likewise.
471         * math/w_exp10l.c: Likewise.
472         * math/w_exp2.c: Likewise.
473         * math/w_exp2f.c: Likewise.
474         * math/w_exp2l.c: Likewise.
475         * math/w_fmod.c: Likewise.
476         * math/w_fmodf.c: Likewise.
477         * math/w_fmodl.c: Likewise.
478         * math/w_hypot.c: Likewise.
479         * math/w_hypotf.c: Likewise.
480         * math/w_hypotl.c: Likewise.
481         * math/w_j0.c: Likewise.
482         * math/w_j0f.c: Likewise.
483         * math/w_j0l.c: Likewise.
484         * math/w_j1.c: Likewise.
485         * math/w_j1f.c: Likewise.
486         * math/w_j1l.c: Likewise.
487         * math/w_jn.c: Likewise.
488         * math/w_jnf.c: Likewise.
489         * math/w_jnl.c: Likewise.
490         * math/w_log10.c: Likewise.
491         * math/w_log10f.c: Likewise.
492         * math/w_log10l.c: Likewise.
493         * math/w_log2.c: Likewise.
494         * math/w_log2f.c: Likewise.
495         * math/w_log2l.c: Likewise.
496         * math/w_log.c: Likewise.
497         * math/w_logf.c: Likewise.
498         * math/w_logl.c: Likewise.
499         * math/w_pow.c: Likewise.
500         * math/w_powf.c: Likewise.
501         * math/w_powl.c: Likewise.
502         * math/w_remainder.c: Likewise.
503         * math/w_remainderf.c: Likewise.
504         * math/w_remainderl.c: Likewise.
505         * math/w_scalb.c: Likewise.
506         * math/w_scalbf.c: Likewise.
507         * math/w_scalbl.c: Likewise.
508         * math/w_sinh.c: Likewise.
509         * math/w_sinhf.c: Likewise.
510         * math/w_sinhl.c: Likewise.
511         * math/w_sqrt.c: Likewise.
512         * math/w_sqrtf.c: Likewise.
513         * math/w_sqrtl.c: Likewise.
514         * math/w_tgamma.c: Likewise.
515         * math/w_tgammaf.c: Likewise.
516         * math/w_tgammal.c: Likewise.
518         * math/w_acos_compat.c: New file copied from above and
519         adjusted for new #includes path
520         * math/w_acosf_compat.c: Likewise.
521         * math/w_acosh_compat.c: Likewise.
522         * math/w_acoshf_compat.c: Likewise.
523         * math/w_acoshl_compat.c: Likewise.
524         * math/w_acosl_compat.c: Likewise.
525         * math/w_asin_compat.c: Likewise.
526         * math/w_asinf_compat.c: Likewise.
527         * math/w_asinl_compat.c: Likewise.
528         * math/w_atan2_compat.c: Likewise.
529         * math/w_atan2f_compat.c: Likewise.
530         * math/w_atan2l_compat.c: Likewise.
531         * math/w_atanh_compat.c: Likewise.
532         * math/w_atanhf_compat.c: Likewise.
533         * math/w_atanhl_compat.c: Likewise.
534         * math/w_cosh_compat.c: Likewise.
535         * math/w_coshf_compat.c: Likewise.
536         * math/w_coshl_compat.c: Likewise.
537         * math/w_exp10_compat.c: Likewise.
538         * math/w_exp10f_compat.c: Likewise.
539         * math/w_exp10l_compat.c: Likewise.
540         * math/w_exp2_compat.c: Likewise.
541         * math/w_exp2f_compat.c: Likewise.
542         * math/w_exp2l_compat.c: Likewise.
543         * math/w_fmod_compat.c: Likewise.
544         * math/w_fmodf_compat.c: Likewise.
545         * math/w_fmodl_compat.c: Likewise.
546         * math/w_hypot_compat.c: Likewise.
547         * math/w_hypotf_compat.c: Likewise.
548         * math/w_hypotl_compat.c: Likewise.
549         * math/w_j0_compat.c: Likewise.
550         * math/w_j0f_compat.c: Likewise.
551         * math/w_j0l_compat.c: Likewise.
552         * math/w_j1_compat.c: Likewise.
553         * math/w_j1f_compat.c: Likewise.
554         * math/w_j1l_compat.c: Likewise.
555         * math/w_jn_compat.c: Likewise.
556         * math/w_jnf_compat.c: Likewise.
557         * math/w_jnl_compat.c: Likewise.
558         * math/w_log10_compat.c: Likewise.
559         * math/w_log10f_compat.c: Likewise.
560         * math/w_log10l_compat.c: Likewise.
561         * math/w_log2_compat.c: Likewise.
562         * math/w_log2f_compat.c: Likewise.
563         * math/w_log2l_compat.c: Likewise.
564         * math/w_log_compat.c: Likewise.
565         * math/w_logf_compat.c: Likewise.
566         * math/w_logl_compat.c: Likewise.
567         * math/w_pow_compat.c: Likewise.
568         * math/w_powf_compat.c: Likewise.
569         * math/w_powl_compat.c: Likewise.
570         * math/w_remainder_compat.c: Likewise.
571         * math/w_remainderf_compat.c: Likewise.
572         * math/w_remainderl_compat.c: Likewise.
573         * math/w_scalb_compat.c: Likewise.
574         * math/w_scalbf_compat.c: Likewise.
575         * math/w_scalbl_compat.c: Likewise.
576         * math/w_sinh_compat.c: Likewise.
577         * math/w_sinhf_compat.c: Likewise.
578         * math/w_sinhl_compat.c: Likewise.
579         * math/w_sqrt_compat.c: Likewise.
580         * math/w_sqrtf_compat.c: Likewise.
581         * math/w_sqrtl_compat.c: Likewise.
582         * math/w_tgamma_compat.c: Likewise.
583         * math/w_tgammaf_compat.c: Likewise.
584         * math/w_tgammal_compat.c: Likewise.
586         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
587         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
588         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
589         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
590         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
591         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
592         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
593         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
594         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
595         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
596         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
597         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
598         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
599         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
600         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
601         * sysdeps/ia64/fpu/w_powl.c: Likewise.
602         * sysdeps/ia64/fpu/w_powf.c: Likewise.
603         * sysdeps/ia64/fpu/w_pow.c: Likewise.
604         * sysdeps/ia64/fpu/w_logl.c: Likewise.
605         * sysdeps/ia64/fpu/w_logf.c: Likewise.
606         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
607         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
608         * sysdeps/ia64/fpu/w_log2.c: Likewise.
609         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
610         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
611         * sysdeps/ia64/fpu/w_log10.c: Likewise.
612         * sysdeps/ia64/fpu/w_log.c: Likewise.
613         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
614         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
615         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
616         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
617         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
618         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
619         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
620         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
621         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
622         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
623         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
624         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
625         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
626         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
627         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
628         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
629         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
630         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
631         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
632         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
633         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
634         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
635         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
636         * sysdeps/ia64/fpu/w_asin.c: Likewise.
637         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
638         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
639         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
640         * sysdeps/ia64/fpu/w_acos.c: Likewise.
641         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
642         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
643         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
644         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
645         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
646         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
647         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
648         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
649         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
650         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
651         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
652         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
653         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
654         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
655         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
656         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
657         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
658         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
659         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
660         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
661         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
662         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
663         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
664         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
665         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
666         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
667         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
668         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
669         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
670         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
671         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
672         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
673         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
674         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
675         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
676         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
677         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
678         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
679         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
680         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
681         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
682         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
683         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
684         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
685         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
687         Likewise.
688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
689         Likewise.
690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
692         Likewise.
693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
694         Likewise.
695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
696         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
697         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
698         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
699         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
700         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
701         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
706         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
707         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
708         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
709         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
711         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
712         and adjusted for new #includes path
713         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
714         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
715         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
716         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
717         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
718         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
719         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
720         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
721         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
722         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
723         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
724         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
725         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
726         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
727         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
728         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
729         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
730         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
731         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
732         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
733         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
734         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
735         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
736         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
737         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
738         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
739         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
740         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
741         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
742         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
743         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
744         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
745         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
746         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
747         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
748         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
749         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
750         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
751         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
752         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
753         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
754         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
755         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
756         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
757         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
758         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
759         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
760         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
761         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
762         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
763         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
764         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
765         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
766         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
767         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
768         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
769         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
770         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
771         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
772         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
773         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
774         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
775         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
776         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
777         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
778         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
779         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
780         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
781         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
782         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
783         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
784         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
785         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
786         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
787         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
788         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
789         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
790         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
791         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
792         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
793         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
794         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
795         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
796         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
797         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
798         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
799         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
800         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
801         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
802         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
803         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
804         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
805         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
806         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
807         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
808         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
809         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
810         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
811         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
813         Likewise.
814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
815         Likewise.
816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
817         Likewise.
818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
819         Likewise.
820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
821         Likewise.
822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
823         Likewise.
824         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
825         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
826         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
827         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
828         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
829         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
831         Likewise.
832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
833         Likewise.
834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
835         Likewise.
836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
837         Likewise.
838         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
839         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
840         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
841         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
843 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
845         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
846         __jmp_buf_internal_tag.
848         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
849         preserve NaN payload if [__mips_nan2008].
850         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
852         [BZ #21022]
853         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
855 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
857         * sysdeps/i386/fpu/libm-test-ulps: Update.
859 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
861         * sysdeps/ia64/strcat.c: Remove file.
862         * sysdeps/powerpc/strcat.c: Likewise.
863         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
864         C implementation.
865         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
866         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
868 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
869             Steven Munroe  <sjmunroe@us.ibm.com>
870             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
872         [BZ #20822]
873         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
874         (__lll_lock_elision): Access adapt_count via C11 atomics.
875         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
876         (__lll_trylock_elision): Likewise.
877         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
878         (__lll_unlock_elision):  Update adapt_count variable inside the
879         critical section using C11 atomics.
881 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
883         * math/test-fenvinline.c (do_test): Disable tests of raised
884         exceptions if !EXCEPTION_TESTS (FLOAT).
886 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
888         [BZ #19390]
889         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
890         maximum string size.
891         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
892         in pointer addition.
893         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
894         Likewise.
896 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
898         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
899         passed to tst-ldconfig-X.sh.
901 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
903         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
905 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
907         [BZ #21019]
908         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
909         New syscall entry.
910         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
911         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
912         lseek.
914         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
915         power4 glibc for powerpc-linux-gnu.
917 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
919         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
920         semctl.
922 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
924         * math/test-nearbyint-except.c: Include <stdbool.h>.
925         (any_supported): New variable.
926         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
927         set any_supported.
928         (do_test): Return 77 if no floating-point type supported
929         exceptions.
931         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
932         condition on [__mips_hard_float].
934 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
936         [BZ #21014]
937         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
938         in pointer addition.
939         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
941 2017-01-02  Torvald Riegel  <triegel@redhat.com>
943         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
944         new condvar.
946 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
948         * scripts/build-many-glibcs.py (Context.checkout): Default
949         binutils version to 2.28 branch.
951 2017-01-01  Florian Weimer  <fweimer@redhat.com>
953         * support/support_format_netent.c (support_format_netent): Work
954         around alpha struct netent definition difference.
956 2017-01-01  Florian Weimer  <fweimer@redhat.com>
958         * support/xwrite.c (xwrite): Use %td for pointer difference.
960 2017-01-01  Florian Weimer  <fweimer@redhat.com>
962         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
963         have-tunables only.
964         (tests-static): Add tst-malloc-usable-static-tunables for
965         have-tunables only.
967 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
969         * scripts/config.guess: Update to version 2017-01-01.
970         * scripts/config.sub: Update to version 2017-01-01.
972         * NEWS: Update copyright dates.
973         * catgets/gencat.c (print_version): Likewise.
974         * csu/version.c (banner): Likewise.
975         * debug/catchsegv.sh: Likewise.
976         * debug/pcprofiledump.c (print_version): Likewise.
977         * debug/xtrace.sh (do_version): Likewise.
978         * elf/ldconfig.c (print_version): Likewise.
979         * elf/ldd.bash.in: Likewise.
980         * elf/pldd.c (print_version): Likewise.
981         * elf/sotruss.sh: Likewise.
982         * elf/sprof.c (print_version): Likewise.
983         * iconv/iconv_prog.c (print_version): Likewise.
984         * iconv/iconvconfig.c (print_version): Likewise.
985         * locale/programs/locale.c (print_version): Likewise.
986         * locale/programs/localedef.c (print_version): Likewise.
987         * login/programs/pt_chown.c (print_version): Likewise.
988         * malloc/memusage.sh (do_version): Likewise.
989         * malloc/memusagestat.c (print_version): Likewise.
990         * malloc/mtrace.pl: Likewise.
991         * manual/libc.texinfo: Likewise.
992         * nptl/version.c (banner): Likewise.
993         * nscd/nscd.c (print_version): Likewise.
994         * nss/getent.c (print_version): Likewise.
995         * nss/makedb.c (print_version): Likewise.
996         * posix/getconf.c (main): Likewise.
997         * scripts/test-installation.pl: Likewise.
998         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1000         * All files with FSF copyright notices: Update copyright dates
1001         using scripts/update-copyrights.
1002         * intl/plural.c: Regenerated.
1003         * locale/programs/charmap-kw.h: Likewise.
1004         * locale/programs/locfile-kw.h: Likewise.
1006 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1008         [BZ #20593]
1009         Update DNS RR type definitions.
1010         * scripts/gen-rrtypes.py: New file.
1011         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
1012         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
1013         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
1014         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
1015         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
1016         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
1017         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
1018         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
1019         ns_t_ta, ns_t_dlv.
1020         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
1021         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
1022         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
1023         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
1024         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
1025         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
1026         Define.
1027         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
1028         entry for ns_t_zxfr.
1030 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1032         [BZ #18784]
1033         CVE-2015-5180
1034         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
1035         T_UNSPEC.  Adjust value.
1036         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
1037         * resolv/res_query.c (__libc_res_nquery): Likewise.
1038         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
1039         QTYPEs.
1040         * resolv/tst-resolv-qtypes.c: New file.
1041         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
1042         (tst-resolv-qtypes): Link against libresolv and libpthread.
1044 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1046         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
1048 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1050         * manual/tunables.texi: New chapter.
1051         * manual/Makefile (chapters): Add it.
1052         * manual/probes.texi (@node): Point to the Tunables chapter.
1054         * Makeconfig (have-tunables): Check for non-negative instead
1055         of positive.
1056         * configure.ac: Add 'valstring' as a valid value for
1057         --enable-tunables.
1058         * configure: Regenerate.
1059         * elf/Makefile (have-tunables): Check for non-negative instead
1060         of positive.
1061         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
1062         dl-tunables.c.
1063         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
1064         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1065         (tunables_strdup): Likewise.
1066         (disable_tunables): Likewise.
1067         (parse_tunables): Likewise.
1068         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
1069         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1070         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
1071         (TUNABLES_FRONTEND_yes): New macro, define as
1072         TUNABLES_FRONTEND_valstring by default.
1073         * manual/install.texi: Document new acceptable values for
1074         --enable-tunables.
1075         * INSTALL: Regenerate.
1077         * config.make.in (have-loop-to-function): Define.
1078         * elf/Makefile (CFLAGS-dl-tunables.c): Add
1079         -fno-tree-loop-distribute-patterns.
1080         * elf/dl-tunables.c: Include libc-internals.h.
1081         (GLIBC_TUNABLES): New macro.
1082         (tunables_strdup): New function.
1083         (parse_tunables): New function.
1084         (min_strlen): New function.
1085         (__tunables_init): Use the new functions and macro.
1086         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
1087         * malloc/tst-malloc-usable-tunables.c: New test case.
1088         * malloc/tst-malloc-usable-static-tunables.c: New test case.
1089         * malloc/Makefile (tests, tests-static): Add tests.
1091         * manual/install.texi: Add --enable-tunables option.
1092         * INSTALL: Regenerate.
1093         * README.tunables: New file.
1094         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
1095         (before-compile): Generate dl-tunable-list.h early.
1096         * config.h.in: Add HAVE_TUNABLES.
1097         * config.make.in: Add have-tunables.
1098         * configure.ac: Add --enable-tunables option.
1099         * configure: Regenerate.
1100         * csu/init-first.c (__libc_init_first): Move
1101         __libc_init_secure earlier...
1102         * csu/init-first.c (LIBC_START_MAIN):... to here.
1103         Include dl-tunables.h, libc-internal.h.
1104         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
1105         binaries.
1106         * elf/Makefile (dl-routines): Add dl-tunables.
1107         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
1108         namespace.
1109         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
1110         only when !HAVE_TUNABLES.
1111         * elf/rtld.c (process_envvars): Likewise.
1112         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
1113         (_dl_sysdep_start): Call __tunables_init.
1114         * elf/dl-tunable-types.h: New file.
1115         * elf/dl-tunables.c: New file.
1116         * elf/dl-tunables.h: New file.
1117         * elf/dl-tunables.list: New file.
1118         * malloc/tst-malloc-usable-static.c: New test case.
1119         * malloc/Makefile (tests-static): Add it.
1120         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1121         Define TUNABLE_NAMESPACE.
1122         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1123         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
1124         callback functions.
1125         (ptmalloc_init): Set tunable values.
1126         * scripts/gen-tunables.awk: New file.
1127         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1128         (_dl_sysdep_start): Call __tunables_init.
1130 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1132         * resolv/resolv.h (RES_BLAST): Deprecate.
1133         * resolv/res_debug.c (p_option): Remove RES_BLAST.
1134         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1135         to RES_BLAST.
1137 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1139         [BZ #19582]
1140         Deprecate RES_USE_INET6.
1141         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1142         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1143         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1144         RES_USE_INET6.
1145         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1146         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1147         (_nss_nisplus_gethostbyaddr_r): Likewise.
1148         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1149         of res_use_inet6.
1150         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1151         instead of RES_USE_INET6.
1152         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1153         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1154         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1155         Likewise.
1156         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1157         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1158         Likewise.
1159         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1160         (_nss_dns_gethostbyname_r): Likewise.
1161         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1162         alternate RES_USE_INET6 handling.
1163         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1164         instead of RES_USE_INET6.
1165         * resolv/res_init.c (res_setoptions): Likewise.
1166         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1167         * resolv/resolv-internal.h: New file.
1168         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1169         make the deprecation warning non-fatal.
1170         * resolv/README (Using the resolver in multi-threaded code): Drop
1171         reference to RES_USE_INET6.
1172         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1173         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1175 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1177         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1178         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1179         tst-resolv-search.
1180         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1181         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1182         with libresolv and libpthread.
1183         * resolv/tst-bug18665.c: New file.
1184         * resolv/tst-bug18665-tcp: Likewise.
1185         * resolv/tst-res_use_inet6: Likewise.
1186         * resolv/tst-resolv-basic: Likewise.
1187         * resolv/tst-resolv-network: Likewise.
1188         * resolv/tst-resolv-search: Likewise.
1189         * support/Makefile (libsupport-routines): Add check_addrinfo,
1190         check_dns_packet, check_hostent, check_netent, resolv_test,
1191         support_format_address_family, support_format_addrinfo,
1192         support_format_dns_packet, support_format_herrno,
1193         support_format_hostent, support_format_netent, support_run_diff,
1194         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1195         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1196         xstrdup, xwrite.
1197         * support/check_addrinfo.c: New file.
1198         * support/check_dns_packet.c: Likewise.
1199         * support/check_hostent.c: Likewise.
1200         * support/check_netent.c: Likewise.
1201         * support/check_nss.h: Likewise.
1202         * support/format_nss.h: Likewise.
1203         * support/resolv_test.c: Likewise.
1204         * support/resolv_test.h: Likewise.
1205         * support/run_diff.h: Likewise.
1206         * support/support_format_address_family.c: Likewise.
1207         * support/support_format_addrinfo.c: Likewise.
1208         * support/support_format_dns_packet.c: Likewise.
1209         * support/support_format_herrno.c: Likewise.
1210         * support/support_format_hostent.c: Likewise.
1211         * support/support_format_netent.c: Likewise.
1212         * support/support_run_diff.c: Likewise.
1213         * support/xaccept.c: Likewise.
1214         * support/xbind.c: Likewise.
1215         * support/xconnect.c: Likewise.
1216         * support/xfclose.c: Likewise.
1217         * support/xfopen.c: Likewise.
1218         * support/xgetsockname.c: Likewise.
1219         * support/xlisten.c: Likewise.
1220         * support/xmemstream.c: Likewise.
1221         * support/xmemstream.h: Likewise.
1222         * support/xpoll.c: Likewise.
1223         * support/xpthread_once.c: Likewise.
1224         * support/xrecvfrom.c: Likewise.
1225         * support/xsendto.c: Likewise.
1226         * support/xsetsockopt.c: Likewise.
1227         * support/xstdio.h: Likewise.
1228         * support/xstrdup.c: Likewise.
1229         * support/support.h (xstrdup): Declare.
1230         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1231         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1232         * support/xthread.h (xpthread_once): Likwise.
1233         * support/xunistd.h (xwrite): Declare.
1235 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1237         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1238         (test_verbose): Declare.
1239         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1240         * support/support_test_main.c (default_options): Likewise.
1241         (usage, support_test_main): Handle 'v'.
1242         (test_verbose): Define.
1243         * support/tst-support_record_failure.c (do_test): Use
1244         test_verbose.
1245         * support/tst-support_record_failure-2.sh (different_status): Add
1246         --verbose test.
1248 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1250         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1251         test failures are recorded.
1252         * support/check.c (support_print_failure_impl): Call
1253         support_record_failure.
1254         (support_exit_failure_impl): Call support_record_failure if status
1255         indicates failure.
1256         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1257         * support/xasprintf.c (xasprintf): Likewise.
1258         * support/xfork.c (xfork): Likewise.
1259         * support/xpthread_check_return.c (xpthread_check_return):
1260         Likewise.
1261         * support/xsocket.c (xsocket): Likeweise.
1262         * support/xwaitpid.c (xwaitpid): Likewise.
1263         * support/support_record_failure.c (struct test_failures): Adjust
1264         to coding style.
1265         * support/support_test_verify_impl.c (support_test_verify_impl):
1266         Adjust error messages.
1267         * support/tst-support_record_failure-2.sh (different_status):
1268         Adjust error messages.
1270 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1272         * support/namespace.h: New file.
1273         * support/support_become_root.c: Likewise.
1274         * support/support_enter_network_namespace.c: Likewise.
1275         * support/tst-support-namespace.c: Likewise.
1276         * support/xsocket.c: Likewise.
1277         * support/xsocket.h: Likewise.
1278         * support/Makefile (libsupport-routines): Add support_become_root,
1279         support_enter_network_namespace, xsocket.
1280         (tests): Add tst-support-namespace.
1282 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1284         [BZ #17252]
1285         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1286         __USE_GNU.
1288 2016-12-31  Torvald Riegel  <triegel@redhat.com>
1290         [BZ #13165]
1291         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1292         use new algorithm.
1293         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1294         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1295         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1296         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1297         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1298         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1299         __condvar_cleanup_waiting, __condvar_dec_grefs,
1300         __pthread_cond_wait_common): New.
1301         (__condvar_cleanup): Remove.
1302         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1303         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1304         Likewise.
1305         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1306         Likewise.
1307         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1308         * nptl/tst-cond1.c: Add comment.
1309         * nptl/tst-cond20.c (do_test): Adapt.
1310         * nptl/tst-cond22.c (do_test): Likewise.
1311         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1312         structure.
1313         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1314         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1315         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1316         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1317         Likewise.
1318         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1319         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1320         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1321         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1322         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1323         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1324         Likewise.
1325         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1326         Likewise.
1327         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1328         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1329         (COND_CLOCK_BITS): Adapt.
1330         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1331         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1332         __PTHREAD_COND_SHARED_MASK): New.
1333         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1334         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1335         * nptl/nptl_lock_constants.pysym: Adapt.
1336         * nptl/test-cond-printers.py: Adapt.
1337         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1338         cond_compat_check_and_clear): Adapt.
1339         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1340         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1341         (__pthread_cond_timedwait): ... and move here.
1342         * nptl/DESIGN-condvar.txt: Remove file.
1343         * nptl/lowlevelcond.sym: Likewise.
1344         * nptl/pthread_cond_timedwait.c: Likewise.
1345         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1346         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1347         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1348         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1349         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1350         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1351         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1352         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1353         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1354         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1355         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1356         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1357         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1358         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1359         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1360         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1362 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
1364         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1365         (fromfp): New declaration.
1366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1367         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1368         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1369         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1370         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1372         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1373         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1374         * math/math.h: Include <bits/types.h>.
1375         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1376         constant and macro.
1377         (FP_INT_DOWNWARD): Likewise.
1378         (FP_INT_TOWARDZERO): Likewise.
1379         (FP_INT_TONEARESTFROMZERO): Likewise.
1380         (FP_INT_TONEAREST): Likewise.
1381         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1382         (fromfpf): Likewise.
1383         (fromfpl): Likewise.
1384         (ufromfp): Likewise.
1385         (ufromfpf): Likewise.
1386         (ufromfpl): Likewise.
1387         (fromfpx): Likewise.
1388         (fromfpxf): Likewise.
1389         (fromfpxl): Likewise.
1390         (ufromfpx): Likewise.
1391         (ufromfpxf): Likewise.
1392         (ufromfpxl): Likewise.
1393         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1394         s_fromfpxF and s_ufromfpxF.
1395         * math/gen-fromfp-tests.py: New file.
1396         * math/gen-fromfp-tests-inputs: Likewise.
1397         * math/libm-test.inc: Include <stdint.h>
1398         (check_intmax_t): New function.
1399         (check_uintmax_t): Likewise.
1400         (struct test_fiu_M_data): New type.
1401         (struct test_fiu_U_data): Likewise.
1402         (RUN_TEST_fiu_M): New macro.
1403         (RUN_TEST_LOOP_fiu_M): Likewise.
1404         (RUN_TEST_fiu_U): Likewise.
1405         (RUN_TEST_LOOP_fiu_U): Likewise.
1406         (fromfp_test_data): New array.
1407         (fromfp_test): New function.
1408         (fromfpx_test_data): New array.
1409         (fromfpx_test): New function.
1410         (ufromfp_test_data): New array.
1411         (ufromfp_test): New function.
1412         (ufromfpx_test_data): New array.
1413         (ufromfpx_test): New function.
1414         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1415         ufromfpx_test.
1416         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1417         characters.
1418         * math/test-tgmath-ret.c: Include <stdint.h>.
1419         (rm): New variable.
1420         (width): Likewise.
1421         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1422         called function.
1423         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1424         CHECK_RET_CONST_TYPE.
1425         (CHECK_RET_CONST_DOUBLE): Likewise.
1426         (CHECK_RET_CONST_LDOUBLE): Likewise.
1427         (CHECK_RET_CONST): Take extra arguments and pass them to calls
1428         macros.
1429         (fromfp): New CHECK_RET_CONST call.
1430         (ufromfp): Likewise.
1431         (fromfpx): Likewise.
1432         (ufromfpx): Likewise.
1433         (do_test): Call check_return_fromfp, check_return_ufromfp,
1434         check_return_fromfpx and check_return_ufromfpx.
1435         * math/test-tgmath.c: Include <stdint.h>
1436         (NCALLS): Increase to 138.
1437         (F(compile_test)): Initialize i.  Call fromfp functions.
1438         (F(fromfp)): New function.
1439         (F(fromfpx)): Likewise.
1440         (F(ufromfp)): Likewise.
1441         (F(ufromfpx)): Likewise.
1442         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1443         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1444         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1445         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1446         ufromfpxl.
1447         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1448         ufromfp and ufromfpx.
1449         * math/fromfp.h: New file.
1450         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1451         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1452         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1453         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1454         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1455         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1456         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1457         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1458         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1459         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1460         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1461         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1462         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1463         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1464         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1465         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1466         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1467         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1468         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1469         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1470         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1471         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1472         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1473         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1474         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1475         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1476         ufromfp, fromfpx and ufromfpx.
1477         (CFLAGS-nldbl-fromfp.c): New variable.
1478         (CFLAGS-nldbl-fromfpx.c): Likewise.
1479         (CFLAGS-nldbl-ufromfp.c): Likewise.
1480         (CFLAGS-nldbl-ufromfpx.c): Likewise.
1481         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1482         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1483         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1484         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1485         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1486         * sysdeps/nacl/libm.abilist: Update.
1487         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1489         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1491         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1492         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1495         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1496         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1497         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1498         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1500         Likewise.
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1502         Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1504         Likewise.
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1506         Likewise.
1507         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1508         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1509         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1510         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1511         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1513         Likewise.
1514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1515         Likewise.
1516         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1517         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1518         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1520 2016-12-30  Florian Weimer  <fweimer@redhat.com>
1522         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1523         compat-gethnamaddr.
1524         (CPPFLAGS): Remove.
1525         * resolv/gethnamaddr.c: Rename ...
1526         * resolv/compat-gethnamaddr.c: ... to this file.
1527         (_endhtent): Make static.
1528         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
1529         symbol.
1530         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
1531         compat symbol.
1532         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
1533         symbol.
1534         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1535         Turn into compat symbol.
1536         * include/resolv.h (_endhtent): Remove declaration.
1538 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
1540         * bits/types.h (__intmax_t): New typedef.
1541         (__uintmax_t): Likewise.
1542         * sysdeps/generic/stdint.h: Include <bits/types.h>.
1543         (intmax_t): Define using __intmax_t.
1544         (uintmax_t): Define using __uintmax_t.
1546         * support/Makefile (tests-special): Make definition conditional on
1547         [$(run-built-tests) = yes].
1548         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1549         on [$(run-built-tests) = yes].
1551 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1553         * Rules (tests): Add tests-printers-programs to tests to be
1554         built.
1556 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1558         * sysvipc/Makefile (tests): Add test-sysvshm.
1559         * sysvipc/test-sysvshm.c: New file.
1561         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1562         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1563         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1564         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1565         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1566         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1567         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1568         Likewise.
1569         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1570         Likewise.
1571         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1572         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1573         is defined.
1575         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1576         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1577         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1578         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1579         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1580         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1581         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1582         Likewise.
1583         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1584         Likewise.
1585         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1586         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1587         defined.
1589         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1590         oldshmctl.
1591         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1592         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1593         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1594         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1595         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1596         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1597         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1598         Likewise.
1599         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1600         Likewise.
1601         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1602         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1603         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1604         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1605         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1606         implementation.
1607         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1608         if it is defined.
1610         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1611         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1612         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1613         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1614         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1615         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1616         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1617         Likewise.
1618         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1619         Likewise.
1620         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1621         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1622         Define to __NR_osf_shmat.
1623         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1624         defined.
1626         * sysvipc/Makefile (tests): Add test-sysvsem.
1627         * sysvipc/test-sysvsem.c: New file.
1629         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1630         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1631         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1632         Likewise.
1633         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1634         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1635         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1636         Likewise.
1637         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1638         Likewise.
1639         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1640         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1641         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1642         add a comment about s390 syscall difference from default one.
1643         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1644         syscall if it is defined.
1646         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1647         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1648         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1649         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1650         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1651         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1652         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1653         Likewise.
1654         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1655         Likewise.
1656         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1657         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1658         defined.
1660         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1661         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1662         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1663         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1664         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1665         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1666         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1667         Likewise.
1668         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1669         Likewise.
1670         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1671         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1672         if it is defined.
1674         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1675         oldsemctl.
1676         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1677         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1678         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1679         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1680         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1681         implementation.
1682         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1683         syscall if it is defined.
1684         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1685         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1686         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1687         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1688         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1689         Likewise.
1690         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1692         * sysvipc/Makefile (tests): Add test-sysvmsg.
1693         * sysvipc/test-sysvmsg.c: New file.
1694         * support/check.h (FAIL_UNSUPPORTED): New define.
1696         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1697         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1698         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1699         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1700         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1701         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1702         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1703         Likewise.
1704         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1705         Likewise.
1706         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1707         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1708         define.
1710         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1711         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1712         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1713         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1714         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1715         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1716         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1717         Likewise.
1718         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1719         Likewise.
1720         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1721         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1722         if defined.
1724         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1725         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1726         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1727         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1728         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1729         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1730         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1731         Likewise.
1732         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1733         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1734         Likewise.
1735         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1736         if defined.
1737         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1739         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1740         oldmsgctl.
1741         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1742         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1743         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1744         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1745         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1746         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1747         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1748         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1749         Likewise.
1750         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1751         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1752         implementation.
1753         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1754         if defined.
1756         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1757         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1758         definition and define its own.
1759         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1760         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1761         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1762         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1763         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1764         definitions to common header.
1765         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1766         operation from ipc_ops.h.
1768         * sysdeps/unix/sysv/linux/kernel-features.h
1769         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1770         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1771         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1772         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1773         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1774         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1775         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1776         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1777         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1778         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1779         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1780         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1781         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1782         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1783         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1785 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1787         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1788         overflow in pointer addition.
1790 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1792         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1793         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1795         (strchr): Add __strchr_power8 to list of strchr functions.
1796         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1797         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1798         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1799         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1800         (strchr): Add __strchr_power8 to ifunc list.
1801         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1802         (__strchrnul): Add __strchrnul_power8 to ifunc list.
1803         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1804         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1806 2016-12-28  Florian Weimer  <fweimer@redhat.com>
1808         * support/Makefile (libsupport-routines): Add
1809         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1810         (tests): Add tst-support_record_failure.
1811         (tests-special): tst-support_record_failure-2.
1812         (tst-support_record_failure-2.out): Depend on
1813         tst-support_record_failure-2.sh and tst-support_record_failure.
1814         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1815         (support_test_verify_impl, support_record_failure)
1816         (support_report_failure, support_report_failure_reset): Declare.
1817         * support/support_test_main.c (adjust_exit_status): New function.
1818         (support_test_main): Call it to incorporate record test failures.
1819         * support/support_test_verify_impl.c: New file.
1820         * support/support_record_failure.c: Likewise.
1821         * support/tst-support_record_failure.c: Likewise.
1822         * support/tst-support_record_failure-2.sh: Likewise.
1823         * support/xunistd.h: Likewise.
1824         * support/xfork.c: Likewise.
1825         * support/xwaitpid.c: Likewise.
1827 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
1829         * scripts/check-c++-types.sh: Add comments.
1831 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
1833         [BZ #19514]
1834         * resolv/res_send.c: Fix typo in comment.
1835         * sysdeps/i386/i386-mcount.S: Likewise.
1836         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1837         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1838         * sysdeps/sparc/sparc-mcount.S: Likewise.
1840 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1842         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1843         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1844         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1845         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1846         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1847         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1848         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1849         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1851 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1853         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1855 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1857         [BZ #17252]
1858         * posix/unistd.h (getentropy): Declare.
1860 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1862         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1863         Remove.
1864         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1865         (cmd): Remove spoof, nospoof, spoofalert.
1866         (parse_line): Ignore spoof-related lines.
1867         (do_init): Do not process RESOLV_SPOOF_CHECK.
1869 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1871         [BZ #20964]
1872         sunrpc: Always obtain AF_INET addresses from NSS.
1873         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1874         * sunrpc/rpc_gethostbyname.c: New file.
1875         * sunrpc/Makefile (routines): Add it.
1876         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1877         * sunrpc/clnt_simp.c (callrpc): Likewise.
1878         * sunrpc/getrpcport.c (getrpcport): Likewise.
1880 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1882         * sunrpc/rpcinfo.c: Remove.
1883         * sunrpc/Makefile: Remove comments referring to rpcinfo.
1885 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1887         [BZ# 19387]
1888         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1889         addition.
1890         * string/test-memchr.c (do_test): Remove alignment limitation.
1891         (test_main): Add test that trigger BZ# 19387.
1893 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1895         [BZ #7065]
1896         Enable stack protectore if requested by ./configure.
1897         * Makeconfig (+stack-protector): New variable.
1898         (+cflags): Use it.
1900 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1902         [BZ #7065]
1903         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1904         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1905         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1906         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1907         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1909 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1911         [BZ #7065]
1912         * login/Makefile (pt_chown-cflags): Remove.
1913         * nscd/Makefile (CFLAGS-nscd): Likewise.
1914         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1916 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1918         [BZ #7065]
1919         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1920         non-libc-linking testcase.
1922 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1923             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1924             Florian Weimer  <fweimer@redhat.com>
1926         [BZ #7065]
1927         PLT avoidance for __stack_chk_fail*.
1928         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1929         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1930         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1931         __stack_chk_fail_local alias.
1932         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1933         (__stack_chk_fail): Turn into hidden reference to
1934         __stack_chk_fail_local.
1936 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1938         [BZ #7065]
1939         * configure.ac: Add check for unsupported stack-protection level.
1940         (libc_cv_predef_stack_protector): Remove.
1941         (no_ssp): New variable.
1942         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1943         (stack_protector): Set to -fno-stack-protector similarly.
1944         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1945         (libc_cv_asm_set_directive): Likewise.
1946         (libc_cv_protected_data): Likewise.
1947         (libc_cv_z_combreloc): Likewise.
1948         (libc_cv_hashstyle): Likewise.
1949         (libc_cv_has_glob_dat): Likewise.
1950         (libc_cv_output_format): Likewise.
1951         (libc_cv_output_format): Likewise.
1952         (libc_cv_ehdr_start): Likewise.
1953         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1954         (LIBC_LINKER_FEATURE): Likewise.
1955         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1957 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1959         [BZ #7065]
1960         * elf/Makefile (dummy-stack-chk-fail): New.
1961         (librtld.map): Use it.
1963 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1965         [BZ #7065]
1966         Compile the dynamic linker without stack protection.
1967         * elf/Makefile (elide-stack-protector): New.
1968         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1969         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1970         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1971         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1973 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1975         [BZ #7065]
1976         * config.make.in (have-ssp, no-stack-protector): New.
1977         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1978         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1979         (CFLAGS-sbrk.op): Likewise.
1980         (CFLAGS-brk.o): Likewise.
1981         (CFLAGS-brk.op): Likewise.
1982         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1983         (CFLAGS-wordcopy.c): Likewise.
1985 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1987         [BZ #7065]
1988         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1989         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1990         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1991         (__ifunc_resolver): Use it.
1992         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1993         inhibit_stack_protector.
1994         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1995         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1996         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1997         (foo_protected_ifunc): Likewise.
1998         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1999         (foo_protected_ifunc): Likewise.
2000         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
2001         * sysdeps/nacl/nacl_interface_query.c
2002         (nacl_interface_query_ifunc): Likewise.
2003         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
2004         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
2005         Likewise.
2006         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
2007         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
2008         the generated vDSO syscall resolver.
2010 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2011             Florian Weimer  <fweimer@redhat.com>
2013         [BZ #7065]
2014         Initialize the stack guard earlier when linking statically.
2015         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
2016         (__pthread_initialize_minimal): Declare.
2017         * csu/libc-start.c (__pthread_initialize_minimal): Remove
2018         declaration.
2019         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
2020         stack canary and apply_irel initialization up.  Call
2021         __pthread_initialize_minimal only if linked in.
2022         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
2023         constant values.
2024         (__pthread_initialize_minimal): Remove.
2025         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
2026         (__pthread_initialize_minimal_internal): Do not call
2027         __libc_setup_tls.
2029 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2031         [BZ #7065]
2032         * configure.ac (libc_cv_ssp): Move up.
2033         (libc_cv_ssp_strong): Likewise.
2034         (libc_cv_ssp_all): New.
2035         (stack_protector): Augment, adding -fstack-protector-all.
2036         (no_stack_protector): New.
2037         (STACK_PROTECTOR_LEVEL): New.
2038         (AC_ARG_ENABLE(stack-protector)): New configure flag.
2039         * manual/install.texi (--enable-stack-protector): Document it.
2040         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
2042 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
2044         * README.pretty-printers: Must specify CPPFLAGS-* also.
2045         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
2046         (CPPFLAGS-test-mutex-printers.c): Define.
2047         (CPPFLAGS-test-condattr-printers.c): Define.
2048         (CPPFLAGS-test-cond-printers.c): Define.
2049         (CPPFLAGS-test-rwlockattr-printers.c): Define.
2050         (CPPFLAGS-test-rwlock-printers.c): Define.
2052         * nss/Makefile [ifeq (yes,$(have-thread-library))]
2053         (tests): Add tst-cancel-getpwuid_r.
2054         * nss/tst-cancel-getpwuid_r.c: New file.
2056         [BZ #11941]
2057         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
2058         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
2059         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
2060         tst-nodelete-dlclose.
2061         (modules-names): Add tst-nodelete-dlclose-dso and
2062         tst-nodelete-dlclose-plugin.
2063         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
2064         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
2065         ($(objpfx)tst-nodelete-dlclose): Define.
2066         ($(objpfx)tst-nodelete-dlclose.out): Define.
2068 2016-12-23  Florian Weimer  <fweimer@redhat.com>
2070         * scripts/test_printers_common.py: Log GDB output in case of
2071         Python detection failure.
2073 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2075         * configure.ac: Check for python3 or python.
2076         * configure: Regenerated.
2077         * config.make.in (PYTHON): New variable.
2078         * benchtests/Makefile: Don't define PYTHON.
2079         (bench): Define target only if PYTHON was defined.
2080         * Rules: Don't define PYTHON.
2081         Define pretty printer targets only if PYTHON was defined.
2082         (tests-printers): Add to tests-unsupported if PYTHON is not
2083         found.
2084         (python-flags, python-invoke): Remove.
2085         (tests-printers-out): Use PYTHON instead of python-invoke.
2087 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
2089         [BZ #20978]
2090         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2091         Compare name == NULL, not name != NULL.
2093         * manual/texinfo.tex: Update to version 2016-09-18.18 with
2094         trailing whitespace removed.
2095         * scripts/config.guess: Update to version 2016-10-02.
2096         * scripts/config.sub: Update to version 2016-11-19.
2097         * scripts/install-sh: Update to version 2016-01-11.22.
2098         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
2099         * scripts/move-if-change: Update to version 2016-01-11 22:04.
2101 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
2103         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
2104         (do_one_test) Restore original string so iteration works.
2105         * string/string-inlines.c (do_test): Create better input strings.
2106         (test_main) Reduce number of testruns.
2107         * string/string-inlines.c (__old_strsep_1c): New function.
2108         (__old_strsep_2c): Likewise.
2109         (__old_strsep_3c): Likewise.
2110         * string/strsep.c (__strsep): Remove case of small delim string.
2111         Call strcspn directly rather than strpbrk.
2112         * string/bits/string2.h (__strsep): Remove define.
2113         (__strsep_1c): Remove.
2114         (__strsep_2c): Remove.
2115         (__strsep_3c): Remove.
2116         (strsep): Remove.
2117         * sysdeps/unix/sysv/linux/internal_statvfs.c
2118         (__statvfs_getflags): Rename to __strsep.
2120 2016-12-21  Florian Weimer  <fweimer@redhat.com>
2122         * csu/libc-tls.c (_dl_tls_setup): Remove.
2123         * elf/dl-tls.c (_dl_tls_setup): Likewise.
2124         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2125         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2127 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2129         [BZ #7065]
2130         * sysdeps/x86_64/Makefile [$(subdir) = elf]
2131         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2133 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2134             Florian Weimer  <fweimer@redhat.com>
2136         [BZ #7065]
2137         * csu/Makefile (tests): Empty assignment and document it.
2138         (tests-static): Remove.
2139         * csu/tst-empty.c: Move to...
2140         * misc/tst-empty.c: ... here.  Switch to new test driver.
2141         * csu/tst-atomic.c: Move to...
2142         * misc/tst-atomic.c: ... here.  Switch to new test driver.
2143         * csu/tst-atomic-long.c: Move to...
2144         * misc/tst-atomic-long.c: ... here.
2145         * misc/Makefile (tests): Add tst-empty, tst-atomic,
2146         tst-atomic-long.
2147         (tests-static): Add tst-empty.
2149 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
2151         * manual/nss.texi: Change incorrect @vtable to @table.
2152         * manual/arith.texi: Convert @tables of variables to @vtables
2153         and remove unnecessary indexing.
2154         * manual/filesys.texi: Likewise.
2155         * manual/llio.texi: Likewise.
2156         * manual/memory.texi: Likewise.
2157         * manual/process.texi: Likewise.
2158         * manual/resource.texi: Likewise.
2159         * manual/search.texi: Likewise.
2160         * manual/signal.texi: Likewise.
2161         * manual/socket.texi: Likewise.
2162         * manual/stdio.texi: Likewise.
2163         * manual/sysinfo.texi: Likewise.
2164         * manual/syslog.texi: Likewise.
2165         * manual/terminal.texi: Likewise.
2166         * manual/time.texi: Likewise.
2167         * manual/users.texi: Likewise.
2169 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
2171         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2172         (roundeven): New declaration.
2173         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2174         macro.
2175         * math/Versions (roundeven): New libm symbol at version
2176         GLIBC_2.25.
2177         (roundevenf): Likewise.
2178         (roundevenl): Likewise.
2179         * math/Makefile (libm-calls): Add s_roundevenF.
2180         * math/libm-test.inc (roundeven_test_data): New array.
2181         (roundeven_test): New function.
2182         (main): Call roundeven_test.
2183         * math/test-tgmath.c (NCALLS): Increase to 134.
2184         (F(compile_test)): Call roundeven.
2185         (F(roundeven)): New function.
2186         * manual/arith.texi (Rounding Functions): Document roundeven,
2187         roundevenf and roundevenl.
2188         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2189         * include/math.h (roundeven): Use libm_hidden_proto.
2190         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2191         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2192         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2193         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2194         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2195         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2196         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2197         roundeven.
2198         (CFLAGS-nldbl-roundeven.c): New variable.
2199         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2200         * sysdeps/nacl/libm.abilist: Update.
2201         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2203         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2204         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2205         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2206         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2207         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2208         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2209         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2210         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2211         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2212         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2214         Likewise.
2215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2216         Likewise.
2217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2218         Likewise.
2219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2220         Likewise.
2221         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2222         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2223         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2224         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2225         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2227         Likewise.
2228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2229         Likewise.
2230         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2231         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2232         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2234 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2236         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2237         preprocessor indentation inside #if.
2239 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2241         * math/libm-test.inc (fmt_ftostr): New function.
2242         (print_float, check_float_internal): Replace some uses of
2243         FTOSTR with uses of fmt_ftostr.
2244         (print_max_error, print_complex_max_error, print_function_ulps)
2245         (print_complex_function_ulps): Remove uses of the macros
2246         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2247         * math/test-double.h (FTOSTR): Define to strfromd.
2248         (PRINTF_EXPR): Delete.
2249         (PRINTF_XEXPR): Likewise.
2250         (PRINTF_NEXPR): Likewise.
2251         * math/test-float.h (FTOSTR): Define to strfromf.
2252         (PRINTF_EXPR): Delete.
2253         (PRINTF_XEXPR): Likewise.
2254         (PRINTF_NEXPR): Likewise.
2255         * math/test-ldouble.h (FTOSTR): Define to strfroml.
2256         (PRINTF_EXPR): Delete.
2257         (PRINTF_XEXPR): Likewise.
2258         (PRINTF_NEXPR): Likewise.
2260 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2262         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2263         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2264         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2265         (__lll_lock_elision): Decrement adapt_count while unlocking
2266         instead of before locking.
2267         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2268         (__lll_trylock_elision): Likewise.
2269         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2270         (__lll_unlock_elision): Likewise.
2272 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2274         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2275         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2276         Use __libc_tbegin_retry macro.
2278 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2280         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2281         Add -msoft-float.
2282         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2283         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2284         Use __libc_t* transaction macros instead of __builtin_t*.
2285         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2286         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2288 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2290         * sysdeps/unix/sysv/linux/s390/elision-lock.c
2291         (__lll_lock_elision): Use atomics to load / store adapt_count.
2292         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2293         (__lll_trylock_elision): Likewise.
2295 2016-12-20  Florian Weimer  <fweimer@redhat.com>
2297         Do not require memset elimination in explicit_bzero test.
2298         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2299         (enum test_expectation): Add NO_EXPECTATIONS.
2300         (subtests): NO_EXPECTATIONS for ordinary clear.
2301         (check_test_buffer): Handle NO_EXPECTATIONS.
2302         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2304 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2306         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2307         (fmaxmag): New declaration.
2308         (fminmag): Likewise.
2309         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2310         macro.
2311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2312         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2313         (fmaxmagf): Likewise.
2314         (fmaxmagl): Likewise.
2315         (fminmag): Likewise.
2316         (fminmagf): Likewise.
2317         (fminmagl): Likewise.
2318         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2319         * math/s_fmaxmag_template.c: New file.
2320         * math/s_fminmag_template.c: Likewise.
2321         * math/libm-test.inc (fmaxmag_test_data): New array.
2322         (fmaxmag_test): New function.
2323         (fminmag_test_data): New array.
2324         (fminmag_test): New function.
2325         (main): Call fmaxmag_test and fminmag_test.
2326         * math/test-tgmath.c (NCALLS): Increase to 132.
2327         (F(compile_test)): Call fmaxmag and fminmag.
2328         (F(fminmag)): New function.
2329         (F(fmaxmag)): Likewise.
2330         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2331         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2332         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2333         fminmag.
2334         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2335         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2336         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2339         and fminmag.
2340         (CFLAGS-nldbl-fmaxmag.c): New variable.
2341         (CFLAGS-nldbl-fminmag.c): Likewise.
2342         * sysdeps/nacl/libm.abilist: Update.
2343         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2344         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2345         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2346         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2349         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2350         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2351         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2352         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2353         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2354         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2356         Likewise.
2357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2358         Likewise.
2359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2360         Likewise.
2361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2362         Likewise.
2363         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2364         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2365         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2366         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2367         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2369         Likewise.
2370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2371         Likewise.
2372         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2373         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2374         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2376 2016-12-19  Torvald Riegel  <triegel@redhat.com>
2378         [BZ #20973]
2379         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2380         wake-up in robust mutexes.
2381         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2383 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2385         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2386         (CFLAGS-bench-fmaxf.c): New rule.
2387         (CFLAGS-bench-fminf.c): Likewise.
2388         * benchtests/fmaxf-inputs: New file.
2389         * benchtests/fminf-inputs: Likewise.
2391         * benchtests/Makefile (bench-math): Add fmin and fmax.
2392         (CFLAGS-bench-fmax.c): New rule.
2393         (CFLAGS-bench-fmin.c): Likewise.
2394         * benchtests/fmax-inputs: New file.
2395         * benchtests/fmin-inputs: Likewise.
2397         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2398         parenthesis.
2399         (CMDLINE_PROCESS): Define using function instead of macro.
2400         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2401         of test-skeleton.
2402         * benchtests/bench-memchr.c: Likewise.
2403         * benchtests/bench-memcmp.c: Likewise.
2404         * benchtests/bench-memcpy-large.c: Likewise.
2405         * benchtests/bench-memcpy.c: Likewise.
2406         * benchtests/bench-memmem.c: Likewise.
2407         * benchtests/bench-memmove-large.c: Likewise.
2408         * benchtests/bench-memmove.c: Likewise.
2409         * benchtests/bench-memset-large.c: Likewise.
2410         * benchtests/bench-memset.c: Likewise.
2411         * benchtests/bench-rawmemchr.c: Likewise.
2412         * benchtests/bench-strcasecmp.c: Likewise.
2413         * benchtests/bench-strcasestr.c: Likewise.
2414         * benchtests/bench-strcat.c: Likewise.
2415         * benchtests/bench-strchr.c: Likewise.
2416         * benchtests/bench-strcmp.c: Likewise.
2417         * benchtests/bench-strcpy.c: Likewise.
2418         * benchtests/bench-strcpy_chk.c: Likewise.
2419         * benchtests/bench-strlen.c: Likewise.
2420         * benchtests/bench-strncasecmp.c: Likewise.
2421         * benchtests/bench-strncmp.c: Likewise.
2422         * benchtests/bench-strncpy.c: Likewise.
2423         * benchtests/bench-strnlen.c: Likewise.
2424         * benchtests/bench-strpbrk.c: Likewise.
2425         * benchtests/bench-strrchr.c: Likewise.
2426         * benchtests/bench-strsep.c: Likewise.
2427         * benchtests/bench-strspn.c: Likewise.
2428         * benchtests/bench-strstr.c: Likewise.
2429         * benchtests/bench-strtok.c: Likewise.
2431 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2433         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2434         stepping identification.
2435         (init_cpu_features): Add handle of Haswell.
2437 2016-11-25  Jim Meyering  <meyering@fb.com>
2439         [BZ #20386]
2440         Let gcc detect assert(a = 1) errors.
2441         * assert/assert.h (assert): Rewrite, retaining the old definintion
2442         when required, but otherwise putting the expression as-is in an "if"
2443         expression (hence, with no added parentheses) within a statement
2444         expression.
2446 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2448         * benchtests/Makefile (binaries-benchset): Depend on libsupport
2449         DSO.
2451 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
2453         * Rules (python-flags, python-invoke): New.
2454         ($(test-printers-out)): Use $(python-flags).
2456 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2458         * manual/arith.texi (Math Error Reporting): Document that sNaN
2459         arguments are not considered domain errors.
2461 2016-12-16  Zack Weinberg <zackw@panix.com>
2462             Florian Weimer <fweimer@redhat.com>
2463             Nick Mathewson <nickm@torproject.org>
2465         * string/explicit_bzero.c: New routine.
2466         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2467         * string/Makefile (routines, strop-tests, tests): Add them.
2468         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2469         * string/string.h [__USE_MISC]: Declare explicit_bzero.
2471         * debug/explicit_bzero_chk.c: New routine.
2472         * debug/Makefile (routines): Add it.
2473         * debug/tst-chk1.c: Test fortification of explicit_bzero.
2474         * string/bits/string3.h: Fortify explicit_bzero.
2476         * manual/string.texi: Document explicit_bzero.
2477         * NEWS: Mention addition of explicit_bzero.
2479         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2480         data before returning, using explicit_bzero.
2481         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2482         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2483         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2485         * include/string.h: Redirect internal uses of explicit_bzero
2486         to __explicit_bzero_chk[_internal].
2487         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2488         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2489         * sysdeps/arm/nacl/libc.abilist
2490         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2491         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2492         * sysdeps/unix/sysv/linux/arm/libc.abilist
2493         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2494         * sysdeps/unix/sysv/linux/i386/libc.abilist
2495         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2496         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2497         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2498         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2499         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2500         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2501         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2502         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2503         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2508         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2509         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2510         * sysdeps/unix/sysv/linux/sh/libc.abilist
2511         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2512         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2515         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2516         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2517         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2518         Add entries for explicit_bzero and __explicit_bzero_chk.
2520 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2522         * math/fenv.h
2523         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2524         (FE_SNANS_ALWAYS_SIGNAL): New macro.
2525         * math/test-fe-snans-always-signal.c: New file.
2526         * math/Makefile (tests): Add test-fe-snans-always-signal.
2527         (CFLAGS-test-fe-snans-always-signal.c): New variable.
2528         * manual/arith.texi (Infinity and NaN): Document
2529         FE_SNANS_ALWAYS_SIGNAL.
2531 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2533         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2534         bracket.
2536 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2538         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2539         before calling execv.
2541 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2543         [BZ# 20971]
2544         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2545         overflow in pointer addition.
2546         * string/test-memchr.c (do_test): Add an argument to pass as
2547         the size on memchr.
2548         (test_main): Add check for SIZE_MAX.
2550 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2552         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2553         (libm-calls): Add w_scalblnF.
2554         * math/w_scalbln.c: Remove.
2555         * math/w_scalblnf.c: Likewise.
2556         * math/w_scalblnl.c: Likewise.
2557         * math/w_scalbln_template.c: New file with type-generic
2558         implementation based on math/w_scalbln.c.
2559         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2560         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2562 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2564         [BZ #20947]
2565         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2566         either is a signaling NaN.
2567         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
2568         follow fmaxl more closely.
2569         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2570         when either is a signaling NaN.
2571         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2572         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2573         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2574         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2575         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2576         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2577         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2578         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2579         (fmin_test_data): Likewise.
2581 2016-12-15  Andreas Schwab  <schwab@suse.de>
2583         * support/support_test_main.c (support_test_main): Don't shadow
2584         file-local variable test_pid.
2586 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2588         [BZ #20947]
2589         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2590         either is a signaling NaN.
2591         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2593 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2595         [BZ #20947]
2596         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2597         when either is a signaling NaN.
2598         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2600         * bits/long-double.h: New file.
2601         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2602         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2603         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2604         * sysdeps/mips/bits/long-double.h: Likewise.
2605         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2606         * math/Makefile (headers): Add bits/long-double.h.
2607         * misc/sys/cdefs.h: Include <bits/long-double.h>.
2608         * stdlib/strtold.c: Include <bits/long-double.h> instead of
2609         <bits/wordsize.h>.
2610         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2611         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2612         * math/math.h: Do not include <bits/mathdef.h>.
2613         * sysdeps/aarch64/bits/mathdef.h: Remove file.
2614         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2615         inclusion.
2616         * sysdeps/ia64/bits/mathdef.h: Remove file.
2617         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2618         * sysdeps/mips/bits/mathdef.h: Likewise.
2619         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2620         * sysdeps/s390/bits/mathdef.h: Likewise.
2621         * sysdeps/sparc/bits/mathdef.h: Likewise.
2622         * sysdeps/x86/bits/mathdef.h: Likewise.
2623         * sysdeps/s390/s390-32/bits/wordsize.h
2624         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2625         conditional code.
2626         * sysdeps/s390/s390-64/bits/wordsize.h
2627         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2628         Likewise.
2629         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2630         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2631         Likewise.
2632         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2633         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2634         Likewise.
2635         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2636         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2637         Likewise.
2639         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2640         <linux/falloc.h>.
2641         (FALLOC_FL_KEEP_SIZE): Remove.
2642         (FALLOC_FL_PUNCH_HOLE): Likewise.
2643         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2644         (FALLOC_FL_ZERO_RANGE): Likewise.
2646 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2648         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2650 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2652         * sysdeps/unix/sysv/linux/renameat.c: New file.
2653         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2655         * sysdeps/unix/sysv/linux/rename.c: New file.
2656         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2658 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2660         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2661         * string/strtok.c (strtok): Change to tailcall __strtok_r.
2662         * string/strtok_r.c (__strtok_r): Optimize for performance.
2663         * string/string-inlines.c (__old_strtok_r_1c): New function.
2664         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2666 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2668         * math/Makefile (gen-libm-calls): Add w_log1pF.
2669         (libm-calls): Remove w_log1pF.
2670         * math/w_log1p.c: Remove.
2671         * math/w_log1pf.c: Likewise.
2672         * math/w_log1pl.c: Likewise.
2673         * math/w_log1p_template.c: New file with type-generic
2674         implementation based on math/w_log1p.c.
2675         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2676         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2678 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2680         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2682 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2684         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2685         kernel version to 4.9.
2687 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
2689         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2690         ($(inst_libdir)/libm.a): Fix rule to create the target only.
2692 2016-12-13  Andreas Schwab  <schwab@suse.de>
2694         * sysdeps/powerpc/dl-procinfo.c: Don't define
2695         _dl_powerpc_platforms.
2696         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2697         constants instead of referencing _dl_powerpc_platforms.
2698         (_dl_platform_string): Remove.
2700 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2702         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2704 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2706         * Rules (binaries-shared-tests, binaries-pie-tests)
2707         (binaries-static-tests): Link with $(link-extra-libs-tests).
2708         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2709         Remove $(link-extra-libs-tests).
2711 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2713         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2714         (sysdep_routines): Add strncmp_power9.
2715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2716         (strncmp): Add __strncmp_power9 to list of strncmp functions.
2717         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2718         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2719         (strncmp): Add __strncmp_power9 to ifunc list.
2720         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2722 2016-12-12  Florian Weimer  <fweimer@redhat.com>
2724         [BZ #17252]
2725         Add getentropy, getrandom.
2726         * stdlib/sys/random.h: New file.
2727         (headers): Add it.
2728         * stdlib/Makefile (routines): Add getentropy, getrandom.
2729         (tests): Add tst-getrandom.
2730         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2731         * stdlib/getentropy.c: New file.
2732         * stdlib/getrandom.c: Likewise.
2733         * stdlib/tst-getrandom.c: Likewise.
2734         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2735         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2736         * manual/crypt.texi (Unpredictable Bytes): New section.
2737         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2738         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2739         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2740         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2741         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2742         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2743         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2744         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2745         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2746         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2747         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2748         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2749         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2750         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2751         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2752         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2754         Likewise.
2755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2756         Likewise.
2757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2759         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2760         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2761         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2762         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2763         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2766         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2767         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2768         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2770 2016-12-10  Florian Weimer  <fweimer@redhat.com>
2772         [BZ #20956]
2773         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2774         as additional compiler barriers.
2775         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2776         (fn2, do_test): Declare with external linkage.
2777         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2778         (do_test): Declare with external linkage.
2779         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2780         (do_test): Declare with external linkage.
2781         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2782         (do_test): Declare with external linkage.
2784 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
2786         * support/support_test_main.c (support_test_main): Use correct
2787         timeout.
2789 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
2790             Florian Weimer  <fweimer@redhat.com>
2792         [BZ #16421]
2793         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2794         and __u6_addr32 members.
2795         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2796         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2797         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2798         Use __u6_addr32.
2799         * inet/tst-checks.c: Use <support/test-driver.c>
2800         * inet/tst-checks-posix.c: New file.
2801         * inet/Makefile (tests): Add it.
2802         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2804 2016-12-09  Florian Weimer  <fweimer@redhat.com>
2806         New subdirectory support for build and test infrastructure.
2807         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
2808         setting install-lib.
2809         * Makeconfig (link-extra-libs-tests): Define.
2810         (+link-pie-tests, +link-static-tests, +link-tests): Use
2811         link-extra-libs-tests.
2812         (rpath-dirs, all-subdirs): Add support.
2813         (built-modules): Add libsupport.
2814         (libsupport): Define.
2815         * support: New directory.
2816         * support/Makefile: New file.
2817         * support/check.c: Likewise.
2818         * support/check.h: Likewise.
2819         * support/delayed_exit.c: Likewise.
2820         * support/ignore_stderr.c: Likewise.
2821         * support/oom_error.c: Likewise.
2822         * support/set_fortify_handler.c: Likewise.
2823         * support/support.h: Likewise.
2824         * support/temp_file-internal.h: Likewise.
2825         * support/temp_file.c: Likewise.
2826         * support/test-driver.c: Likewise.
2827         * support/test-driver.h: Likewise.
2828         * support/test_main.c: Likewise.
2829         * support/write_message.c: Likewise.
2830         * support/xasprintf.c: Likewise.
2831         * support/xcalloc.c: Likewise.
2832         * support/xmalloc.c: Likewise.
2833         * support/xpthread_barrier_destroy.c: Likewise.
2834         * support/xpthread_barrier_init.c: Likewise.
2835         * support/xpthread_barrier_wait.c: Likewise.
2836         * support/xpthread_cancel.c: Likewise.
2837         * support/xpthread_check_return.c: Likewise.
2838         * support/xpthread_cond_wait.c: Likewise.
2839         * support/xpthread_create.c: Likewise.
2840         * support/xpthread_detach.c: Likewise.
2841         * support/xpthread_join.c: Likewise.
2842         * support/xpthread_mutex_lock.c: Likewise.
2843         * support/xpthread_mutex_unlock.c: Likewise.
2844         * support/xpthread_sigmask.c: Likewise.
2845         * support/xpthread_spin_lock.c: Likewise.
2846         * support/xpthread_spin_unlock.c: Likewise.
2847         * support/xrealloc.c: Likewise.
2848         * support/xsignal.h: Likewise.
2849         * support/xthread.h: Likewise.
2850         * support_tempfile.h: Likewise.
2851         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2852         (TEST_DATA_LIMIT): Remove unused macro.
2853         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
2854         <support/check.h>.
2855         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2856         (ignore_stderr, set_fortify_handler): Remove.  Now in
2857         <support/support.h>.
2858         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
2859         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2860         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2861         (xpthread_join): Remove.  Now in <support/xthread.h>.
2862         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2863         Introduce legacy wrappers.
2864         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2865         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2866         (write_message): Remove.
2867         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2868         test-skeleton.c.
2869         * io/test-open-tmpfile: Likewise.
2870         * io/tst-posix_fallocate-common.c: Likewise.
2871         * libio/tst-fseek.c: Likewise.
2872         * malloc/tst-malloc-backtrace.c: Likewise.
2873         * malloc/tst-malloc-fork-deadlock.c: Likewise.
2874         * malloc/tst-malloc-thread-exit.c: Likewise.
2875         * nptl/tst-cancel7.c: Likewise.
2876         * nptl/tst-cleanup0.c: Likewise.
2877         * posix/tst-posix_fadvise-common.c: Likewise.
2878         * rt/tst-shm.c: Likewise.
2879         * time/bug-getdate1.c: Likewise.
2880         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2881         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2882         * elf/Makefile (tst-piemod1.so): Link against libsupport.
2884 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
2886         * Rules [$(run-built-tests) != no] (tests-expected): Add
2887         $(tests-printers).
2888         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2890 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2892         [BZ #20539]
2893         * math/Makefile (install-lib-ldscripts): Add libm.a.
2894         (install_subdir): Remove.
2895         (install-others): Add.
2896         ($(inst_libdir)/libm.a): Add rule for installation as
2897         linker script.
2898         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2900 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2902         * INSTALL: Regenerated.
2903         * Makeconfig: Add comments and whitespace to make the control flow
2904         clearer.
2905         (+link-printers-tests, +link-pie-printers-tests,
2906         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2907         built-rtld-LDFLAGS, link-libc-rpath,
2908         link-libc-tests-after-rpath-link,
2909         link-libc-printers-tests): New.
2910         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2911         link-libc-tests): Use the new variables as required.
2912         * Makerules ($(py-const)): New rule.
2913         generated: Add $(py-const).
2914         * README.pretty-printers: New file.
2915         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2916         (others): Depend on $(py-const).
2917         (tests): Depend on $(tests-printers-programs) or
2918         $(tests-printers-out),
2919         as required.  Pass $(tests-printers) to merge-test-results.sh.
2920         * manual/install.texi: Add requirements for testing the pretty
2921         printers.
2922         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2923         tests-printers, CFLAGS-test-mutexattr-printers.c
2924         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2925         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2926         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2927         * nptl/nptl-printers.py: New file.
2928         * nptl/nptl_lock_constants.pysym: Likewise.
2929         * nptl/test-cond-printers.c: Likewise.
2930         * nptl/test-cond-printers.py: Likewise.
2931         * nptl/test-condattr-printers.c: Likewise.
2932         * nptl/test-condattr-printers.py: Likewise.
2933         * nptl/test-mutex-printers.c: Likewise.
2934         * nptl/test-mutex-printers.py: Likewise.
2935         * nptl/test-mutexattr-printers.c: Likewise.
2936         * nptl/test-mutexattr-printers.py: Likewise.
2937         * nptl/test-rwlock-printers.c: Likewise.
2938         * nptl/test-rwlock-printers.py: Likewise.
2939         * nptl/test-rwlockattr-printers.c: Likewise.
2940         * nptl/test-rwlockattr-printers.py: Likewise.
2941         * scripts/gen-py-const.awk: Likewise.
2942         * scripts/test_printers_common.py: Likewise.
2943         * scripts/test_printers_exceptions.py: Likewise.
2945 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2947         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2948         argument.
2949         (Glibc.build_glibc): Strip installed shared libraries if
2950         requested.
2951         (get_parser): Add --strip option.
2952         (main): Update Context call.
2954 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2955             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2957         [BZ #20847]
2958         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2959         array bounds for else branch.
2960         (__execvpe): Style fixes.
2961         * posix/tst-vfork3.c (run_script): New function.
2962         (create_script): Likewise.
2963         (do_test): Use run_script internal function.
2964         (do_prepare): Use create_script internal function.
2966 2016-12-07  Andreas Schwab  <schwab@suse.de>
2968         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2969         (__elision_available): Don't declare.
2970         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2971         (__elision_available): Don't define.
2972         (elision_init): Don't set __elision_available.
2974 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2976         [BZ #20940]
2977         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2978         return Inf for arguments Inf and sNaN.
2979         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2980         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2981         Likewise.
2982         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2983         Likewise.
2984         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2985         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2986         for arguments Inf and sNaN.  When returning a NaN, compute it by
2987         arithmetic on the arguments.
2988         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2989         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2990         arguments.
2992 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2994         [BZ #20916]
2995         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2996         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2997         to compute result.
2998         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2999         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
3001 2016-12-05  Torvald Riegel  <triegel@redhat.com>
3003         * include/atomic.h (__atomic_check_size_ls): New.
3004         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
3005         atomic_store_release): Use it.
3006         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
3007         (elision_adapt, ELIDE_LOCK): Use atomics.
3008         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
3009         atomics and improve code comments.
3010         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
3011         (__lll_trylock_elision): Likewise.
3013 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3015         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
3016         programs.
3018 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
3020         [BZ #20916]
3021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
3022         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
3023         arguments to compute result.
3024         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
3025         1 for arguments (sNaN, 0) or (1, sNaN).
3026         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3027         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3029         [BZ #20919]
3030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
3031         NaN first argument when raised to power 0.
3032         * math/w_pow.c (__pow): Do not check for NaN or zero results from
3033         raising to power zero.
3034         * math/w_powf.c (__powf): Likewise.
3035         * math/w_powl.c (__powl): Likewise.
3036         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
3037         pow (0, 0) or pow (NaN, 0).
3039 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
3041         [BZ #20918]
3042         * configure.ac: Test for static NSS cryptographic libraries and set
3043         libc_cv_static_nss_crypt.
3044         * configure: Regenerate.
3045         * config.make.in (static-nss-crypt): Define.
3046         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
3047         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
3048         (CFLAGS-tst-linkall-static.c): Define.
3049         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
3050         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
3051         ($(objpfx)tst-linkall-static): Define.
3052         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
3053         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
3055 2016-12-02  Florian Weimer  <fweimer@redhat.com>
3057         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
3058         (one-hundred, tst-tls-many-dynamic-modules): Define.
3059         (modules-names): Add $(tst-tls-many-dynamic-modules).
3060         (tst-tls-manydynamic%mod.os): Build with special preprocessor
3061         macros.
3062         (tst-tls-manydynamic): Link against libdl, libpthread.
3063         (tst-tls-manydynamic.out): The test needs the test modules at run
3064         time.
3065         * elf/tst-tls-manydynamic.c: New file.
3066         * elf/tst-tls-manydynamic.h: Likewise.
3067         * elf/tst-tls-manydynamicmod.c: Likewise.
3069 2016-12-02  Florian Weimer  <fweimer@redhat.com>
3071         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
3072         (TLS_DTV_UNALLOCATED): Add.
3073         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
3074         offsets.
3076 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
3078         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3080 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
3082         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
3083         Add -fno-optimize-sibling-calls.
3085 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
3087         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
3088         New declaration.
3089         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
3090         macro.
3091         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
3092         New macro.
3093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
3094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
3095         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
3096         (llogbf): Likewise.
3097         (llogbl): Likewise.
3098         * math/Makefile (gen-libm-calls): Add w_llogbF.
3099         (tests): Add test-fp-llogb-constants.
3100         * math/w_llogb_template.c: New file.  Based on
3101         math/w_ilogb_template.c.
3102         * math/libm-test.inc (llogb_test_data): New array.
3103         (llogb_test): New function.
3104         (main): Call llogb_test.
3105         * math/test-fp-llogb-constants.c: New file.  Based on
3106         math/test-fp-ilogb-constants.c.
3107         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
3108         (do_test): Call check_return_llogb.
3109         * math/test-tgmath.c (NCALLS): Increase to 126.
3110         (F(compile_test)): Call llogb.
3111         (F(llogb)): New function.
3112         * manual/math.texi (Exponents and Logarithms): Document llogb,
3113         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3114         * manual/libm-err-tab.pl (@all_functions): Add llogb.
3115         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3116         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3117         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3118         (CFLAGS-nldbl-llogb.c): New variable.
3119         * sysdeps/nacl/libm.abilist: Update.
3120         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3121         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3122         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3123         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3124         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3125         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3126         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3127         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3128         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3129         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3130         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3131         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3133         Likewise.
3134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3135         Likewise.
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3137         Likewise.
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3139         Likewise.
3140         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3141         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3143         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3144         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3146         Likewise.
3147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3148         Likewise.
3149         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3150         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3151         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3153 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3155         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3156         _Float128 instead of long double.
3157         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3159         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3160         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3161         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3162         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3163         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3164         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3165         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3166         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3167         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3168         Likewise.
3170 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3172         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3173         Remove redirection to __strrchr_ppc.
3175 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3177         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3178         (sysdep_routines): Add strcmp_power9.
3179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3180         (strcmp): Add __strcmp_power9 to list of strcmp functions.
3181         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3182         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3183         (strcmp): Add __strcmp_power9 to ifunc list.
3184         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3186 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3188         * bits/fp-logb.h: New file.
3189         * sysdeps/ia64/bits/fp-logb.h: Likewise.
3190         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3191         * sysdeps/x86/bits/fp-logb.h: Likewise.
3192         * math/Makefile (headers): Add bits/fp-logb.h.
3193         * math/math.h: Include <bits/fp-logb.h>.
3194         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3195         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3196         * bits/mathdef.h (FP_ILOGB0): Remove.
3197         (FP_ILOGBNAN): Likewise.
3198         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3199         (FP_ILOGBNAN): Likewise.
3200         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3201         (FP_ILOGBNAN): Likewise.
3202         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3203         (FP_ILOGBNAN): Likewise.
3204         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3205         (FP_ILOGBNAN): Likewise.
3206         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3207         (FP_ILOGBNAN): Likewise.
3208         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3209         (FP_ILOGBNAN): Likewise.
3210         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3211         (FP_ILOGBNAN): Likewise.
3212         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3213         (FP_ILOGBNAN): Likewise.
3214         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3215         (FP_ILOGBNAN): Likewise.
3217         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
3218         time module.
3219         (Context.__init__): Initialize self.logsdir_old.
3220         (Context.run_builds): Handle bot action.
3221         (Context.bot_cycle): Copy logs directory before running builds.
3222         (Context.bot_run_self): Take argument for whether to check
3223         subprocess result.  Flush stdout before running subprocess.
3224         (Context.bot): New function.
3225         (get_parser): Allow bot action.
3227 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
3229         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3230         Import email.mime.text, email.utils and smtplib modules.
3231         (Context.__init__): Initialize self.bot_config_json.
3232         (Context.run_builds): Handle bot-cycle action.
3233         (Context.load_bot_config_json): New function.
3234         (Context.part_build_old): Likewise.
3235         (Context.bot_cycle): Likewise.
3236         (Context.bot_build_mail): Likewise.
3237         (Context.bot_run_self): Likewise.
3238         (get_parser): Allow bot-cycle action.
3240 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3242         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3243         Remove redirection to __stpcpy_ppc.
3245 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3247         Remove __libc_memalign from ld.so because it is unused.
3248         * elf/dl-minimal.c: Update comment on the malloc implementation.
3249         (malloc): Renamed from __libc_memalign, replacing the original
3250         malloc implementation.  Replace the align parameter with
3251         MALLOC_ALIGNMENT.
3252         * elf/Versions (ld): Update comment and remove __libc_memalign.
3253         * sysdeps/nacl/ld.abilist: Likewise.
3254         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3255         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3256         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3257         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3258         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3259         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3260         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3261         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3262         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3263         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3264         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3265         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3266         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3270         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3271         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3272         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3273         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3274         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3277         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3278         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3279         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3280         * sysdeps/generic/localplt.data (ld.so): Likewise.
3281         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3282         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3283         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3284         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3285         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3286         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3287         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3288         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3289         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3291         (ld.so): Likewise.
3292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3293         (ld.so): Likewise.
3294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3295         Likewise.
3296         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3297         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3298         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3299         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3300         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3302 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3304         [BZ #16628]
3305         Implement _dl_catch_error, _dl_signal_error in libc.so.
3306         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3307         (catch_hook): Define as thread-local or regular variable,
3308         depending on DL_ERROR_BOOTSTRAP.
3309         (CATCH_HOOK): Remove.
3310         (dl_signal_error, _dl_catch_error): Use
3311         catch_hook.  Add hidden definition for libc.
3312         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
3313         for DL_ERROR_BOOTSTRAP only.
3314         * elf/dl-error.c: New file.
3315         * elf/dl-error-minimal.c: Likewise.
3316         * elf/tst-latepthread.c: Likewise.
3317         * elf/tst-latepthreadmod.c: Likewise.
3318         * elf/Makefile (routines): Add dl-error.
3319         (dl-routines): Remove dl-error.
3320         (rtld-routines): Add dl-error-minimal.
3321         [build-shared] (tests): Add tst-latepthread.
3322         (module-names): Add tst-latepthreadmod.
3323         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3324         symbol.
3325         (tst-latepthreadmod.so): Link against libpthread.
3326         (tst-latepthread): Link against libdbl.
3327         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3328         _dl_catch_error.
3329         [ld] (GLIBC_PRIVATE): Likewise.
3330         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3331         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3332         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3333         directly.
3334         * elf/dl-tsd.c: Remove file.
3335         * elf/rtld.c (_rtld_global_ro): Remove initializers for
3336         _dl_catch_error, _dl_signal_error.
3337         (_dl_initial_error_catch_tsd): Remove definition.
3338         (do_preload): Remove initialization of dl_error_catch_tsd.
3339         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3340         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3341         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3342         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3343         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3344         set dl_error_catch_tsd.
3345         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3346         _dl_error_catch_tsd member.
3347         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3348         members.
3349         (_dl_initial_error_catch_tsd): Remove declaration.
3350         (_dl_dprintf): Provide definition for use outside of ld.so.
3351         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3352         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
3353         prototype for libc.
3354         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3355         _dl_catch_error.
3356         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3357         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3358         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3359         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3360         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3361         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3362         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3363         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3364         Likewise.
3365         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3367         (ld.so): Likewise.
3368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3369         (ld.so): Likewise.
3370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3371         Likewise.
3372         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3373         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3374         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3375         Likewise.
3376         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3377         Likewise.
3378         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3380 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3382         [BZ #4099]
3383         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3384         _IO_BUFSIZ (8192).
3386 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
3388         * PROJECTS: Remove file.
3390 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3392         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3394 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
3395             Steve Ellcey  <sellcey@caviumnetworks.com>
3397         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3398         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3399         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3400         fxstatat.
3401         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3402         lxstat.
3403         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3404         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3405         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3406         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3407         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3408         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3409         __xstat.
3411 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3413         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3414         Define.
3415         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3416         definition.
3418 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3420         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3421         version and turn into strong alias.  Remove compat symbol.
3423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3424         (__longjmp): Remove.
3426 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
3428         * bits/fp-fast.h: New file.
3429         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3430         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3431         * math/Makefile (headers): Add bits/fp-fast.h.
3432         * math/math.h: Include <bits/fp-fast.h>.
3433         * bits/mathdef.h (FP_FAST_FMA): Remove.
3434         (FP_FAST_FMAF): Likewise.
3435         (FP_FAST_FMAL): Likewise.
3436         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3437         (FP_FAST_FMAF): Likewise.
3438         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3439         (FP_FAST_FMAF): Likewise.
3440         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3441         (FP_FAST_FMAF): Likewise.
3442         (FP_FAST_FMAL): Likewise.
3443         * sysdeps/arm/bits/mathdef.h: Remove file.
3444         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3445         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3446         * sysdeps/tile/bits/mathdef.h: Likewise.
3448 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3450         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
3451         * math/w_ilogb.c: Remove.
3452         * math/w_ilogbf.c: Likewise.
3453         * math/w_ilogbl.c: Likewise.
3454         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3455         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3456         * math/Makefile (gen-libm-calls): Add w_ilogbF.
3457         (libm-calls): Remove w_ilogbF.
3458         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3459         (LDOUBLE_ilogbl_libm_version): New macro.
3461         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3463         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3464         [!__STRICT_ANSI__ && !__cplusplus].
3466 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3468         [BZ #20750]
3469         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3470         of PIC.
3472 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3473             Yury Norov  <ynorov@caviumnetworks.com>
3474             Steve Ellcey  <sellcey@caviumnetworks.com>
3476         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3477         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3478         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3479         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3480         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3481         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3482         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3483         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3484         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3485         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3486         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3487         to get correct reg name for ILP32.
3488         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3489         (RELA_SIZE): New Macro.
3490         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3491         to support ILP32.
3492         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3493         cast for ILP32 mode.
3494         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3495         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3496         * sysdeps/aarch64/memset.S (__memset): Ditto.
3497         * sysdeps/aarch64/strchr.S (strchr): Ditto.
3498         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3499         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3500         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3501         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3502         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3503         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3504         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3505         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3506         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3507         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3508         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3509         change PTR_MANGLE call to use register numbers instead of names.
3510         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3511         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3512         ILP32 mode, change PTR_MANGLE calls to use register numbers.
3513         * sysdeps/aarch64/start.S (_start): Ditto.
3514         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3515         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3516         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3517         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3518         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3519         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3520         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3521         Make defined values dependent on __ILP32__.
3522         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3523         (sem_t): Change __align type.
3524         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3525         PTR_SIZE): New Macros.
3526         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3527         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3528         Set when in ILP32 mode.
3529         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3530         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3531         Set elf flags for ILP32.
3532         (add_system_dir): Set ILP32 library directories.
3533         * sysdeps/unix/sysv/linux/aarch64/init-first.c
3534         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3535         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3536         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3537         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3538         New Macros.
3539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3541 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3543         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3544         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3545         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3547 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3549         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3550         <asm/cachectl.h>.
3552 2016-11-27  Zack Weinberg  <zackw@panix.com>
3554         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3555         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3557 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3559         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3560         error_t to fix usage in C++ programs.
3562 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
3564         * scripts/build-many-glibcs.py: Import datetime module.
3565         (Context.__init__): Load JSON build state.  Initialize list of
3566         status logs.
3567         (Context.run_builds): Update saved build state.
3568         (Context.add_makefile_cmdlist): Update list of status logs.
3569         (Context.load_build_state_json): New function.
3570         (Context.store_build_state_json): Likewise.
3571         (Context.clear_last_build_state): Likewise.
3572         (Context.update_build_state): Likewise.
3573         (CommandList.status_logs): Likewise.
3575 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
3577         * scripts/build-many-glibcs.py (Context.__init__): Save text of
3578         script being executed.
3579         (Context.get_script_text): New function.
3580         (Context.exec_self): Likewise.
3581         (Context.checkout): Re-exec script if changed by checkout process.
3583 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3585         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3586         (setpayloadsig): New declaration.
3587         * math/Versions (setpayloadsig): New libm symbol at version
3588         GLIBC_2.25.
3589         (setpayloadsigf): Likewise.
3590         (setpayloadsigl): Likewise.
3591         * math/Makefile (libm-calls): Add s_setpayloadsigF.
3592         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3593         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3594         (setpayloadsig_test_data): New array.
3595         (setpayloadsig_test): New function.
3596         (main): Call setpayloadsig_test.
3597         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3598         setpayloadsigf and setpayloadsigl.
3599         * manual/libm-err-tab.pl: Update comment on interfaces without
3600         ulps tabulated.
3601         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3602         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3603         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3604         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3605         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3606         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3607         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3608         setpayloadsig.
3609         (CFLAGS-nldbl-setpayloadsig.c): New variable.
3610         * sysdeps/nacl/libm.abilist: Update.
3611         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3612         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3613         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3614         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3615         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3616         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3617         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3618         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3619         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3620         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3621         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3622         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3624         Likewise.
3625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3626         Likewise.
3627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3628         Likewise.
3629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3630         Likewise.
3631         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3632         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3633         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3634         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3635         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3637         Likewise.
3638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3639         Likewise.
3640         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3641         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3642         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3644         * scripts/build-many-glibcs.py: Import json module.
3645         (Context.__init__): Take replace_sources argument.  Load
3646         versions.json.
3647         (Context.load_versions_json): New function.
3648         (Context.store_json): Likewise.
3649         (Context.store_versions_json): Likewise.
3650         (Context.set_component_version): Likewise.
3651         (Context.checkout): Update versions.json.  Check for and handle
3652         changes of version.  Prefer previously explicitly specified
3653         version to default version.
3654         (Context.checkout_vcs): Return a revision identifier.
3655         (Context.git_checkout): Likewise.
3656         (Context.gcc_checkout): Likewise.
3657         (get_parser): Add --replace-sources option.
3658         (main): Pass replace_sources argument to Context call.
3660 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3662         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3663         * nptl/allocatestack.c (allocate_stack): Likewise.
3664         (__reclaim_stacks): Likewise.
3665         (setxid_signal_thread): Obtain pid through syscall.
3666         * nptl/nptl-init.c (sigcancel_handler): Likewise.
3667         (sighandle_setxid): Likewise.
3668         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3669         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3670         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3671         Likewise.
3672         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3673         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3674         comment.
3675         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3676         * nptl/descr.h (struct pthread): Change comment about pid value.
3677         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3678         pid assert.
3679         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3680         Do not set pid value.
3681         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3682         pid cache check.
3683         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3684         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3685         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3686         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3687         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3688         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3689         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3690         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3691         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3692         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3693         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3694         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3695         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3696         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3697         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3698         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3699         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3700         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3701         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3702         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3703         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3704         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3705         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3706         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3707         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3710         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3711         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3712         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3713         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3714         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3715         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3716         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3717         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3718         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3719         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3720         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3721         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3722         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3723         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3724         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3725         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3728         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3729         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3730         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3731         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3732         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3733         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3734         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3735         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3736         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3737         struct access.
3738         (clone_test): Remove function.
3739         (do_test): Rewrite to take in consideration pid is not cached anymore.
3741 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3743         * bits/flt-eval-method.h: New file.
3744         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3745         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3746         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3747         * math/Makefile (headers): Add bits/flt-eval-method.h.
3748         * math/math.h: Include <bits/flt-eval-method.h>.
3749         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3750         [__USE_ISOC99] (double_t): Likewise.
3751         * bits/mathdef.h (float_t): Remove.
3752         (double_t): Likewise.
3753         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3754         (double_t): Likewise.
3755         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3756         (double_t): Likewise.
3757         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3758         (double_t): Likewise.
3759         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3760         (double_t): Likewise.
3761         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3762         (double_t): Likewise.
3763         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3764         (double_t): Likewise.
3765         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3766         (double_t): Likewise.
3767         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3768         (double_t): Likewise.
3769         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3770         (double_t): Likewise.
3771         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3772         (double_t): Likewise.
3773         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3774         (double_t): Likewise.
3775         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3776         (double_t): Likewise.
3777         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3778         (double_t): Likewise.
3780 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
3782         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3783         instead of PIC.
3785 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3787         [BZ #20859]
3788         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3789         (-0x7fffffff) instead of 0x80000001.
3790         * math/test-fp-ilogb-constants.c: New file.
3791         * math/Makefile (tests): Add test-fp-ilogb-constants.
3793 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
3795         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3796         (_init): Use it in place of hardcoded R_MIPS_JALR.
3797         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3798         (_init): Use it in place of hardcoded R_MIPS_JALR.
3799         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3800         (_init): Use it in place of hardcoded R_MIPS_JALR.
3802 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3804         [BZ #20787]
3805         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3806         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3807         (double_t): Do not define to double if [__x86_64__] when
3808         __FLT_EVAL_METHOD__ is nonzero.
3809         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3810         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3811         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3812         test-flt-eval-method-387 and test-flt-eval-method-sse.
3813         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3814         variable.
3815         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3817 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
3819         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3820         use of -fno-isolate-erroneous-paths options for tilepro.
3822 2016-11-23  Florian Weimer  <fweimer@redhat.com>
3824         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3825         structure initialization is no longer needed.
3827 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3829         [BZ #20855]
3830         * bits/mathdef.h (float_t): Define to float.
3831         * math/test-flt-eval-method.c: New file.
3832         * math/Makefile (tests): Add test-flt-eval-method.
3833         (CFLAGS-test-flt-eval-method.c): New variable.
3835 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
3837         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3838         and __fstatfs.  Make them aliases of __fstatfs64 if
3839         STATFS_IS_STATFS64 is set to non-zero.
3840         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3841         and __statfs64.
3842         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3843         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3844         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3845         for __statfs and statfs.
3846         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3847         to 0.
3848         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3849         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3850         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3851         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3852         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3853         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3856         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3857         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3858         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3859         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3861 2016-11-22  Andreas Schwab  <schwab@suse.de>
3863         * misc/mkstemp.c: Include <fcntl.h>.
3864         * misc/mkstemps.c: Likewise.
3865         * misc/mkostemp.c: Likewise.
3866         * misc/mkostemps.c: Likewise.
3868 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
3870         [BZ #20847]
3871         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3872         array bounds.
3873         (__execvpe): Likewise.
3875 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
3877         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3878         -fno-isolate-erroneous-paths options for tilepro.
3880 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
3882         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3883         to 0 when in 32 bit mode.
3884         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3885         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3886         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3887         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3889         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3890         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3891         XSTAT_IS_XSTAT64 test.
3892         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3893         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3894         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3895         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3896         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3897         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3898         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3899         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3900         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3901         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3902         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3904 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3906         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3907         (setpayload): New declaration.
3908         * math/Versions (setpayload): New libm symbol at version
3909         GLIBC_2.25.
3910         (setpayloadf): Likewise.
3911         (setpayloadl): Likewise.
3912         * math/Makefile (libm-calls): Add s_setpayloadF.
3913         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3914         test_Ff_b1_data.
3915         (RUN_TEST_Ff_b1): New macro.
3916         (RUN_TEST_LOOP_Ff_b1): Likewise.
3917         (canonicalize_test_data): Update type.
3918         (setpayload_test_data): New array.
3919         (setpayload_test): New function.
3920         (main): Call setpayload_test.
3921         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3922         setpayloadf and setpayloadl.
3923         * manual/libm-err-tab.pl: Update comment on interfaces without
3924         ulps tabulated.
3925         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3926         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3927         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3928         Likewise.
3929         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3930         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3931         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3932         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3933         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3934         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3935         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3936         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3937         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3938         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3939         setpayload.
3940         (CFLAGS-nldbl-setpayload.c): New variable.
3941         * sysdeps/nacl/libm.abilist: Update.
3942         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3943         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3944         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3945         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3946         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3947         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3948         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3949         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3950         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3951         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3952         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3953         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3955         Likewise.
3956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3957         Likewise.
3958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3959         Likewise.
3960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3961         Likewise.
3962         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3963         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3964         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3965         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3966         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3968         Likewise.
3969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3970         Likewise.
3971         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3972         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3973         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3975 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3977         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3978         * include/unistd.h: Extend comment about __access_noerrno return
3979         semantics.
3980         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3981         (access_common): Correct typo for EACCES.
3983 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3985         * sysdeps/tile/math-tests.h: New file.
3987         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3988         (__old_set_dataplane): Rename from set_dataplane and make a
3989         compatibility symbol.
3990         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3991         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3992         sys/dataplane.h.
3994 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3996         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3997         script quote words in command output to log suitably for input to
3998         the shell.
4000 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
4001             Maciej W. Rozycki  <macro@imgtec.com>
4003         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
4004         `.Lno_weak_fn' label.
4005         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
4006         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
4008 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4009             Yury Norov  <ynorov@caviumnetworks.com>
4011         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
4012         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
4013         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4014         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
4015         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4016         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
4017         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4018         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4019         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4020         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
4021         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4022         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
4023         (sysdep_routines): Remove oldgetrlimit64.
4024         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
4025         (sysdep_routines): Likewise.
4026         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
4027         (sysdep_routines): Likewise.
4028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4029         [$(subdir) = resource] (sysdep_routines): Likewise.
4030         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4031         [$(subdir) = resource] (sysdep_routines): Likewise.
4032         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
4033         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
4034         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
4035         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
4036         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
4037         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
4038         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
4039         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
4040         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
4041         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
4042         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
4043         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
4044         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
4045         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
4046         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
4047         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
4048         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
4049         setrlimit and getrlimit.
4050         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4051         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4052         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
4053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
4055         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4056         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
4057         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4059         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
4060         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
4061         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
4062         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
4063         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
4064         (__old_getrlimit64): Add compatibility symbol.
4065         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
4067 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
4069         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
4070         newly built gmp, mpfr and mpc.
4072         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
4074 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
4076         * conform/Makefile (linknamespace-libs): Rename to
4077         linknamespace-libs-thr.
4078         (linknamespace-libs-posix): New variable.
4079         (linknamespace-libs-xsi): Likewise.
4080         (linknamespace-libs-XPG3): Include libcrypt.a.
4081         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
4082         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
4083         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
4084         (linknamespace-libs-XOPEN2K): Likewise.
4085         (linknamespace-libs-XOPEN2K8): Likewise.
4086         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
4088         [BZ #20829]
4089         * stdio-common/Versions (__snprintf): Add to version
4090         GLIBC_PRIVATE.
4091         * include/stdio.h (__snprintf): Use libc_hidden_proto.
4092         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
4093         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
4094         of snprintf.
4095         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4097 2016-11-16  Zack Weinberg  <zackw@panix.com>
4099         * string/string.h: Remove obsolete comment stating that
4100         strcoll_l and strxfrm_l have not yet been standardized.
4102 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4104         * hurd/hurd.h (__hurd_fail_noerrno): New function.
4105         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
4106         __access_noerrno.
4107         * io/access.c (__access_noerrno): New function.
4108         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
4109         (hurd_fail_seterrno): Likewise.
4110         (access_common): Likewise.
4111         (__access_noerrno): Likewise.
4112         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
4113         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4114         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4115         macro.
4117 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
4119         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4120         Only declare fpregs if [__SH_FPU_ANY__].
4122 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
4124         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4125         Make code unconditional.
4126         [!(__SH4__ || __SH4A__)]: Remove conditional code.
4128 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
4130         * manual/sysinfo.texi (S_APPEND): Delete.
4131         (S_IMMUTABLE): Likewise.
4133 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
4134             Magnus Granberg  <zorry@gentoo.org>
4135             Mike Frysinger  <vapier@gentoo.org>
4137         [BZ #20662]
4138         * configure.ac (libc_cv_predef_stack_protector): Also check for
4139         __stack_chk_fail_local symbols.
4140         * configure: Regenerated.
4142 2016-11-15  Florian Weimer  <fweimer@redhat.com>
4144         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4145         (libc_hidden_def): Remove redefinition.
4146         (__sigsetjmp): Add hidden definition.
4147         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4148         (libc_hidden_def): Remove redefinition.
4149         (__sigsetjmp): Add hidden definition.
4151 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
4153         * scripts/build-many-glibcs.py (os.path): Do not import.
4154         (Context): Inherit explicitly from object.  Remove blank line
4155         between class and docstring.
4156         (Config): Likewise.
4157         (Glibc): Likewise.
4158         (Command): Likewise.
4159         (CommandList): Likewise.
4160         (Context.write_files): Store chmod mode in a variable.
4162         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4163         LIBC_SLIBDIR_RTLDDIR for tilegx32.
4164         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4166 2016-11-14  Zack Weinberg  <zackw@panix.com>
4168         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4169         creating or re-creating it.
4171         * string/bits/string2.h: Fix typo in comment.
4173 2016-11-14  Zack Weinberg  <zackw@panix.com>
4175         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4176         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4177         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4178         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4179         of redirected function names.
4181         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4182         as well.  Document that MESSAGE must be a single string literal.
4184 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
4186         * scripts/build-many-glibcs.py: New file.
4188         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4189         (do_test): Disable -Wmaybe-uninitialized around uses of
4190         except_mask.
4192         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4194 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
4196         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4197         (atomic_store_release): Provide tilepro-specific implementations.
4199 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
4201         * math/math.h (__MATH_TG): New macro.
4202         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4203         [__USE_ISOC99] (signbit): Likewise.
4204         [__USE_ISOC99] (isfinite): Likewise.
4205         [__USE_ISOC99] (isnan): Likewise.
4206         [__USE_ISOC99] (isinf): Likewise.
4207         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4209         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4210         __MATH_TG and __MATH_EVAL_FMT2.
4211         * sysdeps/generic/math_private.h (fabs_tg): Define using
4212         __MATH_TG.
4213         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4214         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4215         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4216         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4217         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4218         macro.
4219         (__iscanonical): Likewise.
4220         (iscanonical): Define using __MATH_TG.
4222 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4224         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4225         guards.
4227         * sysdeps/unix/sysv/linux/access.c: New file.
4228         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4230 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
4232         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4233         and __WORDSIZE32_PTRDIFF_LONG.
4235 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4237         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4239 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4241         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4242         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4243         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4244         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4245         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4247         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4248         * sysdeps/unix/sysv/linux/truncate.c: New file.
4249         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4250         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4251         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4252         Remove.
4253         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4254         Likewise.
4256         * posix/tst-truncate-common.c: New file.
4257         * posix/tst-truncate.c: Use tst-truncate-common.c.
4258         * posix/tst-truncate64.c: Likewise and add LFS tests.
4259         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4260         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4261         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4262         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4263         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4265         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4266         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4267         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4268         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4269         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4270         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4271         Remove.
4272         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4273         Likewise.
4275 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
4277         [BZ #20790]
4278         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4279         to MAXLINESIZE.
4280         * sunrpc/bug20790.x: New file.
4281         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4282         variable.
4283         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4284         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4286         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4288         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4290         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4291         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
4292         calloc, realloc, free, memalign and __libc_memalign rather than
4293         making them optional.
4295         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4296         for libc.so.
4298 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4300         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4301         ptw-lseek64.
4302         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4303         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
4304         Likewise.
4305         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4306         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4307         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4308         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4309         * sysdeps/unix/sysv/linux/lseek.c: New file.
4310         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4311         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4312         __libc_lseek64 from auto-generation.
4313         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4314         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4316 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4318         * nptl/tst-basic1.c (tf, do_test): Use write_message.
4319         * nptl/tst-cleanup1.c (do_test): Likewise.
4320         * nptl/tst-cleanup3.c (do_test): Likewise.
4321         * nptl/tst-key1.c (do_test): Likewise.
4322         * nptl/tst-key2.c (tf, do_test): Likewise.
4323         * nptl/tst-key3.c (tf, do_test): Likewise.
4324         * nptl/tst-stdio1.c (do_test): Likewise.
4325         * nptl/tst-stdio2.c (do_test): Likewise.
4327         * nptl/tst-kill3.c (handler): Use write_message in place of write.
4328         * nptl/tst-kill6.c (handler): Likewise.
4329         * nptl/tst-tls2.c (CB): Likewise.
4330         * nptl/tst-tls3.c (CB): Likewise.
4332 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
4334         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4336 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
4337             Steve Ellcey  <sellcey@caviumnetworks.com>
4339         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4340           __ASSUME_ST_INO_64_BIT as 0
4341         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4342         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4343           over the code where __ASSUME_ST_INO_64_BIT is used.
4344         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4345         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4346         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4348 2016-11-07  Florian Weimer  <fweimer@redhat.com>
4350         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4351         Document ABI exposure of the __kind offset.
4352         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4353         Mention reason for the __kind offset exposure in the ABI.
4354         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4355         Likewise.
4356         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4357         Likewise.
4358         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4359         Likewise.
4360         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4361         (struct __pthread_mutex_s): Likewise.
4362         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4363         Likewise.
4364         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4365         Likewise.
4366         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4367         Likewise.
4368         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4369         Likewise.
4370         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4371         Likewise.
4372         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4373         Likewise.
4374         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4375         (struct __pthread_mutex_s): Likewise.
4376         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4377         (struct __pthread_mutex_s): Likewise.
4378         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4379         Likewise.
4381 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
4383         * test-skeleton.c: Document do_test usage.
4385 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
4387         * iconv/gconv.h (__gconv_info): Define __data element using a
4388         zero-length array.
4390 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
4392         * math/test-tgmath2.c: Split up test function.
4394 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4396         * Rules (tests-expected): New variable, depending on
4397         $(run-built-tests).
4398         (tests): Pass $(tests-expected) to merge-test-results.sh, not
4399         $(tests).
4401         * Rules [$(run-built-tests) = no] (tests): Do not depend on
4402         $(tests-unsupported).
4404 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4406         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4407         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
4409 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4411         [BZ #20768]
4412         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4413         __fegetenv instead of fegetenv.
4415         [BZ #14139]
4416         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4417         (find_files): Obtain platform name from libm-test-ulps-name and
4418         store in %pplatforms.
4419         (canonicalize_platform): Remove.
4420         (print_platforms): Use $pplatforms directly.
4421         (by_platforms): Do not allow for platforms missing from
4422         %pplatforms.
4423         * sysdeps/aarch64/libm-test-ulps-name: New file.
4424         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4425         * sysdeps/arm/libm-test-ulps-name: Likewise.
4426         * sysdeps/generic/libm-test-ulps-name: Likewise.
4427         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4428         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4429         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4430         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4431         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4432         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4433         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4434         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4435         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4436         * sysdeps/nios2/libm-test-ulps-name: Likewise.
4437         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4438         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4439         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4440         * sysdeps/sh/libm-test-ulps-name: Likewise.
4441         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4442         * sysdeps/tile/libm-test-ulps-name: Likewise.
4443         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4445         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4447         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4448         (test-xfail-check-execstack): New variable.
4450         * sysdeps/mips/localplt.data: New file.
4452 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
4453             Steve Ellcey  <sellcey@caviumnetworks.com>
4455         * bits/wordsize.h: Add documentation.
4456         * sysdeps/aarch64/bits/wordsize.h : New file
4457         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4458         definitions.
4459         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4460         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4461         with #if instead of #ifdef.
4462         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4463         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4464         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4465         Add or change defines.
4466         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4467         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4468         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4469         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4470         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4471         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4472         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4473         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4474         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4475         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4476         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4477         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4478         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4479         * sysdeps/x86/bits/wordsize.h: Likewise.
4481 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
4482             Kevin Petit  <kevin.petit@arm.com>
4484         * sysdeps/aarch64/memchr.S (__memchr): New file.
4486 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4488         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4490 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
4492         [BZ #19398]
4493         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4494         $(linknamespace-symlists-tests).
4496 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
4498         * time/tst-strptime2.c: Ignore -Wformat-length warning.
4500 2016-11-02  Florian Weimer  <fweimer@redhat.com>
4501             Carlos O'Donell  <carlos@redhat.com>
4503         [Bug #20729]
4504         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4505         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
4506         for -Os related change.
4508 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
4510         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4512 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
4514         [BZ #19673]
4515         * manual/math.texi (Exponents and Logarithms): Correct description
4516         of clog10.
4518 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
4520         [Bz #20729]
4521         * locale/weight.h: Include libc-internal.h.
4522         * locale/weightwc.h: Likewise.
4523         * nptl/nptl_dbP.h: Likewise.
4525 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
4527         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4528         when it is MACH_PORT_NULL.
4530 2016-10-31  Andreas Schwab  <schwab@suse.de>
4532         [BZ #20707]
4533         * posix/glob.c (glob): Initialize pglob before checking for
4534         GLOB_BRACE.  Don't call glob recursively if pattern contains no
4535         valid brace expression despite GLOB_BRACE.
4536         * posix/globtest.sh: Test it.
4538 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4540         [BZ #20729]
4541         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4542         Define.
4543         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4544         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4545         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4546         for seq2.back_us and seq1.back_us only for -Os compiles.
4547         * locale/weightwc.h (findix): Likewise.
4548         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4549         DB_GET_FIELD_ADDRESS only for -Os compiles.
4550         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4551         for slen only for -Os compiles.
4552         * string/strcoll_l.c (get_next_seq): Ignore
4553         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4554         for -Os compiles.
4556         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4557         * include/crypt.h: New file.
4559 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4561         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4562         from test-skeleton.c.
4563         (statclass): Replace calls to write with calls to write_message.
4565 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4567         * math/math.h
4568         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4569         New macro.
4570         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4571         Likewise.
4572         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4573         Likewise.
4574         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4575         SNANL.
4576         * math/test-double.h (snan_value_MACRO): New macro.
4577         * math/test-float.h (snan_value_MACRO): Likewise.
4578         * math/test-ldouble.h (snan_value_MACRO): Likewise.
4579         * math/libm-test.inc (issignaling_test_data): Add tests of
4580         snan_value_MACRO.
4582 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4584         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4585         behavior when eliding a lock not held by the current thread.
4586         * sysdeps/powerpc/nptl/elide.h: Likewise.
4588 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4590         [BZ #20728]
4591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4592         branch to _exit() by a function call.
4594 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4596         * malloc/malloc.c: Update chunk layout comments.
4597         (chunk_main_arena): Update comment.
4599 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4601         * crypt/sha256.c, crypt/sha256-block.c,
4602         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4603         sha256_process_block to __sha256_process_block.
4604         * crypt/sha512.c, crypt/sha512-block.c,
4605         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4606         sha512_process_block to __sha512_process_block.
4608 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4610         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4612         * math/test-nan-overflow.c: Include stdlib.h for malloc.
4614 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
4616         [BZ #20019]
4617         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4618         definition in unrelocated shared library.
4619         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4621 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4623         [BZ #20729]
4624         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4625         * sysdeps/unix/sysv/linux/i386/Makefile
4626         (uses-6-syscall-arguments): Define.
4627         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4628         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4629         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4630         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4631         Likewise.
4632         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4633         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4634         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4635         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4636         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4637         (CFLAGS-fallocate64.os): Likewise.
4638         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4639         (CFLAGS-pthread_rwlock_timedrdlock.os)
4640         (CFLAGS-pthread_rwlock_timedwrlock.o)
4641         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4642         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4643         (CFLAGS-sem_timedwait.os): Likewise.
4645 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4647         * elf/tst-linkall-static.c: New file.
4648         * elf/Makefile (tests-static): Add tst-linkall-static.
4649         (tst-linkall-static): Link against static libraries.
4651 2016-10-27  Florian Weimer  <fweimer@redhat.com>
4653         * malloc/malloc.c (sysmalloc): Initialize previous size field of
4654         mmaped chunks.
4656 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4658         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4659         members to mchunk_prev_size, mchunk_size.
4660         (chunk_main_arena): Reverse sense and rename from
4661         chunk_non_main_arena.
4662         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4663         mchunk_size instead of size.
4664         (set_non_main_arena): Define.
4665         (chunksize): Use chunksize_nomask instead of direct member access.
4666         (chunksize_nomask): Define.
4667         (next_chunk): Use chunksize instead of direct member access.
4668         (prev_size, set_prev_size): Define.
4669         (prev_chunk): Use prev_size instead of direct member access.
4670         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4671         (inuse_bit_at_offset, set_inuse_bit_at_offset)
4672         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4673         (mchunk_prev_size, mchunk_size): Poison tokens.
4674         (unlink): Use chunksize_nomask, prev_size accessors.
4675         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4676         (do_check_free_chunk): Use prev_size accessor.
4677         (sysmalloc): Use set_prev_size, set_head accessors.
4678         (munmap_chunk, mremap_chunk): Use prev_size accessor.
4679         (__libc_free): Use chunksize_nomask accessor.
4680         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4681         chunk_main_arena accessors.
4682         (_int_free): Use chunksize_nomask, prev_size accessors.
4683         (malloc_consolidate): Use chunksize, prev_size accessors.
4684         (_int_realloc): Use chunksize_nomask accessor.
4685         (_int_memalign): Use set_prev_size accessor.
4686         (__malloc_info): Use chunksize_nomask accessor.
4687         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4688         accessors.
4689         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4690         (heap_trim): Use chunksize_nomask, prev_size accessors.
4692 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4694         [BZ #19380]
4695         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4696         for inexact results.
4697         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4698         of inexact result where mpfr_subnormalize is the only inexact
4699         step.
4700         * stdlib/tst-strtod-round-data.h: Regenerated.
4701         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4702         Define to 0.
4703         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4705 2016-10-27  David S. Miller  <davem@davemloft.net>
4707         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4709 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4711         * malloc/malloc.c (do_set_mallopt_check): New function.
4712         (do_set_mmap_threshold): Likewise.
4713         (do_set_mmaps_max): Likewise.
4714         (do_set_top_pad): Likewise.
4715         (do_set_perturb_byte): Likewise.
4716         (do_set_trim_threshold): Likewise.
4717         (do_set_arena_max): Likewise.
4718         (do_set_arena_test): Likewise.
4719         (__libc_mallopt): Use them.
4721 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
4723         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4724         (canonicalize): New declaration.
4725         * math/Versions (canonicalize): New libm symbol at version
4726         GLIBC_2.25.
4727         (canonicalizef): Likewise.
4728         (canonicalizel): Likewise.
4729         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4730         * math/s_canonicalize_template.c: New file.
4731         * math/libm-test.inc: Update comment on functions tested and
4732         testing of NaN payloads.
4733         (TEST_NAN_PAYLOAD): New macro.
4734         (NO_TEST_INLINE): Update value.
4735         (XFAIL_TEST): Likewise.
4736         (ERRNO_UNCHANGED): Likewise.
4737         (ERRNO_EDOM): Likewise.
4738         (ERRNO_ERANGE): Likewise.
4739         (IGNORE_RESULT): Likewise.
4740         (NON_FINITE): Likewise.
4741         (TEST_SNAN): Likewise.
4742         (NO_TEST_MATHVEC): Likewise.
4743         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4744         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4745         (struct test_Ffp_b1_data): New type.
4746         (RUN_TEST_Ffp_b1): New macro.
4747         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4748         (canonicalize_test_data): New array.
4749         (canonicalize_test): New function.
4750         (main): Call canonicalize_test.
4751         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4752         canonicalizef and canonicalizel.
4753         * manual/libm-err-tab.pl: Update comment on interfaces without
4754         ulps tabulated.
4755         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4756         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4757         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4758         canonicalize.
4759         (CFLAGS-nldbl-canonicalize.c): New variable.
4760         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4761         to ...
4762         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4763         ... here.
4764         (do_test): Also test canonicalizel.
4765         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4766         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4767         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4768         file.
4769         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4770         Use libm_hidden_def.
4771         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4772         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4773         (do_test): Also test canonicalizel.
4774         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4775         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4776         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4777         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4778         libm_hidden_def.
4779         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4780         macro.
4781         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4782         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4783         * sysdeps/nacl/libm.abilist: Update.
4784         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4785         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4786         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4787         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4788         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4789         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4790         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4791         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4792         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4793         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4794         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4795         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4797         Likewise.
4798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4799         Likewise.
4800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4801         Likewise.
4802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4803         Likewise.
4804         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4805         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4806         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4807         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4808         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4810         Likewise.
4811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4812         Likewise.
4813         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4814         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4815         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4817         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4818         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4819         getpayload.
4820         (CFLAGS-nldbl-getpayload.c): New variable.
4822 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4824         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4825         integer from the format string.
4827 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4829         [BZ #19473]
4830         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4831         declarations.
4832         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4833         weak aliases.
4834         * malloc/hooks.c (__malloc_get_state): Remove definition.
4835         (malloc_get_state): New stub implementation as
4836         compatibility symbol.
4837         (malloc_set_state): Rename from __malloc_set_state.  Turn into
4838         compat symbol.
4839         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4840         malloc_set_state.
4841         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4843 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4845         * iconvdata/iso646.c (enum variant): Drop illegal_var.
4846         (names): Turn into concatenation of strings.
4847         (gconv_init): Adapt iteration over names.
4849 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4851         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4852         make const.
4853         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4854         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4855         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4856         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4857         character in sbconv.
4858         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4859         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4860         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4862 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4864         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4866         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4867         (M_TRIM_THRESHOLD): Likewise.
4869         * manual/memory.texi (M_ARENA_TEST): Add documentation.
4870         (M_ARENA_MAX): Likewise.
4871         * malloc/malloc.c: Remove obsolete comment.
4873         * manual/memory.texi: Add environment variable alternatives to
4874         setting mallopt parameters.
4876 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
4878         * include/atomic.h
4879         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4880         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4882 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4884         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4885         * stdlib/tst-strfrom.h: New file.
4886         * stdlib/tst-strfrom.c: New file.
4887         * stdlib/tst-strfrom-locale.c: New file.
4889         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4890         * stdlib/bug-strtod2.c: Likewise.
4891         * stdlib/tst-strtod-round-skeleton.c: Likewise.
4892         * stdlib/tst-strtod6.c: Likewise.
4893         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4895 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4897         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4898         * manual/arith.texi: Document strfromd, strfromf, strfroml.
4899         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4900         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4901         * stdlib/stdlib.h (strfromd): New declaration.
4902         (strfromf): Likewise.
4903         (strfroml): Likewise.
4904         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4905         strfrom.
4906         * stdlib/strfromd.c: New file.
4907         * stdlib/strfromf.c: Likewise.
4908         * stdlib/strfroml.c: Likewise.
4909         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4910         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4911         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4912         * sysdeps/arm/nacl/libc.abilist: Update.
4913         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4914         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4915         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4916         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4917         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4918         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4919         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4920         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4921         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4922         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4923         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4924         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4925         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4926         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4931         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4932         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4933         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4934         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4935         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4938         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4939         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4940         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4942 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4944         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4945         instead of cmpli.
4946         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4947         instead of cmpli.
4949 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4951         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4952         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4953         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4954         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4955         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4956         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4958 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4960         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4961         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4962         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4963         SYSCALL_LL64_PRW.
4964         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4965         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4966         __ASSUME_PRW_DUMMY_ARG.
4967         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4968         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4969         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4970         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4971         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4972         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4974 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4976         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4978 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4980         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4981         "C++", to override a potential extern "C" directive around the
4982         header file inclusion.
4984 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4986         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4988 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4990         * sysdeps/powerpc/fpu/fenv_private.h:
4991         (_FPU_MASK_ALL): Rename to...
4992         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4993         XE FPSCR bits.
4995         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4997         (_FPU_MASK_ROUNDING): Rename to...
4998         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4999         NI bits.
5001         (_FPU_MASK_EXCEPT_ROUND): Rename to...
5002         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
5003         bits and rounding bits.
5005         (__libc_feholdbits_ppc): New inline function to mask, set,
5006         and pontentially clear FSPCR bits, and change MSR[FE] bits.
5007         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
5008         (libc_feholdexcept_setround_ppc): Likewise.
5010         (__libc_femergeenv_ppc): New function to dynamically mask both
5011         old and new FP environments and merge.
5012         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
5013         (libc_feresetround_ppc): Likewise.
5014         (libc_feupdateenv_test_ppc): Likewise.
5015         (libc_feupdateenv_ppc): Likewise.
5017         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
5018         of ISA RN bits, and update macro names.
5019         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
5020         effectively the same as the previously mentioned function.
5022         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
5023         usage with fe_resetround_ppc.
5025         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
5026         to be used.
5027         (libc_feholdexcept_setround_ctxf): Likewise.
5028         (libc_feholdexcept_setround_ctxl): Likewise.
5030 2016-10-21  Florian Weimer  <fweimer@redhat.com>
5032         [BZ #20715]
5033         * math/math.h [__cplusplus] (iszero): Define as function template.
5034         * math/Makefile [CXX] (tests): Add test-math-iszero.
5035         (CFLAGS-test-math-iszero.cc): Set.
5036         * math/test-math-iszero.cc: New file.
5038 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
5040         [BZ #20660]
5041         * sysdeps/arm/e_sqrt.c: New file.
5042         * sysdeps/arm/e_sqrtf.c: Likewise.
5044 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
5046         [BZ #20718]
5047         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
5048         not use floating-point comparisons to test sign.
5049         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
5050         Likewise.
5052         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5053         (getpayload): New declaration.
5054         * math/Versions (getpayload): New libm symbol at version
5055         GLIBC_2.25.
5056         (getpayloadf): Likewise.
5057         (getpayloadl): Likewise.
5058         * math/Makefile (libm-calls): Add s_getpayloadF.
5059         * math/libm-test.inc: Include <nan-high-order-bit.h>.
5060         (struct test_f_f_data): Add comment.
5061         (RUN_TEST_fp_f): New macro.
5062         (RUN_TEST_LOOP_fp_f): Likewise.
5063         (getpayload_test_data): New array.
5064         (getpayload_test): New function.
5065         (main): Call getpayload_test.
5066         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
5067         descriptor.
5068         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
5069         getpayloadf and getpayloadl.
5070         * manual/libm-err-tab.pl: Update comment on interfaces without
5071         ulps tabulated.
5072         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
5073         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
5074         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
5075         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
5076         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
5077         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
5078         * sysdeps/nacl/libm.abilist: Update.
5079         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5080         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5081         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5082         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5083         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5084         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5085         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5086         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5087         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5088         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5089         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5090         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5092         Likewise.
5093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5094         Likewise.
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5096         Likewise.
5097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5098         Likewise.
5099         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5100         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5101         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5102         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5103         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5105         Likewise.
5106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5107         Likewise.
5108         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5110         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5112 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5114         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5115         tst-fallocate{64}.
5116         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5117         on syscall return.
5119 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
5121         [BZ #20689]
5122         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5123         usable.
5125 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
5127         * sysdeps/generic/nan-high-order-bit.h: New file.
5128         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5129         * sysdeps/mips/nan-high-order-bit.h: Likewise.
5130         * sysdeps/hppa/math_private.h: Remove file.
5131         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5132         not define here.
5133         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5134         <nan-high-order-bit.h>.
5135         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5136         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5137         <nan-high-order-bit.h>.
5138         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5139         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5140         <nan-high-order-bit.h>.
5141         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5142         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
5143         <nan-high-order-bit.h>.
5144         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5145         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5146         <nan-high-order-bit.h>.
5147         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5148         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5149         <nan-high-order-bit.h>.
5150         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5151         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
5152         <nan-high-order-bit.h>.
5153         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5154         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5155         <nan-high-order-bit.h>.
5156         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5157         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5158         <nan-high-order-bit.h>.
5159         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5160         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5161         <nan-high-order-bit.h>.
5162         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5163         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5164         <nan-high-order-bit.h>.
5165         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5166         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5167         <nan-high-order-bit.h>.
5168         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5169         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
5170         <nan-high-order-bit.h>.
5171         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5172         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
5173         <nan-high-order-bit.h>.
5174         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5175         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
5176         <nan-high-order-bit.h>.
5177         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5178         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
5179         <nan-high-order-bit.h>.
5180         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5181         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5182         <nan-high-order-bit.h>.
5183         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5184         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5185         <nan-high-order-bit.h>.
5186         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5188 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5190         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5192 2016-09-22  John David Anglin  <dave.anglin@bell.net>
5194         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5195         abort-instr.h.
5196         (EFAULT): Remove conditional define.
5197         (ENOSYS): Likewise.
5198         (atomic_compare_and_exchange_val_acq): Use instruction nullification
5199         instead of conditional branch instructions.
5201 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
5203         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5204         (totalordermag): New declaration.
5205         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5206         New macro.
5207         * math/Versions (totalordermag): New libm symbol at version
5208         GLIBC_2.25.
5209         (totalordermagf): Likewise.
5210         (totalordermagl): Likewise.
5211         * math/Makefile (libm-calls): Add s_totalordermagF.
5212         * math/libm-test.inc (totalordermag_test_data): New array.
5213         (totalordermag_test): New function.
5214         (main): Call totalordermag_test.
5215         * math/test-tgmath.c (NCALLS): Increase to 125.
5216         (F(compile_test)): Call totalordermag.
5217         (F(totalordermag)): New function.
5218         * manual/arith.texi (FP Comparison Functions): Document
5219         totalordermag, totalordermagf and totalordermagl.
5220         * manual/libm-err-tab.pl: Update comment on interfaces without
5221         ulps tabulated.
5222         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5223         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5224         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5225         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5226         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5227         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5228         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5229         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5230         totalordermag.
5231         (CFLAGS-nldbl-totalordermag.c): New variable.
5232         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5233         (do_test): Also test totalordermagl.
5234         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5235         Likewise.
5236         * sysdeps/nacl/libm.abilist: Update.
5237         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5238         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5239         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5240         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5241         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5242         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5243         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5244         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5245         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5246         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5247         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5248         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5250         Likewise.
5251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5252         Likewise.
5253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5254         Likewise.
5255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5256         Likewise.
5257         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5258         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5259         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5260         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5261         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5263         Likewise.
5264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5265         Likewise.
5266         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5267         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5268         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5270 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
5272         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5273         boolean.
5275 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
5277         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5278         raising FE_INVALID with feraisexcept in case where part of
5279         argument is infinite, subtract that part of argument from itself.
5280         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5281         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5282         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5284 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5286         * math/libm-test.inc (totalorder_test_data): Add more tests.
5288 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5290         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5291         Undefine weak_alias and add a comment why mips64 require
5292         versioning.
5294 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
5296         [BZ #20647]
5297         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5298         maximum CPUID level is less than 2.
5300 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5302         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5303         (totalorder): New declaration.
5304         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5305         New macro.
5306         * math/Versions (totalorder): New libm symbol at version
5307         GLIBC_2.25.
5308         (totalorderf): Likewise.
5309         (totalorderl): Likewise.
5310         * math/Makefile (libm-calls): Add s_totalorderF.
5311         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5312         string.
5313         * math/libm-test.inc (PAYLOAD_DIG): New macro.
5314         (qnan_value_pl): Likewise.
5315         (snan_value_pl): Likewise.
5316         (qnan_value): Define using qnan_value_pl.
5317         (snan_value): Define using snan_value_pl.
5318         (struct test_ff_i_data): Add comment about which tests use this
5319         structure.
5320         (RUN_TEST_ff_b): New macro.
5321         (RUN_TEST_LOOP_ff_b): Likewise.
5322         (totalorder_test_data): New array.
5323         (totalorder_test): New function.
5324         (main): Call totalorder_test.
5325         * math/test-tgmath.c (NCALLS): Increase to 122.
5326         (F(compile_test)): Call totalorder.
5327         (F(totalorder)): New function.
5328         * manual/arith.texi (FP Comparison Functions): Document
5329         totalorder, totalorderf and totalorderl.
5330         * manual/libm-err-tab.pl: Update comment on interfaces without
5331         ulps tabulated.
5332         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5333         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5334         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5335         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5336         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5337         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5338         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5339         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5340         totalorder.
5341         (CFLAGS-nldbl-totalorder.c): New variable.
5342         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5343         file.
5344         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5345         Add test-totalorderl-ldbl-128ibm.
5346         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5347         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5348         test-totalorderl-ldbl-96.
5349         * sysdeps/nacl/libm.abilist: Update.
5350         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5351         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5352         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5353         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5354         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5355         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5356         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5357         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5359         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5360         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5361         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5363         Likewise.
5364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5365         Likewise.
5366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5367         Likewise.
5368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5369         Likewise.
5370         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5371         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5372         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5373         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5374         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5376         Likewise.
5377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5378         Likewise.
5379         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5380         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5381         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5383 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5385         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5386         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5387         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5388         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5389         remove ENOSYS implementation.
5390         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5391         Consolidate all Linux implementations.
5393 2016-10-11  Florian Weimer  <fweimer@redhat.com>
5395         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5396         * resolv/herror.c (herror): Cast away const-ness.
5397         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5398         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5400 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
5402         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5403         instead of M_NAN + M_NAN.
5404         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5406 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5408         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5409         unused variable 'p'.
5411 2016-10-09  Alan Modra  <amodra@gmail.com>
5412             Andreas Schwab  <schwab@linux-m68k.org>
5414         [BZ #20554]
5415         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5416         [PIC && !SHARED]: Set up PIC register for PLT call.
5418 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
5420         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5421         conditional on value of [__FLT_EVAL_METHOD__].
5422         * math/test-iseqsig-excess-precision.c: New file.
5423         * math/Makefile (tests): Add test-iseqsig-excess-precision.
5425 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5427         * math/s_iseqsig_template.c: Include math-private.h.
5429         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5430         * posix/tst-posix_fadvise.c: New file.
5431         * posix/tst-posix_fadvise64.c: Likewise.
5432         * posix/tst-posix_fadvise-common.c: Likewise.
5433         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5434         (__ASSUME_FADVISE64_64_6ARG): Define.
5435         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5436         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5437         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5438         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5439         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5440         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5441         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5442         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5443         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5444         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5445         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5446         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5449         Likewise.
5450         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5451         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5452         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5453         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5454         Alias to __posix_fadvise64_l32.
5455         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5456         Add compat definition to posix_fadvise64.
5457         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5458         Add versioned definition to posix_fadvise64.
5459         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5460         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5461         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5462         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5463         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5465         * io/Makefile (tests): Add tst-posix_fallocate and
5466         tst-posix_fallocate64.
5467         * io/tst-posix_fallocate-common.c: New file.
5468         * io/tst-posix_fallocate.c: Likewise.
5469         * io/tst-posix_fallocate64.c: Likewise.
5470         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5471         file.
5472         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5473         Likewise.
5474         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5475         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5476         Likewise.
5477         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5479         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5480         SYSCALL_LL to pass both offset and len arguments.
5481         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5482         Likewise.
5483         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5484         __libc_pwrite64 alias used by posix_fallocate64.
5486         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5487         tst-fallocate64.
5488         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5489         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5490         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5491         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5492         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5493         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5494         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5495         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5496         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5497         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5498         macro on offset argument.
5499         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5500         SYSCALL_LL64 on offset argument.
5502         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5503         tst-fallocate64.
5504         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5505         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5506         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5507         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5508         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5509         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5510         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5511         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5512         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5513         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5514         macro on offset argument.
5515         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5516         SYSCALL_LL64 on offset argument.
5517         * test-skeleton.c (FAIL_RET): Add macro.
5518         (FAIL_EXIT): Likewise.
5519         (FAIL_EXIT1): Likewise.
5520         (_FAIL): Likewise.
5522 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5524         [BZ #20629]
5525         resolv: Remove RES_USEBSTRING and its implementation.
5526         * resolv/resolv.h (RES_USEBSTRING): Remove.
5527         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5528         (digitvalue, encode_bitstring, decode_bitstring): Remove.
5529         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5530         (labellen): Remove extended label types support.
5531         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5532         * resolv/res_init.c (res_setoptions): Likewise.
5533         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5535 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5537         resolv: Remove RES_NOIP6DOTINT and its implementation.
5538         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5539         (RES_NOIP6DOTINT): Remove.
5540         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5541         handling.
5542         * resolv/res_debug.c (p_option): Likewise.
5543         * resolv/res_init.c (res_setoptions): Likewise.
5544         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5546 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5548         resolv: Deprecate unimplemented flags.
5549         * misc/sys/cdefs.h (__glibc_macro_warning1)
5550         (__glibc_macro_warning): Define.
5551         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5552         (RES_KEEPTSIG): Mark as deprecated.
5553         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5554         RES_NOCHECKNAME, RES_KEEPTSIG.
5555         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5557 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5559         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5560         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5561         Use strong_alias to create symbols for glibc verison 2.19.
5563 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5565         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5567 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5569         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5571 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5573         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5575 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5577         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5578         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5579         in header for using it as type for ifunc function because __GI_* symbols
5580         for ppc32 do not target the ifunc symbols.
5581         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5583 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5585         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5586         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5587         libc_ifunc_hidden_def.
5588         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5589         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5590         Redirect ifunced function in header for using it as type of ifunc'ed
5591         function. Redefine libc_hidden_def to use fallback non ifunc'ed
5592         function for __GI_* symbol.
5593         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5594         * include/libc-symbols.h
5595         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5597 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5599         [BZ #20478]
5600         * sysdeps/s390/multiarch/ifunc-resolve.h
5601         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5602         to create ifunc symbols.
5603         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5604         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5605         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5606         for using it as type for ifunc function.
5607         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5608         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5609         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5610         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5611         * sysdeps/s390/multiarch/strcat.c: Likewise.
5612         * sysdeps/s390/multiarch/strchr.c: Likewise.
5613         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5614         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5615         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5616         * sysdeps/s390/multiarch/strlen.c: Likewise.
5617         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5618         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5619         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5620         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5621         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5622         * sysdeps/s390/multiarch/strspn.c: Likewise.
5623         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5624         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5625         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5626         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5627         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5628         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5629         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5630         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5631         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5632         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5633         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5634         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5636 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5638         * include/libc-symbols.h (__ifunc_resolver):
5639         New macro is used by __ifunc* macros.
5640         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5641         depending on HAVE_GCC_IFUNC.
5642         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5643         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5645         Redirect ifunced function in header for using as type for ifunc function.
5646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5650         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5651         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5652         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5653         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5654         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5655         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5656         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5657         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5658         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5659         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5665         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5666         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5667         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5668         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5669         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5670         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5671         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5672         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5673         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5674         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5675         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5676         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5677         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5678         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5680         Add libc_hidden_def() and use libc_ifunc_hidden() macro
5681         instead of libc_ifunc() macro.
5682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5683         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5685 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5687         * config.h.in (HAVE_GCC_IFUNC): New undef.
5688         * configure.ac: Add check if gcc supports attribute ifunc feature.
5689         * configure: Regenerated.
5690         * manual/install.texi: Add recommendation for gcc with
5691         indirect-function support.
5692         * INSTALL: Regenerated.
5694 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
5696         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5697         macro.
5698         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5699         (__iseqsig): New declaration.
5700         * math/s_iseqsig_template.c: New file.
5701         * math/Versions (__iseqsigf): New libm symbol at version
5702         GLIBC_2.25.
5703         (__iseqsig): Likewise.
5704         (__iseqsigl): Likewise.
5705         * math/libm-test.inc (iseqsig_test_data): New array.
5706         (iseqsig_test): New function.
5707         (main): Call iseqsig_test.
5708         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5709         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5710         * manual/libm-err-tab.pl: Update comment on interfaces without
5711         ulps tabulated.
5712         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5713         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5714         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5715         * sysdeps/nacl/libm.abilist: Update.
5716         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5717         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5718         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5719         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5720         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5721         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5722         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5723         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5724         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5725         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5726         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5727         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5729         Likewise.
5730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5731         Likewise.
5732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5733         Likewise.
5734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5735         Likewise.
5736         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5737         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5738         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5739         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5740         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5742         Likewise.
5743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5744         Likewise.
5745         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5746         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5747         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5749 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5751         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5752         do_sincos_2, sloww, sloww1): Update comments.
5754         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5755         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5757         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5758         K boolean and rename it.
5759         (__sin): Adjust.
5760         (__cos): Adjust.
5762 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5763             Siddhesh Poyarekar  <siddhesh@sourceware.org>
5765         * manual/nss.texi: Fix typos in the manual.
5767 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5769         * manual/contrib.texi: Fix typos in the manual.
5771         * manual/maint.texi: Fix typos in the manual.
5773         * manual/install.texi: Fix typos in the manual.
5774         * INSTALL: Regenerated.
5776         * manual/lang.texi: Fix typos in the manual.
5778         * manual/probes.texi: Fix typos in the manual.
5780         * manual/threads.texi: Fix typos in the manual.
5782         * manual/debug.texi: Fix typos in the manual.
5784         * manual/crypt.texi: Fix typos in the manual.
5786         * manual/conf.texi: Fix typos in the manual.
5788         * manual/sysinfo.texi: Fix typos in the manual.
5790         * manual/users.texi: Fix typos in the manual.
5792         * manual/job.texi: Fix typos in the manual.
5794         * manual/process.texi: Fix typos in the manual.
5796         * manual/argp.texi: Fix typos in the manual.
5797         * manual/getopt.texi: Likewise.
5798         * manual/startup.texi: Likewise.
5800         * manual/signal.texi: Fix typos in the manual.
5802         * manual/setjmp.texi: Fix typos in the manual.
5804         * manual/resource.texi: Fix typos in the manual.
5806         * manual/time.texi: Fix typos in the manual.
5808         * manual/arith.texi: Fix typos in the manual.
5810         * manual/math.texi: Fix typos in the manual.
5812         * manual/syslog.texi: Fix typos in the manual.
5814         * manual/terminal.texi: Fix typos in the manual.
5816         * manual/socket.texi: Fix typos in the manual.
5818         * manual/filesys.texi: Fix typos in the manual.
5820         * manual/llio.texi: Fix typos in the manual.
5822         * manual/stdio.text: Fix typos in the manual.
5824 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5826         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5827         instead of K1.
5829         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5830         SHIFT_QUADRANT and make it bool.
5831         (do_sincos_2): Likewise.
5832         (sloww): Likewise.
5833         (sloww1): Likewise.
5834         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5835         (__cos): Likewise.
5837 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5839         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5841 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
5843         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5844         Define to __WORDSIZE, not conditional on [LONG_MAX ==
5845         0x7fffffffL].
5846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5848 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5850         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5851         inline by __inline__.
5852         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5853         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5854         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5855         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5856         sigset_t from signal.h.
5857         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5858         which is already required.
5860 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5862         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5864 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
5866         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5867         (struct tcp_repair_window): New type.
5869 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5871         * libio/tst-memstream3.c: Include string.h.
5873 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5875         [BZ #18241]
5876         [BZ #20181]
5877         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5878         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5879         write position is at the end the buffer.
5880         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5881         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5882         (_IO_str_seekoff): Set correct offset from negative displacement and
5883         set EINVAL for invalid ones.
5884         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5885         buffer length.
5886         (_IO_wstr_switch_to_get_mode): New function.
5887         (_IO_wstr_seekoff): Set correct offset from negative displacement and
5888         set EINVAL for invalid ones.
5889         * libio/tst-memstream3.c: New file.
5890         * libio/tst-wmemstream3.c: Likewise.
5891         * manual/examples/memstrm.c: Remove warning when priting size_t.
5893 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5895         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5896         macro to use __builtin_fma.
5897         * sysdeps/x86_64/fpu/dla.h: Remove file.
5899         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5900         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5901         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5903 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5905         [BZ #20292]
5906         * elf/Makefile (routines): Add dl-addr-obj.
5907         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5908         tst-_dl_addr_inside_object.
5909         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5910         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5911         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5912         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5913         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5914         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5915         * elf/dl-open.c: Likewise.
5916         * elf/dl-addr-obj.c: New file.
5917         * elf/tst-_dl_addr_inside_object.c: New file.
5919 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5921         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5922         <bits/iscanonical.h>.
5923         * bits/iscanonical.h: New file.
5924         * math/s_iscanonicall.c: Likewise.
5925         * math/Versions (__iscanonicall): New libm symbol at version
5926         GLIBC_2.25.
5927         * math/libm-test.inc (iscanonical_test_data): New array.
5928         (iscanonical_test): New function.
5929         (main): Call iscanonical_test.
5930         * math/Makefile (headers): Add bits/iscanonical.h.
5931         (type-ldouble-routines): Add s_iscanonicall.
5932         * manual/arith.texi (Floating Point Classes): Document
5933         iscanonical.
5934         * manual/libm-err-tab.pl: Update comment on interfaces without
5935         ulps tabulated.
5936         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5937         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5938         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5939         Likewise.
5940         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5941         test-iscanonical-ldbl-128ibm.
5942         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5943         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5944         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5945         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5946         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5947         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5948         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5950         Likewise.
5951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5952         Likewise.
5953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5954         Likewise.
5955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5956         Likewise.
5957         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5958         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5960 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5962         * string/bits/string3.h: Remove C++ style comments.
5964 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5966         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5967         instead of ternary condition.
5968         (do_sincos_2): Likewise.
5969         (__sin): Likewise.
5970         (__cos): Likewise.
5971         (slow): Likewise.
5972         (sloww): Likewise.
5973         (sloww1): Likewise.
5974         (bsloww): Likewise.
5975         (bsloww1): Likewise.
5977         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5978         instead of ternary condition.
5979         (do_sin_slow): Likewise.
5980         (do_sincos_1): Likewise.
5981         (do_sincos_2): Likewise.
5982         (__cos): Likewise.
5983         (sloww): Likewise.
5984         (sloww1): Likewise.
5985         (sloww2): Likewise.
5986         (bsloww): Likewise.
5987         (bsloww1): Likewise.
5988         (bsloww2): Likewise.
5990         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5991         check from here...
5992         (slow2): ... and here...
5993         (__sin): ... to here.
5995 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5997         * math/math.h
5998         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5999         Cast argument to its own type.
6000         * math/test-iszero-excess-precision.c: New file.
6001         * math/Makefile (tests): Add test-iszero-excess-precision.
6002         (CFLAGS-test-iszero-excess-precision.c): New variable.
6004 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
6006         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
6007         field, add err field.
6008         (__spawni_child): Report error through err member instead of pipe.
6009         (__spawnix): Likewise.
6011 2016-09-28  Zack Weinberg  <zackw@panix.com>
6013         * scripts/check-installed-headers.sh: Generalize treatment of
6014         sys/elf.h to all target architectures.
6016         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
6017         deleted typedef ucontext_t.
6019 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6021         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
6022         (__INTERNAL_SYSCALL1): Likewise.
6023         (__INTERNAL_SYSCALL2): Likewise.
6024         (__INTERNAL_SYSCALL3): Likewise.
6025         (__INTERNAL_SYSCALL4): Likewise.
6026         (__INTERNAL_SYSCALL5): Likewise.
6027         (__INTERNAL_SYSCALL6): Likewise.
6028         (__INTERNAL_SYSCALL7): Likewise.
6029         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
6030         (__INTERNAL_SYSCALL_NARGS): Likewise.
6031         (__INTERNAL_SYSCALL_DISP): Likewise.
6032         (INTERNAL_SYSCALL_CALL): Likewise.
6033         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
6034         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
6035         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
6036         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
6037         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
6038         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
6039         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
6040         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
6041         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
6042         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
6043         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
6044         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
6045         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
6047 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
6049         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
6050         macro.
6051         * math/libm-test.inc (iszero_test_data): New array.
6052         (iszero_test): New function.
6053         (main): Call iszero_test.
6054         * manual/arith.texi (Floating Point Classes): Document iszero.
6055         * manual/libm-err-tab.pl: Update comment on interfaces without
6056         ulps tabulated.
6058 2016-09-23  Zack Weinberg  <zackw@panix.com>
6060         * scripts/check-installed-headers.sh: New script.
6061         * Rules: In each directory that defines header files to be installed,
6062         run check-installed-headers.sh on them as a special test.
6063         * Makefile: Likewise for the headers installed at top level.
6065         * include/aliases.h, include/alloca.h, include/argz.h
6066         * include/arpa/nameser.h, include/arpa/nameser_compat.h
6067         * include/elf.h, include/envz.h, include/err.h
6068         * include/execinfo.h, include/fpu_control.h, include/getopt.h
6069         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
6070         * include/link.h, include/malloc.h, include/mcheck.h
6071         * include/mntent.h, include/netinet/ether.h
6072         * include/nss.h, include/obstack.h, include/printf.h
6073         * include/pty.h, include/resolv.h, include/rpc/auth.h
6074         * include/rpc/auth_des.h, include/rpc/auth_unix.h
6075         * include/rpc/clnt.h, include/rpc/des_crypt.h
6076         * include/rpc/key_prot.h, include/rpc/netdb.h
6077         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
6078         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
6079         * include/rpc/rpc_msg.h, include/rpc/svc.h
6080         * include/rpc/svc_auth.h, include/rpc/xdr.h
6081         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
6082         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
6083         * include/rpcsvc/ypupd.h, include/shadow.h
6084         * include/stdio_ext.h, include/sys/epoll.h
6085         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
6086         * include/sys/prctl.h, include/sys/profil.h
6087         * include/sys/statfs.h, include/sys/sysctl.h
6088         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
6089         * sysdeps/arm/nacl/include/bits/setjmp.h
6090         * sysdeps/mips/include/sys/asm.h
6091         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
6092         * sysdeps/unix/sysv/linux/include/sys/timex.h
6093         * sysdeps/x86/fpu/include/bits/fenv.h:
6094         Add #ifndef _ISOMAC guard around internal declarations.
6095         Add multiple-inclusion guard if not already present.
6097 2016-09-23  Zack Weinberg  <zackw@panix.com>
6099         * sysdeps/generic/sys/ucontext.h
6100         * sysdeps/arm/sys/ucontext.h
6101         * sysdeps/i386/sys/ucontext.h
6102         * sysdeps/m68k/sys/ucontext.h
6103         * sysdeps/mips/sys/ucontext.h
6104         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
6105         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
6106         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
6107         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
6108         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
6109         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
6110         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
6111         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
6112         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
6113         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6114         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6115         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6116         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6117         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6118         Include both bits/sigcontext.h and bits/sigstack.h.
6119         Fix grammar error in comment, if present.
6121         * bits/sigstack.h
6122         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6123         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6124         * sysdeps/unix/sysv/linux/bits/sigstack.h
6125         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6126         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6127         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6128         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6129         * bits/sigcontext.h
6130         * sysdeps/mach/hurd/i386/bits/sigcontext.h
6131         * sysdeps/unix/sysv/linux/bits/sigcontext.h
6132         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6133         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6134         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
6135         as well as signal.h, if this was not already allowed.  Request
6136         definition of size_t if necessary.  Minimize semantically-null
6137         differences across files.
6139 2016-09-23  Zack Weinberg  <zackw@panix.com>
6141         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6142         Remove all logic conditional on __need macros.  Move all the
6143         conditionally defined types to their own headers...
6144         * time/bits/types/clock_t.h: Define clock_t here.
6145         * time/bits/types/clockid_t.h: Define clockid_t here.
6146         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6147         * time/bits/types/struct_timespec.h: Define struct timespec here.
6148         * time/bits/types/struct_timeval.h: Define struct timeval here.
6149         * time/bits/types/struct_tm.h: Define struct tm here.
6150         * time/bits/types/time_t.h: Define time_t here.
6151         * time/bits/types/timer_t.h: Define timer_t here.
6152         * time/Makefile: Install the new headers.
6154         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6155         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6156         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6157         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6158         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6159         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6160         * sysdeps/unix/sysv/linux/bits/resource.h
6161         * sysdeps/unix/sysv/linux/bits/timex.h
6162         * sysdeps/unix/sysv/linux/mips/bits/resource.h
6163         * sysdeps/unix/sysv/linux/net/ppp_defs.h
6164         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6165         * sysdeps/unix/sysv/linux/sys/acct.h
6166         * sysdeps/unix/sysv/linux/sys/timerfd.h
6167         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6168         * time/sys/time.h, time/sys/timeb.h
6169         Use the new bits/types headers.
6171         * include/time.h: Remove __need logic.
6172         * include/bits/time.h
6173         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6174         * include/bits/types/time_t.h, include/bits/types/timer_t.h
6175         * include/bits/types/struct_itimerspec.h
6176         * include/bits/types/struct_timespec.h
6177         * include/bits/types/struct_timeval.h
6178         * include/bits/types/struct_tm.h:
6179         New wrapper headers.
6181 2016-09-23  Zack Weinberg  <zackw@panix.com>
6183         * sysdeps/mach/hurd/net/if_ppp.h
6184         * sysdeps/unix/sysv/linux/net/if_ppp.h:
6185         Only define struct ifpppstatsreq and struct ifpppcstatsreq
6186         if __USE_MISC is defined, to ensure struct ifreq is declared.
6188         * inet/netinet/ether.h: Condition all function prototypes
6189         on __USE_MISC, to ensure struct ether_addr is declared.
6191         * socket/bits/types/struct_osockaddr.h: New header.
6192         * include/bits/types/struct_osockaddr.h: New wrapper.
6193         * socket/Makefile: Install the new header.
6194         * socket/sys/socket.h, inet/protocols/talkd.h:
6195         Refer to bits/types/struct_osockaddr.h for the definition of
6196         struct osockaddr.
6198 2016-09-23  Zack Weinberg  <zackw@panix.com>
6200         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6201         * inet/protocols/routed.h, inet/protocols/talkd.h
6202         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6203         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6204         * sysdeps/generic/netinet/if_ether.h
6205         * sysdeps/generic/netinet/in_systm.h
6206         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6207         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6208         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6209         * sysdeps/mach/hurd/net/if_arp.h
6210         * sysdeps/mach/hurd/net/if_ppp.h
6211         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6212         * sysdeps/unix/sysv/linux/bits/in.h
6213         * sysdeps/unix/sysv/linux/net/ethernet.h
6214         * sysdeps/unix/sysv/linux/net/if_arp.h
6215         * sysdeps/unix/sysv/linux/net/if_ppp.h
6216         * sysdeps/unix/sysv/linux/net/if_shaper.h
6217         * sysdeps/unix/sysv/linux/net/route.h
6218         * sysdeps/unix/sysv/linux/netinet/if_ether.h
6219         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6220         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6221         * sysdeps/unix/sysv/linux/netipx/ipx.h
6222         * sysdeps/unix/sysv/linux/sys/acct.h
6223         * include/arpa/nameser.h, include/resolv.h:
6224         Change all uses of u_char to unsigned char,
6225         u_short and ushort to unsigned short, u_int and uint to unsigned int,
6226         u_long and ulong to unsigned long, u_int8_t to uint8_t,
6227         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6228         and u_int64_t and u_quad_t to uint64_t.
6230         * mach/sys/reboot.h: Remove two casts of integer literals
6231         to the types they already have.
6233         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6234         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6235         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6236         from referring to 'unsigned char' to 'uint8_t' for consistency with
6237         the macro definition below.
6239         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6240         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6241         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6242         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6243         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6244         * sysdeps/unix/sysv/linux/sys/acct.h
6245         * include/arpa/nameser.h, include/resolv.h:
6246         Fix indentation disrupted by mechanical edits.
6248         * inet/protocols/talkd.h, resolv/arpa/nameser.h
6249         * sysdeps/generic/netinet/in_systm.h
6250         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6251         * sysdeps/gnu/netinet/udp.h
6252         * sysdeps/unix/sysv/linux/net/ethernet.h
6253         * sysdeps/unix/sysv/linux/net/if_arp.h
6254         * sysdeps/unix/sysv/linux/net/if_ppp.h
6255         * sysdeps/unix/sysv/linux/net/if_shaper.h
6256         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6257         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6258         * sysdeps/unix/sysv/linux/netipx/ipx.h
6259         * sysdeps/unix/sysv/linux/sys/acct.h
6260         Include stdint.h for uintNN_t definitions.
6261         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6263 2016-09-23  Zack Weinberg  <zackw@panix.com>
6265         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6266         * sysdeps/unix/sysv/linux/netrose/rose.h:
6267         Include sys/socket.h and netax25/ax25.h.
6269         * inet/netinet/icmp6.h, inet/netinet/ip6.h
6270         * resolv/arpa/nameser_compat.h:
6271         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6273         * sysdeps/unix/sysv/linux/sys/quota.h:
6274         Use __caddr_t instead of caddr_t.
6275         * sysdeps/unix/sysv/linux/sys/timerfd.h:
6276         Use __clockid_t instead of clockid_t.
6278         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6280         * argp/argp.h: Check whether _LIBC is defined before expanding it.
6281         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6282         expanding it.
6284         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6285         Define __glibc_c99_flexarr_available to 1 when the compiler
6286         supports C99-compatible flexible array members, 0 otherwise.
6287         * sysdeps/unix/sysv/linux/bits/socket.h
6288         * sysdeps/mach/hurd/bits/socket.h
6289         * bits/socket.h: Use __glibc_c99_flexarr_available in
6290         definitions of struct cmsghdr and CMSG_DATA.
6292 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6294         * manual/nss.texi (NSS Modules Interface): Adjust function return
6295         type to enum nss_status.  Document errnop argument.  Clarify
6296         h_errnop semantics.  Fix cross-reference formatting.
6297         (NSS Module Function Internals): Mention that *errnop needs to be
6298         set on failure, but not to zero.
6300 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6302         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6303         (get_random_name): New functions.
6304         (check_wrapper_flags_mode): Use linkat to give the new file a name
6305         determined by get_random_name.
6306         (do_test): Add calls to test open64 and openat64.
6308 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6310         * test-skeleton.c: Remove #include <stdarg.h>.
6312 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
6314         [BZ #19826]
6315         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6316         initialization of static TLS entries.
6317         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6318         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6320 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6322         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6323         _hurd_malloc_fork_prepare.
6324         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6325         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6326         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6327         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6328         (_hurd_fork_child_hook): Drop malloc_fork_child.
6329         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6330         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6331         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6332         after locking locks (notably hurd_dtable_lock). Call
6333         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6334         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6335         __malloc_fork_unlock_child.
6336         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6338 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
6340         * soft-fp/extendhftf2.c: New.
6341         * soft-fp/fixhfti.c: Likewise.
6342         * soft-fp/fixunshfti.c: Likewise.
6343         * soft-fp/floattihf.c: Likewise.
6344         * soft-fp/floatuntihf.c: Likewise.
6345         * soft-fp/half.h: Likewise.
6346         * soft-fp/trunctfhf2.c: Likewise.
6348 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
6350         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6351         macro.
6352         * math/libm-test.inc (issubnormal_test_data): New array.
6353         (issubnormal_test): New function.
6354         * manual/arith.texi (Floating Point Classes): Document
6355         issubnormal.
6356         * manual/libm-err-tab.pl: Update comment on interfaces without
6357         ulps tabulated.
6359         * sysdeps/generic/stdint.h: Define
6360         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6361         <bits/libc-header-start.h> instead of including <features.h>.
6362         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6363         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6364         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6365         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6367         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6368         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6369         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6370         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6372         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6373         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6374         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6375         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6376         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6377         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6378         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6379         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6380         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6381         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6382         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6383         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6384         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6385         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6386         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6387         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6388         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6390         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6394         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6395         * manual/arith.texi (Integers): Document these macros for types
6396         specified by width properties.
6397         * manual/lang.texi (Width of Type): Document these macros for
6398         other standard typedefs.
6399         * stdlib/tst-width-stdint.c: New file.
6400         * stdlib/Makefile (tests): Add tst-width-stdint.
6402 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6404         [BZ #20016]
6405         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6406         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6407         Move ...
6408         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6409         ... here, as compatibility symbols in a new file.
6410         * resolv/Makefile (libresolv-routines): Add compat-hooks.
6411         * resolv/res_init.c (__res_vinit): Adjust member names.
6412         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6413         * resolv/resolv.h (res_sendhookact, res_send_qhook)
6414         (res_send_rhook): Remove.
6415         (struct __res_state): Rename qhook, rhook members.
6417 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6419         malloc: Use __libc_lock wrappers.
6420         * malloc/arena.c (list_lock, free_list_lock): Define using
6421         __libc_lock_define_initialized.
6422         (arena_lock): Adjust formatting.
6423         * malloc/malloc.c (struct malloc_state): Define mutex using
6424         __libc_lock_define.
6425         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6426         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6427         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6428         (mutex_unlock, mutex_trylock): Remove.
6429         (__pthread_initialize): Remove unused macro.
6430         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6431         (mutex_unlock, mutex_trylock): Remove.
6433 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6435         [BZ #20592]
6436         Remove RR type classification macros.
6437         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6438         (ns_t_udp_p, ns_t_xfr_p): Remove.
6440 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6442         Remove misleading version information.
6443         * resolv/arpa/nameser.h (__NAMESER): Remove.
6444         * resolv/arpa/nameser_compat.h (__BIND): Remove.
6446 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6448         Remove the always-defined BIND_4_COMPAT macro.
6449         * resolv/arpa/nameser.h: Unconditionally include
6450         <arpa/nameser_compat.h>.
6451         (BIND_4_COMPAT): Remove.
6452         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6454 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6456         [BZ #20591]
6457         Remove obsolete DNSSEC support.
6458         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6459         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6460         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6461         (ns_verify_tcp, ns_verify_tcp_init): Remove.
6462         (ns_cert_types): Add comment.
6463         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6464         separately.
6465         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6466         (dst_s_dns_key_id): Remove.
6467         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6468         variables.
6470 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6472         [BZ #20524]
6473         * manual/string.texi (String/Array Comparison): Clarify the
6474         strverscmp behavior.
6476 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6478         * test-skeleton.c (xasprintf): Add function.
6479         * io/tst-open-tmpfile.c: New test.
6480         * io/Makefile (tests): Add it.
6482 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6484         Avoid running $(CXX) during build to obtain header file paths.
6485         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6486         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6487         * Makerules (cstdlib, cmath): Remove variables.  Use
6488         $(c++-cstdlib-header), $(c++-cmath-header) instead.
6489         * configure: Regenerate.
6491 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6493         * Makeconfig (all-object-suffixes): Include .op only if
6494         $(build-profile).
6496 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6498         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6499         conditionals.  Do not define PATH_MAX.
6501 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6503         * posix/Makefile (tests): Add tst-spawn3.
6504         * posix/tst-spawn3.c: New file.
6505         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6506         if it is already opened for open action.
6508         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6509         all signals when executing the clone vfork child.
6510         (SIGALL_SET): Remove macro.
6512         * nptl/Makefile (tests): Add tst-exec5.
6513         * nptl/tst-exec5.c: New file.
6514         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6515         asynchronous cancellation.
6517 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6519         * hurd/exc2signal.c: #include <hurd/signal.h>
6520         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6521         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
6522         accordingly.
6523         * mach/mach_error.c (mach_error): Fix old-style function definition.
6524         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6526 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6528         * math/Makefile (libm-calls): Remove s_nanF.
6529         (gen-libm-calls): Add s_nanF.
6531         * math/s_nan.c: Refactor into ...
6532         * math/s_nan_template.c: New file.
6534         * math/s_nanf.c: Removed.
6535         * math/s_nanl.c: Removed.
6536         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6537         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6539         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6540         (LDOUBLE_nanl_libm_version): New macro.
6542         * sysdeps/generic/math-type-macros-double.h:
6543         (M_STRTO_NAN): New macro.
6544         * sysdeps/generic/math-type-macros-float.h: Likewise.
6545         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6547         * sysdeps/generic/math-type-macros.h: Document
6548         M_STRTO_NAN.
6550 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6552         * math/s_nanf.c: Remove __nanf undef.
6553         * math/s_nan.c: Remove __nan undef.
6554         * math/s_nanl.c: Remove __nanl undef.
6556         * sysdeps/generic/math_private.h (__nan): Remove macro
6557         override.
6558         (__nanf): Likewise.
6559         (__nanl): Likewise.
6561 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6563         * math/Makefile (gen-all-calls): New variable.
6564         (generated): Replace gen-libm-calls with gen-all-calls.
6565         (gen-libm-templates.stmp): Likewise.  Also, ensure
6566         the output directory exists or is created and add
6567         dependency on the Makefile.
6568         (calls): Move s_ldexpF into gen-calls.
6569         (gen-calls): New variable.
6571         * math/s_ldexpf.c: Removed.
6572         * math/s_ldexpl.c: Removed.
6573         * math/s_ldexp.c: Refactored into ...
6574         * math/s_ldexp_template.c: New file.
6576         * sysdeps/generic/math-type-macros-double.h: Remove
6577         redundant fall-through definition of declare_mgen_alias.
6578         (declare_mgen_alias_2): New macro.
6580         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6581         New macro for function aliased to two exported symbols.
6583         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6584         new template file.
6585         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6587 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6589         * Makeconfig (all-object-suffixes): Remove .og.
6590         * Makerules (elide-routines.og): Remove.
6591         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6592         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6593         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6595 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6597         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6598         .os objects.
6600 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6602         [BZ #20615]
6603         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6604         fpu directory by non-fpu.
6605         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6606         on non-fpu directory from a fpu directory.
6608 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
6610         * include/limits.h: Define
6611         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6612         <bits/libc-header-start.h> instead of including <features.h>.
6613         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6614         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6615         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6616         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6617         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6618         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6619         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6620         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6621         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6622         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6624         * manual/lang.texi (Width of Type): Document these macros.
6625         * stdlib/tst-width.c: New file.
6626         * stdlib/Makefile (tests): Add tst-width.
6628 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6630         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6631         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6633 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6635         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6636         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6637         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6639 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6641         [BZ #18243]
6642         * rt/Makefile (test): Add tst-shm-cancel.
6643         * rt/tst-shm-cancel.c: New file.
6644         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6646         [BZ #18243]
6647         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6648         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6649         definition.
6650         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6651         uncontended case.
6652         * nptl/sem_wait.c (__new_sem_wait): Likewise.
6653         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6654         (tf): Fix check for uncontended case.
6655         (do_test): Likewise.
6656         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6657         (tf): Fix check for uncontended case.
6658         (do_test): Likewise.
6659         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6660         (tf): Fix check for uncontended case.
6661         (do_test): Likewise.
6662         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6663         (tf): Fix check for uncontended case.
6664         (do_test): Likewise.
6666         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6667         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6669         [BZ #15765]
6670         * nptl/Makefile (tests): Add tst-sem16.
6671         * nptl/tst-sem16.c: New file.
6672         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6674         * nptl/sem_open.c (sem_open): Init pad value to 0.
6675         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6676         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6678 2016-09-15  Florian Weimer  <fweimer@redhat.com>
6680         [BZ #20611]
6681         * inet/Makefile (routines): Add inet6_scopeid_pton.
6682         (tests): Add tst-inet6_scopeid_pton.
6683         * inet/inet6_scopeid_pton.c: New file.
6684         * inet/net-internal.h: Likewise.
6685         * inet/tst-inet6_scopeid_pton.c: New test.
6686         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6687         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6690 2016-09-14  Florian Weimer  <fweimer@redhat.com>
6692         Remove support for compiling wrappers with PTW.
6693         * sysdeps/nptl/Makeconfig: Drop ptw- support.
6694         * nptl/Makefile (pthread-compat-wrappers): Define.
6695         (libpthread-routines): Use pthread-compat-wrappers.
6696         * sysdeps/unix/sysv/linux/alpha/Makefile
6697         (libpthread-routines, libpthread-shared-only-routines): Remove
6698         ptw- prefix.
6699         * sysdeps/s390/nptl/Makefile
6700         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6701         * sysdeps/ia64/nptl/Makefile
6702         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6703         * sysdeps/nacl/Makefile (libpthread-routines): Use
6704         pthread-compat-wrappers to filter the routines list instead of the
6705         ptw- prefix.
6707 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6709         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6710         with L() and remove explicit suffix, convert real literals
6711         which can be equivalentally substituted with integers, and
6712         transform -L(x) to L(-x).
6714         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6715         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6716         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6717         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6718         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6719         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6720         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6721         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6722         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6723         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6724         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6725         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6726         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6727         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6728         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6729         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6730         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6731         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6732         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6733         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6734         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6735         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6736         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6737         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6738         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6739         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6740         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6741         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6742         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6743         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6744         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6745         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6746         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6747         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6748         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6749         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6750         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6751         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6752         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6753         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6754         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6755         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6756         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6757         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6758         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6759         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6760         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6761         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6762         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6763         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6765 2016-09-13  Florian Weimer  <fweimer@redhat.com>
6767         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6769 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6771         * malloc/Makefile (tests): Remove individual static test names
6772         and just add all of tests-static.
6774         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6776 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
6778         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6779         file.
6781         * sysdeps/sparc/fpu/fegetmode.c: New file.
6782         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6784         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6785         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6787         * sysdeps/s390/fpu/fegetmode.c: New file.
6788         * sysdeps/s390/fpu/fesetmode.c: Likewise.
6790         * sysdeps/powerpc/fpu/fegetmode.c: New file.
6791         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6792         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6793         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6794         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6795         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6797         * sysdeps/mips/fpu/fegetmode.c: New file.
6798         * sysdeps/mips/fpu/fesetmode.c: Likewise.
6800         * sysdeps/m68k/fpu/fegetmode.c: New file.
6801         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6803         * sysdeps/ia64/fpu/fegetmode.c: New file.
6804         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6806         * sysdeps/hppa/fpu/fegetmode.c: New file.
6807         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6809         * sysdeps/arm/fegetmode.c: New file.
6810         * sysdeps/arm/fesetmode.c: Likewise.
6812         * sysdeps/alpha/fpu/fegetmode.c: New file.
6813         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6815         * sysdeps/aarch64/fpu/fegetmode.c: New file.
6816         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6818         * math/fegetmode.c: New file.
6819         * math/fesetmode.c: Likewise.
6820         * sysdeps/i386/fpu/fegetmode.c: Likewise.
6821         * sysdeps/i386/fpu/fesetmode.c: Likewise.
6822         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6823         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6824         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6826         declaration.
6827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6828         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6829         typedef.
6830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6831         * sysdeps/aarch64/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/alpha/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/arm/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/hppa/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         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6844         (femode_t): New typedef.
6845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6846         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6847         (femode_t): New typedef.
6848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6849         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6850         (femode_t): New typedef.
6851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6852         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6853         (femode_t): New typedef.
6854         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6855         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6856         (femode_t): New typedef.
6857         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6858         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6859         (femode_t): New typedef.
6860         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6861         declaration.
6862         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6863         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6864         (femode_t): New typedef.
6865         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6866         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6867         (femode_t): New typedef.
6868         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6869         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6870         (femode_t): New typedef.
6871         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6872         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6873         (femode_t): New typedef.
6874         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6875         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6876         (femode_t): New typedef.
6877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6878         * manual/arith.texi (FE_DFL_MODE): Document macro.
6879         (fegetmode): Document function.
6880         (fesetmode): Likewise.
6881         * math/Versions (fegetmode): New libm symbol at version
6882         GLIBC_2.25.
6883         (fesetmode): Likewise.
6884         * math/Makefile (libm-support): Add fegetmode and fesetmode.
6885         (tests): Add test-femode and test-femode-traps.
6886         * math/test-femode-traps.c: New file.
6887         * math/test-femode.c: Likewise.
6888         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6889         alias for __fe_dfl_env.
6890         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6891         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6892         (__fe_dfl_mode): Likewise.
6893         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6894         version GLIBC_2.25.
6895         * sysdeps/nacl/libm.abilist: Update.
6896         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6897         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6898         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6899         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6900         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6901         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6902         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6903         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6904         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6905         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6906         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6909         Likewise.
6910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6913         Likewise.
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6915         Likewise.
6916         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6922         Likewise.
6923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6924         Likewise.
6925         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6926         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6929 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6931         [BZ #20495]
6932         [BZ #20508]
6933         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6934         processors, set Use_dl_runtime_resolve_slow and set
6935         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6936         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6937         New.
6938         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6939         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6940         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6941         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6942         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6943         if Use_dl_runtime_resolve_opt is set.  Use
6944         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6945         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6946         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6947         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6948         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6949         New.
6950         (_dl_runtime_resolve_opt): Likewise.
6951         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6952         defined.
6954 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6956         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6957         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6959 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6961         Convert malloc to __libc_lock.  Automated part, using this Perl
6962         s/// command:
6963           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6964             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6965         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6966         conversion.
6968 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6970         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6971         (linknamespace-symlists-tests): Likewise.
6972         (linknamespace-header-tests): Likewise.
6974 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6976         [BZ #19810]
6977         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6978         * elf/tst-noload.c: New test case.
6979         * elf/Makefile (tests): Add tst-noload.
6981 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6983         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6985         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6986         not any more.
6988         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6990 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6992         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6993         (do_cos_slow): Likewise.
6994         (do_sin): Likewise.
6995         (do_sin_slow): Likewise.
6996         (slow): Likewise.
6997         (slow1): Likewise.
6998         (slow2): Likewise.
6999         (sloww): Likewise.
7000         (sloww1): Likewise.
7001         (sloww2): Likewise.
7002         (bsloww): Likewise.
7003         (bsloww1): Likewise.
7004         (bsloww2): Likewise.
7005         (cslow2): Likewise.
7007         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
7009         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
7010         arguments.  Consolidate input partitioning from callers here.
7011         (do_cos_slow): Likewise.
7012         (do_sin): Likewise.
7013         (do_sin_slow): Likewise.
7014         (do_sincos_1): Remove the no longer necessary input partitioning.
7015         (do_sincos_2): Likewise.
7016         (__sin): Likewise.
7017         (__cos): Likewise.
7018         (slow1): Likewise.
7019         (slow2): Likewise.
7020         (sloww1): Likewise.
7021         (sloww2): Likewise.
7022         (bsloww1): Likewise.
7023         (bsloww2): Likewise.
7024         (cslow2): Likewise.
7026 2016-09-02  Florian Weimer  <fweimer@redhat.com>
7028         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
7029         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
7030         outside of allocated array.
7032 2016-09-02  Florian Weimer  <fweimer@redhat.com>
7034         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
7035         instead of MB_CUR_MAX to avoid variable-length array.
7037 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7039         * math/Makefile (libm-calls): Remove k_rem_pio2F.
7040         (type-double-routines): Add k_rem_pio2.
7041         (type-float-routines): Add k_rem_pio2f.
7043         * sysdeps/generic/math_private.h:
7044         (__kernel_rem_pio2l): Removed.
7046         * math/k_rem_pio2l.c: Removed.
7047         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
7048         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
7049         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
7050         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
7052 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7054         * math/Makefile (gen-libm-calls): Add s_fmin
7055         (libm-calls): Remove above.
7057         * math/s_fmin.c: Refactor into ...
7058         * math/s_fmin_template.c: New file.
7060         * math/s_fminf.c: Removed.
7061         * math/s_fminl.c: Removed.
7062         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7063         (LDOUBLE_fmin_libm_version): New macro.
7065         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
7066         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
7068 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7070         * math/Makefile: (gen-libm-calls): Add s_fmax.
7071         (libm-calls): Remove above.
7073         * math/s_fmax.c: Refactor into ...
7074         * math/s_fmax_template.c: New file.
7075         * math/s_fmaxf.c: Removed.
7076         * math/s_fmaxl.c: Removed.
7078         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7079         (LDOUBLE_fmaxl_libm_version): New macro.
7081         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
7082         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
7084         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
7085         s_fmin.c to pick the aarch64 version of the file.
7086         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
7087         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
7089 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7091         * math/Makefile: (gen-libm-calls): Add s_nextdown.
7092         (libm-calls): Remove above.
7094         * math/s_nextdown.c: Refactor into ...
7095         * math/s_nextdown_template.c: New file.
7096         * math/s_nextdownf.c: Removed.
7097         * math/s_nextdownl.c: Removed.
7099         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
7101 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7103         * math/Makefile (gen-libm-calls): Add s_fdim.
7104         (libm-calls): Move to above.
7106         * math/s_fdim.c: Renamed and refactored into to ...
7107         * math/s_fdim_template.c: New file.
7108         * math/s_fdiml.c: Removed.
7109         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
7110         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
7112         * sysdeps/generic/math-type-macros-double.h:
7113         (declare_mgen_alias): Don't declare if already declared.
7114         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7115         Likewise.
7117         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7118         (declare_mgen_alias): Don't declare if already declared.
7119         (M_LIBM_NEED_COMPAT): Likewise.
7120         (declare_mgen_libm_compat): Likewise.
7121         (LDOUBLE_fdiml_libm_version): New macro.
7123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7124         Include math/s_fdim.c now that ldbl-opt version is not needed.
7125         (declare_mgen_alias): New macro to disable aliasing.
7127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7128         (declare_mgen_alias): Likewise.
7129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7130         (declare_mgen_alias): Likewise.
7131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7132         (declare_mgen_alias): Likewise.
7133         (M_LIBM_NEED_COMPAT): Likewise.
7135 2016-09-01  Florian Weimer  <fweimer@redhat.com>
7137         [BZ #20525]
7138         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7139         Include <linux/quota.h>.
7140         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7141         and btodb.
7142         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7143         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7144         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7145         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7146         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7147         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7148         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7149         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7150         types.
7151         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7152         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7154 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7156         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7157         (gammal_positive): Fix spacing.
7158         (__ieee754_gammal_r): Likewise.
7160 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7162         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7163         (_Float128): Define as long double, always.
7164         (L): Apply long double type suffix, always.
7166         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7167         _Float128, excepting comments.
7169         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7170         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7171         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7172         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7173         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7174         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7175         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7176         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7177         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7178         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7179         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7180         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7181         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7182         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7183         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7184         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7185         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7186         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7187         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7188         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7189         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7190         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7191         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7192         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7193         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7194         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7195         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7196         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7197         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7198         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7199         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7200         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7201         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7202         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7203         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7204         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7205         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7206         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7207         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7208         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7209         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7210         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7211         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7212         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7213         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7214         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7215         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7216         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7217         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7218         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7219         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7220         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7221         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7222         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7223         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7224         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7225         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7226         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7227         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7228         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7229         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7230         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7231         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7232         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7233         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7234         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7235         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7236         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7238         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7239         _Float128, and include math_private.h.
7240         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7242         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7243         long double semantics.
7244         (_Float128): Likewise.
7245         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7246         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7247         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7248         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7250 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7252         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7253         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7254         * sysdeps/s390/configure: Regenerated.
7255         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7256         instruction for raising over-/underflow if z196 zarch is supported
7257         by default.
7258         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7260 2016-08-30  Svante Signell  <svante.signell@gmail.com>
7262         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7263         it point to a dumb buffer for RPC to fill it.
7265 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7267         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7268         instead of if/else.
7269         (do_sin_slow): Likewise.
7270         (do_sincos_1): Use fabs instead of if/else.
7271         (do_sincos_2): Likewise.
7272         (__sin): Likewise.
7273         (__cos): Likewise.
7274         (slow2): Likewise.
7275         (sloww): Likewise.
7276         (sloww1): Likewise.  Drop argument M.
7277         (sloww2): Use fabs instead of if/else.
7278         (bsloww): Likewise.
7279         (bsloww1): Likewise.
7280         (bsloww2): Likewise.
7282         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7283         fall through comment.
7284         (do_sincos_1): Likewise.
7286         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7287         Consolidate switch cases 0 and 2.
7289 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7291         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7292         (libm-calls): Remove the above.
7294         * math/s_cexp_template.c: Update using type-generic macros.
7295         * math/s_clog10_template.c: Likewise.
7296         * math/s_cpow_template.c: Likewise.
7297         * math/s_clog_template.c: Likewise.
7298         * math/s_cproj_template.c: Likewise.
7299         * math/s_csqrt_template.c: Likewise.
7301         * math/s_cexp.c: Removed.
7302         * math/s_cexpf.c: Removed.
7303         * math/s_cexpl.c: Removed.
7304         * math/s_clog10.c: Removed.
7305         * math/s_clog10f.c: Removed.
7306         * math/s_clog10l.c: Removed.
7307         * math/s_cpow.c: Removed.
7308         * math/s_cpowf.c: Removed.
7309         * math/s_cpowl.c: Removed.
7310         * math/s_clog.c: Removed.
7311         * math/s_clogf.c: Removed.
7312         * math/s_clogl.c: Removed.
7313         * math/s_cproj.c: Removed.
7314         * math/s_cprojf.c: Removed.
7315         * math/s_cprojl.c: Removed.
7316         * math/s_csqrt.c: Removed.
7317         * math/s_csqrtf.c: Removed.
7318         * math/s_csqrtl.c: Removed.
7320         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7321         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7322         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7323         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7324         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7325         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7327         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7328         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7329         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7330         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7331         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7332         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7333         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7334         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7335         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7336         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7337         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7339         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7340         version.
7342         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7343         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7344         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7345         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7347 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7349         * s_cexp_template.c: Copy of s_cexp.c.
7350         * s_clog_template.c: Copy of s_clog.c.
7351         * s_clog10_template.c: Copy of s_clog10.c.
7352         * s_cpow_template.c: Copy of s_cpow.c.
7353         * s_cproj_template.c: Copy of s_cproj.c.
7354         * s_csqrt_template.c: Copy of s_csqrt.c.
7356 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7358         [BZ #20517]
7359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7360         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7361         exported.
7363 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
7365         * math/fetestexceptflag.c: New file.
7366         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
7367         Stefan Liebler.
7368         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7369         (fetestexceptflag): New function declaration.
7370         * manual/arith.texi (fetestexceptflag): Document function.
7371         * math/Versions (fetestexceptflag): New libm symbol at version
7372         GLIBC_2.25.
7373         * math/Makefile (libm-support): Add fetestexceptflag.
7374         (tests): Add test-fetestexceptflag.
7375         * math/test-fetestexceptflag.c: New file.
7376         * sysdeps/nacl/libm.abilist: Update.
7377         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7378         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7379         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7380         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7381         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7382         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7383         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7384         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7385         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7386         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7387         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7388         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7390         Likewise.
7391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7392         Likewise.
7393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7394         Likewise.
7395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7396         Likewise.
7397         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7398         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7399         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7400         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7401         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7403         Likewise.
7404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7405         Likewise.
7406         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7407         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7408         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7410 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7412         [BZ #20432]
7413         Avoid strong references to malloc-internal symbols when linking
7414         statically, to support statically interposed mallocs.
7415         * include/libc-symbols.h (call_function_static_weak): New macro.
7416         * malloc/Makefile (tests): Add tst-interpose-nothread,
7417         tst-interpose-thread, tst-interpose-static-nothread,
7418         tst-interpose-static-thread.
7419         (tests-static): Add tst-interpose-static-nothread,
7420         tst-interpose-static-thread.
7421         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7422         tst-interpose-aux-thread.o.
7423         (test-extras): Add tst-interpose-aux-nothread,
7424         tst-interpose-aux-thread.
7425         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7426         tst-interpose-aux-nothread.o.
7427         (tst-interpose-thread, tst-interpose-static-thread): Link with
7428         tst-interpose-aux-thread.o and libthread.
7429         * malloc/tst-interpose-aux-nothread.c: New file.
7430         * malloc/tst-interpose-aux-thread.c: Likewise.
7431         * malloc/tst-interpose-aux.c: Likewise.
7432         * malloc/tst-interpose-aux.h: Likewise.
7433         * malloc/tst-interpose-nothread.c: Likewise.
7434         * malloc/tst-interpose-skeleton.c: Likewise.
7435         * malloc/tst-interpose-static-nothread.c: Likewise.
7436         * malloc/tst-interpose-static-thread.c: Likewise.
7437         * malloc/tst-interpose-thread.c: Likewise.
7438         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7439         * sysdeps/mach/hurd/fork.c (__fork): Only call
7440         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7441         __malloc_fork_unlock_child if defined.
7442         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7444 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7446         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7447         timespec C99 designated initialization.
7449 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7451         [BZ #19946]
7452         Avoid expected SIGALRM signals.
7453         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7454         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7455         (xpthread_create, xpthread_detach, xpthread_join)
7456         (delayed_exit_thread, delayed_exit): New functions.
7457         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7458         (tf): Use xpthread_cond_wait.
7459         (do_test): Likewise.  Replace alarm with delayed_exit.
7460         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7461         (do_test): Call delayed_exit.  Report failure.
7462         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7463         (do_test): Call delayed_exit.
7464         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7465         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
7466         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7467         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
7468         error.
7469         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7470         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
7471         error.
7472         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7473         (do_test): Call delayed_exit.
7474         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7475         (do_test): Call delayed_exit.
7476         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7477         (do_test): Call delayed_exit instead of alarm.  Use
7478         xpthread_mutex_lock.
7479         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7480         (do_test): Call delayed_exit instead of alarm.  Use
7481         xpthread_mutex_lock.
7482         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7483         (do_test): Call delayed_exit instead of alarm.
7484         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7485         (do_test): Call delayed_exit instead of alarm.  Use
7486         xpthread_spin_lock.
7487         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7488         (do_test): Call delayed_exit instead of alarm.  Use
7489         xpthread_join.
7491 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7493         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7494         adjust CFA when allocating register save area on re-aligned
7495         stack.
7497 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7499         * string/tst-cmp.c: New test.
7500         * string/Makefile (tests): Add it.
7502 2016-08-25  Mark Wielaard  <mark@klomp.org>
7504         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7505         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
7506         (check_tree_recurse): Use newly defined accessors.
7507         (check_tree): Likewise.
7508         (maybe_split_for_insert): Likewise.
7509         (__tfind): Likewise.
7510         (__tdelete): Likewise.
7511         (trecurse): Likewise.
7512         (tdestroy_recurse): Likewise.
7513         (__tsearch): Likewise. And add asserts for malloc alignment.
7514         (__twalk): Cast root to node in case CHECK_TREE is defined.
7516 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7518         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7520 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7522         * math/Makefile (libm-gen-calls): Add
7523         catan, catanh, ctan, ctanh.
7524         (libm-calls): Remove the above.
7526         * math/s_catan_template.c: Update using type-generic macros.
7527         * math/s_catanh_template.c: Likewise.
7528         * math/s_ctan_template.c: Likewise.
7529         * math/s_ctanh_template.c: Likewise.
7531         * math/s_catanf.c: Removed.
7532         * math/s_catan.c: Removed.
7533         * math/s_catanl.c: Removed.
7534         * math/s_catanhf.c: Removed.
7535         * math/s_catanh.c: Removed.
7536         * math/s_catanhl.c: Removed.
7537         * math/s_ctanf.c: Removed.
7538         * math/s_ctan.c: Removed.
7539         * math/s_ctanl.c: Removed.
7540         * math/s_ctanhf.c: Removed.
7541         * math/s_ctanh.c: Removed.
7542         * math/s_ctanhl.c: Removed.
7544         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7545         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7546         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7547         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7548         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7549         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7551         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7552         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7553         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7554         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7556 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7558         * s_catan_template.c: Copy of s_catan.c.
7559         * s_catanh_template.c: Copy of s_catanh.c.
7560         * s_ctan_template.c: Copy of s_ctan.c.
7561         * s_ctanh_template.c: Copy of s_ctanh.c.
7563 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7565         * math/Makefile (gen-libm-calls): Move
7566         casin, casinh, csin, csinh here.
7567         (libm-calls): Remove the above.
7569         * math/s_casin_template.c: Update using type-generic macros.
7570         * math/s_casinh_template.c: Likewise.
7571         * math/s_csin_template.c: Likewise.
7572         * math/s_csinh_template.c: Likewise.
7573         * math/k_casinh_template.c: Likewise.
7575         * math/s_casinf.c: Removed.
7576         * math/s_casin.c: Removed.
7577         * math/s_casinl.c: Removed.
7578         * math/s_casinh.c: Removed.
7579         * math/s_casinhf.c: Removed.
7580         * math/s_casinhl.c: Removed.
7581         * math/s_csin.c: Removed.
7582         * math/s_csinf.c: Removed.
7583         * math/s_csinl.c: Removed.
7584         * math/s_csinh.c: Removed.
7585         * math/s_csinhf.c: Removed.
7586         * math/s_csinhl.c: Removed.
7587         * math/k_casinh.c: Removed.
7588         * math/k_casinhf.c: Removed.
7589         * math/k_casinhl.c: Removed.
7591         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7592         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7593         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7594         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7596         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7597         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7598         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7599         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7600         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7601         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7602         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7603         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7605         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7606         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7607         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7608         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7610         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7611         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7612         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7613         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7615 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7617         * s_casin_template.c: Copy of s_casin.c.
7618         * s_casinh_template.c: Copy of s_casinh.c.
7619         * s_csin_template.c: Copy of s_csin.c.
7620         * s_csinh_template.c: Copy of s_csinh.c.
7621         * k_casinh_template.c: Copy of k_casinh.c.
7623 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7625         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7627 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7629         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7630         (mul_split) Remove, rename as mul_splitl, remove
7631         redundant float.h include, and include via mul_splitl.h
7633         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7634         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7635         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7636         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7637         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7639         * math/mul_splitl.h: New file.
7641         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7642         Move into mul_split.h, and remove redundant float.h include.
7644         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7645         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7646         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7647         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7649         * math/mul_split.h: New file.
7651 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7653         * math/Makefile (libm-gen-calls): Move
7654         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7655         (libm-calls): Remove above.
7657         * math/s_cacos_template.c: Update using type-generic macros.
7658         * math/s_cacosh_template.c: Likewise.
7659         * math/s_ccos_template.c: Likewise.
7660         * math/s_ccosh_template.c: Likewise.
7662         * math/s_cacosf.c: Removed.
7663         * math/s_cacos.c: Removed.
7664         * math/s_cacosl.c: Removed.
7665         * math/s_cacoshf.c: Removed.
7666         * math/s_cacosh.c: Removed.
7667         * math/s_cacoshl.c: Removed.
7668         * math/s_ccosf.c: Removed.
7669         * math/s_ccos.c: Removed.
7670         * math/s_ccosl.c: Removed.
7671         * math/s_ccoshf.c: Removed.
7672         * math/s_ccosh.c: Removed.
7673         * math/s_ccoshl.c: Removed.
7675         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7676         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7677         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7678         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7679         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7680         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7682         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7683         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7684         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7685         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7687         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7688         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7689         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7690         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7692 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7694         * s_cacos_template.c: Copy of s_cacos.c.
7695         * s_cacosh_template.c: Copy of s_cacosh.c.
7696         * s_ccos_template.c: Copy of s_ccos.c.
7697         * s_ccosh_template.c: Copy of s_ccosh.c.
7699 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7701         * stdlib/tst-strtod-round-skeleton.c:
7702         Refactored from tst-strtod-round.c.
7704         (L_): New macro to apply literal modifier.
7705         (FNPFX): New macro to select str or wcs prefix.
7706         (CHAR): New macro to choose wchar_t or char.
7707         (STRM): New macro to choose printf for tested character type.
7709         (STRTO): New macro to choose appropriate string -> real function.
7710         (FNPFXS): Stringitized version of FNPFX.
7711         (STR): Support for above macro.
7712         (STRX): Likewise.
7714         (TEST): Update with above macros.
7715         (test): Likewise.
7716         (GEN_ONE_TEST): Likewise.
7717         (test_in_one_mode): Likewise.
7719         * stdlib/tst-strtod-round.c: New file.
7720         * wcsmbs/tst-wcstod-round.c: New file.
7722         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7723         (tst-wcstod-round): Add libm depencency for fesetround.
7725 2016-08-19  Zack Weinberg  <zackw@panix.com>
7727         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7729 2016-08-18  Torvald Riegel  <triegel@redhat.com>
7731         [BZ #20477]
7732         * resolv/res_hconf.c (do_init): Use atomic access.
7733         * resolv/res_hconf.h: Add comments.
7734         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7735         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7738 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7740         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7741         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7742         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7743         Likewise.
7745 2016-08-18  Florian Weimer  <fweimer@redhat.com>
7747         [BZ #16907]
7748         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7749         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7750         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7751         (__attribute__): Remove definition.
7753 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7755         * sysdeps/ieee754/ldbl-128/e_asinl.c:
7756         Remove unused sqrtl declaration.
7758 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7760         * math/Makefile: (gen-libm-templates.stmp): New rule.
7761         (libm-calls): Move carg conj cimag and cabs into ...
7762         (gen-libm-calls): New variable.
7763         (generated): Inform Make objects from gen-libm-calls
7764         may be generated.
7766         * sysdeps/generic/math-type-macros.h: New file.
7767         * sysdeps/generic/math-type-macros-float.h: Likewise.
7768         * sysdeps/generic/math-type-macros-double.h: Likewise.
7769         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7770         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7771         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7773         * math/cabs.c: Refactor into
7774         * math/cabs_template.c: new file.
7775         * math/cabsf.c: Removed.
7776         * math/cabsl.c: Removed.
7777         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7778         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7780         * math/carg.c: Refactor into
7781         * math/carg_template.c: new file.
7782         * math/cargf.c: Removed.
7783         * math/cargl.c: Removed.
7784         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7785         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7787         * math/conj.c: Refactor into
7788         * math/conj_template.c: new file.
7789         * math/conjf.c: Removed.
7790         * math/conjl.c: Removed.
7791         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7792         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7794         * math/cimag.c: Refactor into
7795         * math/cimag_template.c: new file.
7796         * math/cimagf.c: Removed.
7797         * math/cimagl.c: Removed.
7798         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7799         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7801         * math/cimag.c: Refactor into
7802         * math/cimag_template.c: new file.
7803         * math/cimagf.c: Removed.
7804         * math/cimagl.c: Removed.
7805         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7806         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7808 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7810         Reduce time to expected nptl/tst-once5 failure.
7811         * nptl/tst-once5.cc (TIMEOUT): Define.
7813 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7815         [BZ #20452]
7816         Avoid additional copies of objects in libc.a in static libraries.
7817         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7818         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7819         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7820         rt-sysdep.
7821         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7822         Add nptl-sysdep.
7823         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7824         Add ptw-sysdep.
7825         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7826         rt-sysdep.
7827         * sysdeps/unix/sysv/linux/alpha/Makefile
7828         (libpthread-shared-only-routines): Add ptw-sysdep,
7829         ptw-sigprocmask, ptw-rt_sigaction.
7830         * sysdeps/unix/sysv/linux/ia64/Makefile
7831         (librt-shared-only-routines): Add rt-sysdep.
7832         * sysdeps/unix/sysv/linux/i386/Makefile
7833         (libpthread-shared-only-routines): Add libc-do-syscall.
7834         * sysdeps/unix/sysv/linux/microblaze/Makefile
7835         (libpthread-shared-only-routines): Add sysdep.
7836         * sysdeps/unix/sysv/linux/powerpc/Makefile
7837         (librt-shared-only-routines): Add rt-sysdep.
7838         (libpthread-shared-only-routines): Add sysdep.
7839         * sysdeps/unix/sysv/linux/s390/Makefile
7840         (librt-shared-only-routines): Add rt-sysdep.
7841         * sysdeps/unix/sysv/linux/sparc/Makefile
7842         (librt-shared-only-routines): Add rt-sysdep.
7843         (libpthread-shared-only-routines): Add sysdep.
7844         * sysdeps/unix/sysv/linux/tile/Makefile
7845         (libpthread-shared-only-routines): Likewise.
7847 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
7849         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7850         Mask implicit bit out of unpacked value.
7851         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7852         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7853         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7855         * sysdeps/sparc/fpu/fesetexcept.c: New file.
7857         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7859         * sysdeps/s390/fpu/fesetexcept.c: New file.
7861         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7862         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7863         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7865         * sysdeps/mips/fpu/fesetexcept.c: New file.
7867         * sysdeps/m68k/fpu/fesetexcept.c: New file.
7869         * sysdeps/ia64/fpu/fesetexcept.c: New file.
7871         * sysdeps/hppa/fpu/fesetexcept.c: New file.
7873         * sysdeps/arm/fesetexcept.c: New file.
7875         * sysdeps/alpha/fpu/fesetexcept.c: New file.
7877         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7879         * math/fesetexcept.c: New file.
7880         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7881         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7882         * math/fenv.h: Define
7883         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7884         <bits/libc-header-start.h> instead of including <features.h>.
7885         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7886         declaration.
7887         * manual/arith.texi (fesetexcept): Document function.
7888         * math/Versions (fesetexcept): New libm symbol at version
7889         GLIBC_2.25.
7890         * math/Makefile (libm-support): Add fesetexcept.
7891         (tests): Add test-fesetexcept and test-fesetexcept-traps.
7892         * math/test-fesetexcept.c: New file.
7893         * math/test-fesetexcept-traps.c: Likewise.
7894         * sysdeps/nacl/libm.abilist: Update.
7895         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7896         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7897         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7898         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7899         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7900         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7901         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7902         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7903         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7904         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7905         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7906         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7908         Likewise.
7909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7910         Likewise.
7911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7912         Likewise.
7913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7914         Likewise.
7915         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7916         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7917         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7918         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7919         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7921         Likewise.
7922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7923         Likewise.
7924         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7925         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7926         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7928 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7930         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7931         New.
7932         (do_test): Apply default_stack_size_in_mb if not set.
7933         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7935 2016-08-15  Andreas Schwab  <schwab@suse.de>
7937         [BZ #20435]
7938         CVE-2016-6323
7939         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7940         as .cantunwind.
7942 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7944         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7945         comment from fraiseexcpt.c.
7947         * math/test-fexcept.c (feraiseexcept_exact): New function.
7948         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7949         (test_except): Likewise.
7951 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7953         [BZ #20455]
7954         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7955         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7956         to be restored.
7958         * math/test-fexcept-traps.c: New file.
7959         * math/test-fexcept.c: Likewise.
7960         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7961         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7962         macro.
7963         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7964         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7966 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7968         * include/atomic.h (atomic_fetch_and_relaxed,
7969         atomic_fetch_and_release, atomic_fetch_or_release,
7970         atomic_fetch_xor_release): New.
7972 2016-08-06  Christian Seiler  <christian@iwakd.de>
7974         [BZ #20444]
7975         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7976         MACH_PORT_NULL.
7978 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7980         * math/s_fdim.c: Avoid alias renamed.
7981         * math/s_fdimf.c: Likewise.
7982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7983         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7984         Add s_fdimf-vis3, s_fdim-vis3.
7985         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7986         (CFLAGS-s_fdim-vis3.c): Likewise.
7987         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7988         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7990 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7993         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7994         Remove s_fdimf-vis3, s_fdim-vis3.
7995         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7996         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
8000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
8001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
8002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
8003         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
8004         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
8006 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
8008         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
8009         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
8010         -Wa,-Av9a -mvis.
8012 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8014         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
8015         LIT() to individual constants in simple expressions
8016         after splitting on spaces.
8017         (_apply_lit): Rename replaced version, and use it to
8018         apply to what appears to be a token.
8020         * math/libm-test.inc: Fix many, many issues with
8021         spacing.
8023 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
8025         * math/math.h: Move comment about <bits/mathdef.h> definitions
8026         above inclusion of <bits/mathdef.h>.  Do not mention
8027         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
8029 2016-08-05  Torvald Riegel  <triegel@redhat.com>
8031         * include/atomic.h (atomic_exchange_relaxed): New.
8033 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
8035         * math/e_scalb.c: Do not include <fenv.h>.
8036         (invalid_fn): Do calculation resulting in NaN instead of raising
8037         FE_INVALID and returning a NaN explicitly.
8038         * math/e_scalbf.c: Do not include <fenv.h>.
8039         (invalid_fn): Do calculation resulting in NaN instead of raising
8040         FE_INVALID and returning a NaN explicitly.
8041         * math/e_scalbl.c: Do not include <fenv.h>.
8042         (invalid_fn): Do calculation resulting in NaN instead of raising
8043         FE_INVALID and returning a NaN explicitly.
8045 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
8047         * po/de.po: Updated from Translation Project.
8048         * po/fi.po: Likewise.
8049         * po/sv.po: Likewise.
8051 2016-08-04  Florian Weimer  <fweimer@redhat.com>
8053         [BZ #20452]
8054         Use sysdep.o from libc.a in static libraries.
8055         * sysdeps/unix/sysv/linux/i386/Makefile
8056         (libpthread-shared-only-routines): Add sysdep.
8057         (librt-shared-only-routines): Likewise.
8059 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8061         * math/tgmath.h (nextdown): Define if
8062         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
8063         (nextup): Likewise.
8065         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
8066         macro.
8067         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8068         Document.
8069         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8070         Document macro.
8071         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
8072         (exp10f): Likewise.
8073         (exp10l): Likewise.
8074         * math/bits/mathcalls.h (exp10): Declare if
8075         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
8077         * manual/arith.texi (nextup): Fix typo in last change.
8079 2016-08-03  Zack Weinberg  <zackw@panix.com>
8081         [BZ #19239]
8082         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
8083         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
8084         define major, minor, and makedev to issue deprecation warnings on use.
8085         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
8086         previously-activated deprecation warnings for these macros and prevent
8087         subsequent inclusions of this header from having any effect.
8088         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
8089         including <sys/sysmacros.h>, and undefine it again afterward.
8091 2016-08-03  Zack Weinberg  <zackw@panix.com>
8093         * sysdeps/generic/sys/sysmacros.h: Delete file.
8094         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
8095         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
8096         * bits/sysmacros.h: ... here; this encoding is now the generic
8097         encoding.  Now defines only the following macros:
8098         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
8099         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
8100         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
8102         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
8103         bits/sysmacros.h and the above new macros to generate the
8104         public implementations of major, minor, and makedev.
8105         * misc/tst-makedev.c: New test.
8106         * include/sys/sysmacros.h: New wrapper.
8108         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
8109         (routines): Add makedev.
8110         (tests): Add tst-makedev.
8111         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
8112         gnu_dev_makedev.
8113         * posix/Makefile (headers): Remove sys/sysmacros.h.
8114         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8116         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8117         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8118         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8119         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8120         * sysdeps/unix/sysv/linux/arm/libc.abilist
8121         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8122         * sysdeps/unix/sysv/linux/i386/libc.abilist
8123         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8124         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8125         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8126         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8127         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8128         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8129         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8130         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8131         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8136         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8137         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8138         * sysdeps/unix/sysv/linux/sh/libc.abilist
8139         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8140         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8143         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8144         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8145         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8146         Add GLIBC_2.25.
8148         * include/features.h (__glibc_clang_prereq): New macro.
8149         * misc/sys/cdefs.h (__glibc_clang_has_extension)
8150         (__attribute_deprecated_msg__): New macros.
8152 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8154         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8155         macro.
8156         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8157         * manual/arith.texi (issignaling): Document as ISO from TS
8158         18661-1:2014.
8159         (nextup): Likewise.
8160         (nextupf): Likewise.
8161         (nextupl): Likewise.
8162         (nextdown): Likewise.
8163         (nextdownf): Likewise.
8164         (nextdownl): Likewise.
8165         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8166         macro.
8167         * math/math.h: Define
8168         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8169         <bits/libc-header-start.h> instead of including <features.h>.
8170         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8171         [__USE_GNU].
8172         * math/bits/mathcalls.h (nextdown): Declare if
8173         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8174         (nextup): Likewise.
8175         (__issignaling): Likewise.
8177 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8179         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8180         check, and remove __glibc_likely hint
8181         from FP_INFINITE check.
8182         * s_csinhf.c (__csinhf): Likewise.
8184         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8185         hint from FP_INFINITE check.
8186         * s_csinhl.c (__csinhl): Likewise.
8188 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8190         * math/Makefile (libm-calls): Insert F placeholder into
8191         object names.  Move w_lgamma_compat* routines into
8192         (libm-compat-calls): New variable.
8193         (libm-compat-calls-ldouble-yes): New variable.
8194         (calls): Insert F placeholder.
8195         (generated): Redefine using new type-foreach macro call.
8196         (routines): Likewise.
8198         (types): New variable to hold a list of symbolic names
8199         for each type supported by the target machine.
8200         (libm-routines): Redefine using new types variable.
8201         (type-foreach): macro to replace fooF with the
8202         appropriately suffixed foo for each types.
8204         (type-ldouble-suffix): New variable.
8205         (type-ldouble-routines): Likewise.
8206         (type-ldouble-yes): Likewise.
8207         (type-double-suffix): Likewise.
8208         (type-double-routines): Likewise.
8209         (type-float-suffix): Likewise.
8210         (type-float-routines): Likewise.
8212         (dbl-only-routines): Remove.
8213         (long-c-yes): Likewise.
8214         (long-m-routines): Likewise.
8215         (long-m-support): Likewise.
8216         (long-m-yes): Likewise.
8217         (test-longdouble-yes): Likewise.
8219         (test-float.o): Simplify by increasing the scope of the
8220         recipe which adds libm-test.stmp to the vector types.
8221         (test-ifloat.o): Likewise.
8222         (test-float-finite.o): Likewise.
8223         (test-double.o): Likewise
8224         (test-idouble.o): Likewise.
8225         (test-double-finite.o): Likewise.
8226         (test-ldouble.o): Likewise
8227         (test-ildoubl.o): Likewise.
8228         (test-ldouble-finite.o): Likewise.
8230         (libm-tests): Redefine type tests using foreach and the
8231         list of types in types.
8233         (CPPFLAGS-test-ildoubl.c): Rename to
8234         (CPPFLAGS-test-ildouble.c): New variable
8236         * math/test-ildoubl.c: Rename to
8237         * math/test-ildouble.c: New file.
8239 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8241         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8242         Use fabsl instead of fabs.
8243         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8244         Likewise.
8245         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8246         Add long double suffix to constant to ensure proper
8247         promotion to long double.
8249 2016-08-03  Tom Tromey  <tom@tromey.com>
8251         [BZ #20311]
8252         * nptl_db/Makefile (headers): Add proc_service.h.
8253         * nptl_db/proc_service.h: Add include guard.  Use
8254         __BEGIN/__END_DECLS.
8255         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8256         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8257         arguments.
8260 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8262         [BZ #17730]
8263         Avoid using memalign for TCB allocations.
8264         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8265         (_dl_allocate_tls_storage): Use malloc and manual alignment.
8266         Avoid alignment gap in the TLS_DTV_AT_TP case.
8267         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8268         determine the pointer to free.
8269         * nptl/tst-tls3-malloc.c: New test.
8270         * nptl/Makefile (tests): Add it.
8271         (tst-tls3-malloc): Link with libdl, libpthread.
8272         (LDFLAGS-tst-tls3-malloc): Set.
8273         (tst-tls3-malloc.out): Depend on DSO used in test.
8275 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8277         [BZ #17730]
8278         Avoid using memalign for TLS allocations.
8279         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
8280         is_static member with to_free member.
8281         (union dtv): Use struct dtv_pointer.
8282         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8283         dtv_pointer instead of is_static.
8284         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8285         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8286         instead of val.
8287         (allocate_dtv_entry): New function.
8288         (allocate_and_init): Return struct dtv_pointer.  Call
8289         allocate_dtv_entry instead of __libc_memalign.
8290         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8291         instead of val.
8292         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8293         instead of is_static.  Adjust call to allocate_and_init.
8294         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8295         struct dtv_pointer instead of val.
8297 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8299         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8300         (MALLOC_ALIGN_MASK): Move ...
8301         * malloc/malloc-internal.h: ... to here.
8302         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8304 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8306         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8307         (UDP_ENCAP_GTP1U): Likewise.
8309         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8310         (PF_MAX): Update value.
8311         (AF_QIPCRTR): New macro.
8313 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8315         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8316         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8317         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8318         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8319         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8320         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8321         s_truncf-vis3, s_trunc-vis3.
8322         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8323         (CFLAGS-s_ceil-vis3.c): Likewise.
8324         (CFLAGS-s_floorf-vis3.c): Likewise.
8325         (CFLAGS-s_floor-vis3.c): Likewise.
8326         (CFLAGS-s_truncf-vis3.c): Likewise.
8327         (CFLAGS-s_trunc-vis3.c): Likewise.
8328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8333         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8334         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8336         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8337         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8338         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8339         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8341 2016-08-02  David S. Miller  <davem@davemloft.net>
8343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8344         (__nearbyint_vis3): Don't check for sNaN before float register is
8345         loaded with the incoming argument.
8346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8347         (__nearbyintf_vis3): Likewise.
8348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8349         Likewise.
8350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8351         Likewise.
8353         * string/test-strncmp.c (do_test_limit): Make sure the test data
8354         stream is aligned as required for the type "CHAR".
8355         (do_test): Likewise.
8357 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8359         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8360         by beq instructions jumping to the end of the function.
8361         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8362         clobber list. Use "i" constraint instead of "X".
8363         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8364         of "X".
8366 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
8368         * bits/libc-header-start.h: New file.
8369         * Makefile (headers): Add bits/libc-header-start.h.
8370         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8371         (__GLIBC_USE): New macro.
8372         * libio/stdio.h: Define
8373         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8374         <bits/libc-header-start.h> instead of including <features.h>.
8375         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8376         (open_memstream): Likewise.
8377         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8378         (__asprintf): Likewise.
8379         (asprintf): Likewise.
8380         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8381         (getdelim): Likewise.
8382         (getline): Likewise.
8383         * string/string.h: Define
8384         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8385         <bits/libc-header-start.h> instead of including <features.h>.
8386         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8387         (strndup): Likewise.
8388         * wcsmbs/wchar.h: Define
8389         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8390         <bits/libc-header-start.h> instead of including <features.h>.
8391         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8392         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8394 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8396         Support linking against compatibility symbols, for use in tests.
8397         * include/libc-symbols.h (symbol_version_reference): New macro.
8398         (symbol_version): Use it.
8399         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8400         (compat_symbol): Use compat_symbol_reference.
8401         (compat_symbol_1, compat_symbol_2): Remove.
8402         (compat_symbol_reference, compat_symbol_reference_1)
8403         (compat_symbol_reference_2): New macro.  Use
8404         symbol_version_reference.
8406 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8408         [BZ #19469]
8409         * malloc/Makefile (CPPFLAGS): Compile tests with
8410         -DTEST_NO_MALLOPT.
8411         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8413 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
8415         [BZ #20033]
8416         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8417         finite version.
8418         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8419         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8420         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8421         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8422         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8423         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8424         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8425         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8426         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8427         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8428         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8429         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8430         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8431         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8432         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8433         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8434         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8435         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8436         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8437         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8438         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8439         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8440         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8441         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8442         in zero power.
8444 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8446         [BZ #20370]
8447         * malloc/arena.c (get_free_list): Update comment.  Assert that
8448         arenas on the free list have no attached threads.
8449         (remove_from_free_list): New function.
8450         (reused_arena): Call it.
8452 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
8454         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8455         when it is a NaN.
8456         [_IEEE_FP_INEXACT] Remove.
8457         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8458         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8459         when it is a NaN.
8460         [_IEEE_FP_INEXACT] Remove.
8461         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8462         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8463         when it is a NaN.
8464         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8465         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8466         when its absolute value is greater than 0x1.0p52.
8467         [_IEEE_FP_INEXACT] Remove.
8468         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8469         when its absolute value is greater than 0x1.0p23.
8470         [_IEEE_FP_INEXACT] Remove.
8472 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
8474         * version.h (RELEASE): Set to "development"
8475         (VERSION): Set to 2.24.90.
8476         * NEWS: Add 2.25 section.
8478         * version.h (RELEASE): Set to "stable"
8479         (VERSION): Set to 2.24.
8480         * include/features.h (__GLIBC_MINOR__): Set to 24.
8482         * NEWS: Add 2.24 fixed bugs.
8483         * po/libc.pot: Regenerate.
8485 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
8487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8488         [$(subdir) = math] (libm-sysdep_routines): Remove.
8489         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8490         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8491         s_truncf-vis3, s_trunc-vis3.
8492         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8494         file.
8495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8518         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8523         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8524         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8525         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8526         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8527         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8528         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8529         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8530         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8531         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8532         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8533         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8534         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8535         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8536         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8537         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8539 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
8541         [BZ #20384]
8542         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8543         test-double-libmvec-sincos-avx-main.o,
8544         test-double-libmvec-sincos-avx2-main.o,
8545         test-double-libmvec-sincos-main.o,
8546         test-float-libmvec-sincosf-avx-main.o,
8547         test-float-libmvec-sincosf-avx2-main.o and
8548         test-float-libmvec-sincosf-main.o.
8549         test-float-libmvec-sincosf-avx512-main.o.
8550         ($(objpfx)test-double-libmvec-sincos): Also link with
8551         $(objpfx)test-double-libmvec-sincos-main.o.
8552         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8553         $(objpfx)test-double-libmvec-sincos-avx-main.o.
8554         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8555         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8556         ($(objpfx)test-float-libmvec-sincosf): Also link with
8557         $(objpfx)test-float-libmvec-sincosf-main.o.
8558         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8559         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8560         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8561         test-double-libmvec-sincos-avx512-main.o and
8562         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8563         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8564         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8565         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8566         (CFLAGS-test-double-libmvec-sincos.c): Removed.
8567         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8568         (CFLAGS-test-double-libmvec-sincos-main.c): New.
8569         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8570         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8571         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8572         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8573         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8574         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8575         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8576         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8577         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8578         -DREQUIRE_AVX2.
8579         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8580         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8581         -DREQUIRE_AVX512F.
8582         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8583         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8584         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8585         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8586         file.
8587         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8588         Likewise.
8589         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8590         Likewise.
8591         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8592         Likewise.
8593         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8594         Likewise.
8595         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8596         Likewise.
8597         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8598         Likewise.
8599         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8600         Likewise.
8602 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
8604         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8606 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
8608         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8609         and typo in a comment about AT_HWCAP entry.
8611 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8613         * sysdeps/aarch64/libm-test-ulps: Updated.
8615 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8617         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8618         of r13 as it is not restored in mvcle case.
8620 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
8622         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8623         Rename "ret" to "__ret".
8624         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8625         inline_syscall5, inline_syscall6): Likewise.
8627 2016-07-19   Will Newton  <will.newton@gmail.com>
8629         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8630         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8631         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8632         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8633         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8635 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
8637         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8638         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8639         -mfpmath=387 with $(rtld-CFLAGS).
8640         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8641         $(rtld-CFLAGS).
8643 2016-07-18   Ross Burton  <ross.burton@intel.com>
8644              Khem Raj  <raj.khem@gmail.com>
8646         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8647         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8648         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8649         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8650         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8651         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8652         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8653         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8654         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8655         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8656         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8657         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8658         R_METAG_TLS_DTPOFF): New.
8660 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8661             Matt Clay  <mclay@lycos.com>
8663         [BZ #20357]
8664         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8665         to call __mpsin/__mpcos and to negate values.
8666         * math/auto-libm-test-in: Add test.
8667         * math/auto-libm-test-out: Regenerate.
8669 2016-07-18  Zack Weinberg  <zackw@panix.com>
8671         * grp/Makefile: Don't install the internal header grp-merge.h.
8673 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8675         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8677 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8679         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8681 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8683         [BZ #15368]
8684         * sysdeps/unix/sysv/linux/nptl-signals.h
8685         (__nptl_clear_internal_signals): New function.
8686         (__libc_signal_block_all): Likewise.
8687         (__libc_signal_block_app): Likewise.
8688         (__libc_signal_restore_set): Likewise.
8689         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8690         implementation.
8691         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8692         the cached pid/tid value in pthread structure.
8694 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
8696         [BZ #20347]
8697         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8699 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8701         [BZ #20348]
8702         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8703         preadv64, pwrite64 and pwritev64.
8705 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8707         [BZ #20350]
8708         * posix/tst-preadwrite.c: Renamed to ...
8709         * posix/tst-preadwrite-common.c: This.
8710         (PREAD): Removed.
8711         (PWRITE): Likewise.
8712         (STRINGIFY): Likewise.
8713         (STRINGIFY2): Likewise.
8714         (do_prepare): Make it static and remove function arguments.
8715         (do_test): Likewise.
8716         (PREPARE): Updated.
8717         (TEST_FUNCTION): New.
8718         (name): Make it static.
8719         (fd): Likewise.
8720         (do_prepare): Use create_temp_file.
8721         (do_test): Renamed to ...
8722         (do_test_with_offset): This.  Make it static and accept offset.
8723         Properly check return value of PWRITE and PREAD.  Return bytes
8724         read.  Don't close fd nor unlink name.
8725         * posix/tst-preadwrite.c: Rewrite.
8726         * posix/tst-preadwrite64.c: Likewise.
8728 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8730         [BZ #20309]
8731         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8732         -mtls-dialect=gnu2 works.
8733         * configure: Regenerated.
8734         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8735         (tests): Add tst-gnu2-tls1.
8736         (modules-names): Add tst-gnu2-tls1mod.
8737         ($(objpfx)tst-gnu2-tls1): New.
8738         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8739         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8740         * elf/tst-gnu2-tls1.c: New file.
8741         * elf/tst-gnu2-tls1mod.c: Likewise.
8742         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8743         bytes for push in the PLT entry to align the stack.
8745 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8747         [BZ #20349]
8748         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8750 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8752         [BZ #18707]
8753         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8754         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8756 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8758         * sysdeps/unix/sysv/linux/sysdep.h
8759         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8760         guards.
8761         * misc/tst-preadvwritev-common.c: New file.
8762         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8763         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8764         a check for files larger than 2GB.
8766         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8767         (__ASSUME_OFF_DIFF_OFF64): Remove define.
8768         * sysdeps/unix/sysv/linux/pread.c
8769         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8770         __OFF_T_MATCHES_OFF64_T.
8771         * sysdeps/unix/sysv/linux/pread64.c
8772         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8773         * sysdeps/unix/sysv/linux/preadv.c
8774         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8775         * sysdeps/unix/sysv/linux/preadv64.c
8776         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8777         * sysdeps/unix/sysv/linux/pwrite.c
8778         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8779         * sysdeps/unix/sysv/linux/pwrite64.c
8780         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8781         * sysdeps/unix/sysv/linux/pwritev.c
8782         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8783         * sysdeps/unix/sysv/linux/pwritev64.c
8784         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8786 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
8788         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8789         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8791 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8793         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8795 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8797         [BZ #20240]
8798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8799         (CFLAGS-s_modf-ppc32.c): New variable.
8800         (CFLAGS-s_modff-ppc32.c): Likewise.
8801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8802         (CFLAGS-s_modf-ppc64.c): Likewise.
8803         (CFLAGS-s_modff-ppc64.c): Likewise.
8805 2016-07-07  Andreas Schwab  <schwab@suse.de>
8807         [BZ #20263]
8808         * nptl/tst-robust10.c: New test.
8809         * nptl/Makefile (tests): Add tst-robust10.
8811 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
8813         [BZ #20263]
8814         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8816 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8818         * sysdeps/s390/linkmap.h (struct link_map_machine):
8819         Remove member gotplt and add member jmprel.
8820         * sysdeps/s390/s390-32/dl-machine.h
8821         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8822         instead of gotplt with &got[3].
8823         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8824         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8826 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
8828         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8830 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8832         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8833         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8834         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8835         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8836         * libio/vtables.c (_IO_vtable_check)
8837         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8838         * libio/libioP.h (IO_set_accept_foreign_vtables)
8839         [!PTR_MANGLE]: Do not call PTR_MANGLE.
8841 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
8843         [BZ #20314]
8844         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8845         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8846         $(common-objpfx)cmath.
8847         ($(common-objpfx)cstdlib): New target.
8848         ($(common-objpfx)cmath): Likewise.
8850 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
8852         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8854 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8856         [BZ #20327]
8857         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8858         are not part of the string.
8860 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8862         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8863         * nptl/tst-cancel4-common.h (fifoname): New variable.
8864         (fifofd): Likewise.
8865         (cl_fifo): New function.
8866         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8867         SIGINT.
8868         (tf_open): Add early cancel test.
8870 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
8872         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8874 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
8876         * sysdeps/generic/ldsodefs.h
8877         (dl_symbol_visibility_binds_local_p): New inline function.
8878         * elf/dl-addr.c (determine_info): Treat hidden and internal
8879         symbols as local.
8880         * elf/dl-lookup.c (do_lookup_x): Likewise.
8881         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8883 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
8885         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8886         invalid exception for a sNaN input.
8887         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8888         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8889         (__nearbyint_vis3): Likewise
8890         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8891         (__nearbyintf_vis3): Likewise
8892         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8893         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8894         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8895         Likewise.
8896         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8897         Likewise.
8899 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8901         [BZ #20139]
8902         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8903         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8904         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8905         2.24 or above.
8906         (HAVE_AVX512_ASM_SUPPORT): Removed.
8907         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8908         * sysdeps/x86_64/configure: Regenerated.
8909         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8910         check unconditional.
8911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8912         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8913         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8914         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8915         Likewise.
8916         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8917         Likewise.
8918         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8919         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8920         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8921         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8922         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8923         Likewise.
8924         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8925         Likewise.
8926         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8927         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8928         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8929         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8930         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8931         Likewise.
8932         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8933         Likewise.
8934         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8935         Likewise.
8936         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8937         Likewise.
8938         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8939         Likewise.
8940         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8941         Likewise.
8942         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8943         Likewise.
8944         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8945         Likewise.
8946         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8947         Likewise.
8948         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8949         Likewise.
8950         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8951         Likewise.
8953 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8955         [BZ #20024]
8956         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8957         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8958         of this implementation of vector function.
8959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8961         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8962         Likewise.
8963         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8964         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8965         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8966         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8967         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8968         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8969         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8970         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8971         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8972         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8973         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8974         for testing vector sincos with fixed ABI.
8975         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8976         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8977         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8978         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8979         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8980         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8981         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8982         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8983         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8984         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8985         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8986         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8987         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8988         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8989         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8990         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8992 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8994         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8996 2016-06-30  Anton Blanchard  <anton@samba.org>
8998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8999         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
9000         s_sinf-ppc64.
9001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
9002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9004         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9006 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9010         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
9011         e_expf-ppc64.
9012         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
9013         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
9014         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
9015         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
9017 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
9019         [BZ #20277]
9020         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
9021         when SHARED is defined.
9023 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
9025         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
9026         (index_arch_Prefer_ERMS): Likewise.
9027         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
9028         __memcpy_erms for Prefer_ERMS.
9029         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9030         (__memmove_erms): Enabled for libc.a.
9031         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
9032         __memmove_erms or Prefer_ERMS.
9033         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
9034         __mempcpy_erms for Prefer_ERMS.
9035         * sysdeps/x86_64/multiarch/memset.S (memset): Return
9036         __memset_erms for Prefer_ERMS.
9038 2016-06-30  Andreas Schwab  <schwab@suse.de>
9040         [BZ #20262]
9041         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
9042         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
9043         of memory.
9045 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
9047         [BZ #18645]
9048         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
9049         (test-extras): Add tst-cleanupx4aux.
9050         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
9051         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
9052         tst-cleanupx4aux.o.
9053         * nptl/tst-cleanupx4aux.c: New file.
9055 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9057         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9059 2016-06-29  Andreas Schwab  <schwab@suse.de>
9061         [BZ #20260]
9062         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
9063         address before the beginning of the string as an integer to avoid
9064         array-bounds warning.
9066 2016-06-28  Richard Henderson  <rth@redhat.com>
9068         * elf/elf.h (EM_BPF): New.
9069         (EM_NUM): Update.
9070         (R_BPF_NONE, R_BPF_MAP_FD): New.
9072         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
9073         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
9074         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
9075         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
9076         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
9077         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
9078         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
9079         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
9080         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
9081         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
9082         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
9083         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
9084         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
9085         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
9086         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
9087         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
9088         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
9089         (EM_NUM): Update.
9091 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
9093         [BZ #18960]
9094         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
9095         Set _nl_current_LC_CATEGORY_used to two instead of one.
9097 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
9099         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
9100         (do_test): ... this.
9101         (TEST_FUNCTION): New macro.
9102          Include test-skeleton.c.
9103         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
9104         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
9106 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
9108         [BZ #15479]
9109         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
9110         floating-point environment rather than just control word.
9111         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9112         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
9113         floating-point environment, with "invalid" exceptions merged in,
9114         rather than just control word.
9115         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9116         * math/libm-test.inc (trunc_test_data): Do not allow spurious
9117         "inexact" exceptions.
9119         [BZ #15479]
9120         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9121         floating-point environment rather than just control word.
9122         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9123         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9124         floating-point environment, with "invalid" exceptions merged in,
9125         rather than just control word.
9126         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9127         * math/libm-test.inc (floor_test_data): Do not allow spurious
9128         "inexact" exceptions.
9130         [BZ #15479]
9131         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9132         floating-point environment rather than just control word.
9133         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9134         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9135         floating-point environment, with "invalid" exceptions merged in,
9136         rather than just control word.
9137         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9138         * math/libm-test.inc (ceil_test_data): Do not allow spurious
9139         "inexact" exceptions.
9141 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
9143         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9144         __libc_vfork.
9145         (__vfork) [IS_IN (libc)]: Remove alias.
9146         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9147         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9148         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9150 2016-06-24  Torvald Riegel  <triegel@redhat.com>
9152         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9153         of atomic_compare_and_exchange_bool_rel.
9154         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9155         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9156         catomic_compare_and_exchange_bool_rel): Remove.
9157         * sysdeps/aarch64/atomic-machine.h
9158         (atomic_compare_and_exchange_bool_rel): Likewise.
9159         * sysdeps/alpha/atomic-machine.h
9160         (atomic_compare_and_exchange_bool_rel): Likewise.
9161         * sysdeps/arm/atomic-machine.h
9162         (atomic_compare_and_exchange_bool_rel): Likewise.
9163         * sysdeps/mips/atomic-machine.h
9164         (atomic_compare_and_exchange_bool_rel): Likewise.
9165         * sysdeps/microblaze/atomic-machine.h
9166         ( __arch_compare_and_exchange_bool_8_rel,
9167         __arch_compare_and_exchange_bool_16_rel): Likewise.
9168         * sysdeps/powerpc/atomic-machine.h
9169         ( __arch_compare_and_exchange_bool_8_rel,
9170         __arch_compare_and_exchange_bool_16_rel): Likewise.
9171         * sysdeps/powerpc/powerpc32/atomic-machine.h
9172         ( __arch_compare_and_exchange_bool_32_rel,
9173         __arch_compare_and_exchange_bool_64_rel): Likewise.
9174         * sysdeps/powerpc/powerpc64/atomic-machine.h
9175         ( __arch_compare_and_exchange_bool_32_rel,
9176         __arch_compare_and_exchange_bool_64_rel): Likewise.
9177         * sysdeps/tile/atomic-machine.h
9178         (atomic_compare_and_exchange_bool_rel): Likewise.
9180 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
9182         [BZ #20296]
9183         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9184         when either argument is a NaN.
9185         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9186         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9188         * math/libm-test.inc (snan_value_ld): New macro.
9189         (isgreater_test_data): Add sNaN tests.
9190         (isgreaterequal_test_data): Likewise.
9191         (isless_test_data): Likewise.
9192         (islessequal_test_data): Likewise.
9193         (islessgreater_test_data): Likewise.
9194         (isunordered_test_data): Likewise.
9195         (nextafter_test_data): Likewise.
9196         (nexttoward_test_data): Likewise.
9197         (remainder_test_data): Likewise.
9198         (remquo_test_data): Likewise.
9199         (significand_test_data): Likewise.
9200         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9202 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9204         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9205         environment macros are defined.
9206         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9208 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9210         [BZ #20191]
9211         Implement vtable verification in libio.
9212         * Makerules (shlib.lds): Place __libc_IO_vtables section.
9213         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9214         * debug/vdprintf_chk.c (__vdprintf_chk): Call
9215         _IO_new_file_init_internal instead of _IO_file_init.
9216         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9217         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9218         * libio/Makefile (routines): Add vtables.
9219         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9220         (_IO_init): Remove, not for internal use.
9221         (_IO_init_internal): Declare, internal replacement for _IO_init.
9222         (_IO_file_init): Remove, not for internal use.
9223         (_IO_new_file_init): Remove, not for internal use.
9224         (_IO_new_file_init_internal): Declare, internal replacement for
9225         _IO_new_file_init.
9226         (_IO_old_file_init): Remove, not for internal use.
9227         (_IO_old_file_init_internal): Declare, internal replacement for
9228         _IO_old_file_init.
9229         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9230         internal use.
9231         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9232         Declare.
9233         (libio_vtable): New macro.
9234         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9235         functions.
9236         * libio/fileops.c (_IO_new_file_init_internal): Rename from
9237         _IO_new_file_init.
9238         (_IO_new_file_init): New externally visible wrapper which disables
9239         vtable verification.
9240         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9241         Define as vtables.
9242         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9243         (_IO_init): New externally visible wrapper which disables
9244         vtable verification.
9245         * libio/iofdopen.c (_IO_new_fdopen): Call
9246         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
9247         comment.
9248         * libio/iofopen.c (__fopen_internal): Call
9249         _IO_new_file_init_internal instead of _IO_file_init.
9250         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9251         Define as vtables.
9252         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9253         _IO_new_file_init_internal instead of _IO_file_init.
9254         * libio/iopopen.c (_IO_new_popen): Likewise.
9255         (_IO_proc_jumps): Define as vtable.
9256         * libio/iovdprintf.c (_IO_vdprintf): Call
9257         _IO_new_file_init_internal instead of _IO_file_init.
9258         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9259         (__open_memstream): Call _IO_init_internal instead of _IO_init.
9260         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9261         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9262         _IO_old_file_init.
9263         (_IO_old_file_init): New externally visible wrapper which disables
9264         vtable verification.
9265         (_IO_old_file_jumps): Define as vtable.
9266         * libio/oldiofdopen.c (_IO_old_fdopen): Call
9267         _IO_old_file_init_internal instead of _IO_old_file_init.
9268         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9269         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9270         (_IO_old_proc_jumps): Define as vtable.
9271         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9272         Define as vtables.
9273         * libio/vtables.c: New file.
9274         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9275         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9276         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9277         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9278         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9279         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9280         instead of _IO_init.
9282 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9284         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9286 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9288         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9289         potentially unused.
9291 2016-06-22  Florian Weimer  <fweimer@redhat.com>
9293         * test-skeleton.c (write_message): New function.
9294         * malloc/tst-mallocfork2.c (write_message): Remove.
9295         * debug/tst-longjmp_chk2.c (write_indented): New function.
9296         (write_message): Remove.
9297         (stackoverflow_handler): Call write_indented.
9299 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
9301         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9302         "inexact" exceptions after fnstenv.
9303         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9304         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9305         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9307 2015-06-22  Zack Weinberg  <zackw@panix.com>
9309         * sysdeps/generic/bits/hwcap.h: Moved to ...
9310         * bits/hwcap.h: Here.
9312 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
9314         * sysdeps/aarch64/memcpy.S (memcpy):
9315         Further tuning for performance.
9317 2016-06-21  Florian Weimer  <fweimer@redhat.com>
9319         [BZ #20284]
9320         * malloc/arena.c (reused_arena): Do not return NULL if we start
9321         out with a non-corrupted arena.
9323 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9325         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9326         * misc/tst-preadvwritev.c: New file.
9327         * misc/tst-preadvwritev64.c: Likewise.
9328         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9329         usage.
9330         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9331         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9332         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9333         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9335 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
9337         [BZ #19654]
9338         * sysdeps/x86_64/fpu/Makefile: Added new tests.
9339         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9340         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9341         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9342         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9343         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9344         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9345         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9346         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9347         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9348         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9349         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9350         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9351         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9352         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9353         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9354         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9355         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9356         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9357         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9358         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9359         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9360         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9361         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9362         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9363         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9365 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9367         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9368         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9370 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9372         * sysdeps/aarch64/memcpy.S (memcpy):
9373         Rewrite of optimized memcpy and memmove.
9374         * sysdeps/aarch64/memmove.S (memmove): Remove
9375         memmove code (merged into memcpy.S).
9377 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9379         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9380         * sysdeps/generic/dl-dtv.h: New file.
9381         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9382         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9383         (dtv_t): Remove.
9384         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9385         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9386         (dtv_t): Remove.
9387         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9388         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9389         (dtv_t): Remove.
9390         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9391         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9392         (dtv_t): Remove.
9393         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9394         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9395         (dtv_t): Remove.
9396         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9397         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9398         (dtv_t): Remove.
9399         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9400         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9401         (dtv_t): Remove.
9402         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9403         (dtv_t): Remove.
9404         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9405         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9406         (dtv_t): Remove.
9407         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9408         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9409         (dtv_t): Remove.
9410         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9411         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9412         (dtv_t): Remove.
9413         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9414         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9415         (dtv_t): Remove.
9416         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9417         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9418         (dtv_t): Remove.
9419         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9420         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9421         (dtv_t): Remove.
9422         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9423         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9424         (dtv_t): Remove.
9425         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9426         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9427         (dtv_t): Remove.
9429 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9431         Revert symbol poisoning of  __malloc_initialize_hook.
9432         * include/stdc-predef.h (__malloc_initialize_hook): Remove
9433         poisoning.
9434         * malloc/Makefile: Remove un-poisoning.
9435         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9436         instead of old__malloc_initialize_hook.
9437         * malloc/malloc-hooks.h: Likewise.
9438         * malloc/malloc.c: Likewise.
9439         * malloc/mcheck-init.c: Likewise.
9441 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
9443         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9445 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
9447         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9448         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9449         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9450         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9452 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9454         * NEWS: Mention addition of nextup and nextdown.
9455         * manual/arith.texi: Document nextup and nextdown.
9456         * manual/libm-err-tab.pl: Add nextup and nextdown.
9457         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9458         * math/Versions (libm): Add GLIBC_2.24.
9459         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9460         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9461         Add new test.
9462         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9463         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9464         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9465         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9466         (nextup_test_data): Likewise.
9467         (nextdown_test_data): Likewise.
9468         * math/s_nextdown.c: New file.
9469         * math/s_nextdownf.c: Likewise.
9470         * math/s_nextdownl.c: Likewise.
9471         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9472         F(nextup): New function.
9473         F(nextdown): Likewise.
9474         * math/tgmath.h: Add nextup and nextdown.
9475         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9476         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9477         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9478         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9479         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9480         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9481         Add nextup and nextdown.
9482         (CFLAGS-nldbl-nextup.c): New variable.
9483         (CFLAGS-nldbl-nextdown.c): Likewise.
9484         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9485         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9486         * sysdeps/nacl/libm.abilist: Update.
9487         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9488         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9489         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9490         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9491         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9492         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9493         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9494         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9495         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9496         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9497         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9498         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9501         Likewise.
9502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9504         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9505         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9506         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9508         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9511         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9512         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9513         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9514         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9516 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9518         * manual/pattern.texi: Fix typos & grammar errors.
9520 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9522         * manual/search.texi: Fix typos & grammar errors.
9524 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9526         * manual/message.texi: Fix typos & grammar errors.
9528 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
9530         * manual/contrib.texi: Fix spelling typos.
9531         * manual/crypt.texi: Likewise.
9532         * manual/filesys.texi: Likewise.
9533         * manual/locale.texi: Likewise.
9534         * manual/message.texi: Likewise.
9535         * manual/nss.texi: Likewise.
9536         * manual/string.texi: Likewise.
9538 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9540         * manual/locale.texi: Fix typos & grammar errors.
9542 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9544         * manual/charset.texi: Fix typos & grammar errors.
9546 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9548         * manual/string.texi: Fix typos.
9550 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9552         * manual/ctype.texi: Fix typos.
9554 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9556         * manual/memory.texi: Fix various typos & grammar errors.
9558 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
9560         [BZ #20255]
9561         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
9562         * math/libm-test.inc (fdim_test_data): Add another test.
9564         [BZ #6796]
9565         [BZ #20255]
9566         [BZ #20256]
9567         * math/s_fdim.c: Include <math_private.h>.
9568         (__fdim): Use math_narrow_eval on result.
9569         * math/s_fdimf.c: Include <math_private.h>.
9570         (__fdimf): Use math_narrow_eval on result.
9571         * sysdeps/i386/fpu/s_fdim.S: Remove file.
9572         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9573         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9574         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9575         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9576         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9577         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9578         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9579         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9580         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9581         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9582         * math/libm-test.inc (fdim_test_data): Expect errno setting on
9583         overflow.  Add sNaN tests.
9585         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9586         fpclassify.
9587         * math/s_fdimf.c (__fdimf): Likewise.
9588         * math/s_fdiml.c (__fdiml): Likewise.
9590 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9592         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9593         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9595         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9596         ifunc'ed strcasecmp/strncasecmp.
9597         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9598         [EALIGN]: Removed.
9599         [END]: Likewise.
9600         [__strcasecmp]: Define instead of the above to control symbol name.
9601         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9602         for __strcasecmp_power8.
9603         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9604         for __strncasecmp_power8.
9605         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9606         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9607         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9608         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9609         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9610         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9612 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
9614         [BZ #20252]
9615         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9616         arguments when second argument is a NaN.
9617         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9618         qNaN tests.
9620         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9621         (conj_test_data): Likewise.
9622         (copysign_test_data): Likewise.
9623         (creal_test_data): Likewise.
9624         (fma_test_data): Likewise.
9625         (fmod_test_data): Likewise.
9627         [BZ #20250]
9628         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9629         itself.
9630         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9631         zero input to itself.
9632         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9633         Likewise.
9634         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9635         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9636         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9637         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9638         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9640 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9642         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9643         * nptl/tst-cancel4-common.c: New file.
9644         * nptl/tst-cancel4-common.h: Likewise.
9645         * nptl/tst-cancel4.c: Move common definitions to
9646         tst-cancel4-common.{c,h} file.
9647         * nptl/tst-cancel4_1.c: New test.
9648         * nptl/tst-cancel4_2.c: New test.
9650 2016-06-13  Florian Weimer  <fweimer@redhat.com>
9652         [BZ #20248]
9653         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9654         (write_message): New function.
9655         (stackoverflow_handler): Call it instead of printf, to avoid
9656         excessive stack usage by printf.
9657         (do_test): Restore SIGSEGV, SIGBUS default handlers.
9659 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9661         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9662         (prio_inherit_missing): Remove define.
9663         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9664         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9665         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9666         Likewise.
9667         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9668         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9669         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9670         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9671         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9672         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9674 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9676         [BZ #19670]
9677         [BZ #19672]
9679         * io/test-lfs.c (do_prepare): Use xmalloc.
9680         * io/tst-fcntl.c (do_prepare): Likewise.
9681         * libio/tst-fopenloc.c (do_bz17916): Likewise.
9682         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9683         * login/tst-utmp.c (do_prepare): Likewise.
9684         * posix/tst-exec.c (do_prepare): Likewise.
9685         * posix/tst-pathconf.c (prepare): Likewise.
9686         * posix/tst-spawn.c (do_prepare): Likewise.
9687         * posix/tst-truncate.c (do_prepare): Likewise.
9688         * rt/tst-aio.c (do_prepare): Likewise.
9689         * rt/tst-aio64.c (do_prepare): Likewise.
9691 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9693         [BZ #20237]
9694         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9695         (get*ent): Set entidx to NULL during initialization.  If entidx is
9696         NULL, start iteration from the beginning.
9698 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9700         * malloc/malloc.c (musable): Return correct size for dumped fake
9701         mmapped chunk.
9703 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9705         [BZ #20222]
9706         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9707         (_IO_cookie_write): Likewise.
9708         (_IO_cookie_seek): Likewise.
9709         (_IO_cookie_close): Likewise.
9710         (_IO_old_cookie_seek): Likewise.
9711         (set_callbacks): New function.
9712         (_IO_cookie_init): Call set_callbacks to copy callbacks.
9714 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
9716         * locale/programs/localedef.c (oldstyle_tables): Remove.
9717         * locale/programs/localedef.h (oldstyle_tables): Likewise.
9719 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
9721         [BZ #20240]
9722         * math/Makefile (CFLAGS-s_modf.c): New variable.
9723         (CFLAGS-s_modff.c): Likewise.
9724         (CFLAGS-s_modfl.c): Likewise.
9725         * math/libm-test.inc (modf_test_data): Add sNaN tests.
9727 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
9729         [BZ #20215]
9730         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9731         [!__GNUC_PREREQ (3,2)]: Likewise.
9733 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9735         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9736         (msghdr.msg_controllen): Likewise.
9737         (cmsghdr.cmsg_len): Likewise.
9738         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9739         ptw-oldsendmsg.
9740         (CFLAGS-oldrecvmsg.c): Remove rule.
9741         (CFLAGS-oldsendmsg.c): Likewise.
9742         (CFLAGS-recvmsg.c): Add rule.
9743         (CFLAGS-sendmsg.c): Likewise.
9744         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9745         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9746         (CFLAGS-recvmsg.c): Remove rule.
9747         (CFLAGS-sendmsg.c): Likewise.
9748         (CFLAGS-oldrecvmsg.c): Likewise.
9749         (CFLAGS-oldsendmsg.c): Likewise.
9750         (CFLAGS-recvmmsg.c): Likewise.
9751         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9752         to kernel defined interfaces.
9753         (msghdr.msg_controllen): Likewise.
9754         (cmsghdr.cmsg_len): Likewise.
9755         (msghdr.__glibc_reserved1): Remove member.
9756         (msghdr.__glibc_reserved2): Likewise.
9757         (cmsghdr.__glibc_reserved1): Likewise.
9758         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9759         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9760         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9761         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9762         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9763         version.
9764         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9765         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9766         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9767         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9768         Remove recvmsg and sendmsg.
9769         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9770         Likewise.
9771         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9772         Likewise.
9773         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9774         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9775         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9776         Likewise.
9777         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9778         Likewise.
9779         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9780         [libc] (GLIBC_2.24): Likewise.
9781         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9782         Likewise.
9783         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9784         Likewise.
9785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9786         [libc] (GLIBC_2.24): Likewise.
9787         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9788         Likewise.
9789         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9790         Likewise.
9791         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9792         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9793         Likewise.
9794         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9795         Likewise.
9796         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9797         Likewise.
9798         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9799         Likewise.
9800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9801         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9802         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9803         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9804         version for {recv,send,recm,sendm}msg.
9805         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9806         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9807         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9808         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9809         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9810         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9811         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9812         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9813         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9814         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9815         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9816         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9818         Likewise.
9819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9820         Likewise.
9821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9823         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9824         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9825         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9826         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9827         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9828         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9831         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9832         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9833         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9835 2016-06-10  Florian Weimer  <fweimer@redhat.com>
9837         [BZ #19564]
9838         Remove __malloc_initialize_hook from the API.
9839         * malloc/malloc.h (__malloc_initialize_hook): Remove.
9840         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9841         #pragma GCC poison.
9842         * malloc/malloc-hooks.h: New file.
9843         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9844         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9845         (old__malloc_initialize_hook): Rename from
9846         __malloc_initialize_hook to evade poisoning.  Turn into compat
9847         symbol.
9848         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9849         __malloc_initialize_hook.
9850         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9851         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9852         * manual/memory.texi (Hooks for Malloc): Remove
9853         __malloc_initialize_hook.  Adjust hook example.
9855 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
9857         [BZ #20235]
9858         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9859         itself.
9860         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9861         * math/libm-test.inc (log2_test_data): Add sNaN tests.
9863         [BZ #20234]
9864         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9865         infinity or NaN input to itself.
9867         [BZ #20233]
9868         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9869         to itself.
9871         [BZ #20232]
9872         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9873         itself.
9875 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9877         * sysdeps/x86_64/start.S (_start): Always indirect branch to
9878         __libc_start_main via GOT.
9880 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9882         * sysdeps/x86_64/memcopy.h: New file.
9883         * sysdeps/x86_64/wordcopy.c: Likewise.
9885 2016-06-09  Florian Weimer  <fweimer@redhat.com>
9887         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9888         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9889         <cstdlib>.
9890         (optimization_barrier): New.
9891         (do_test): Use it.  Call quick_exit in the global namespace.
9892         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9893         instead of <cstdlib>, <thread>.
9894         (optimization_barrier): New.
9895         (non_main_thread): Adjust declaration.  Call optimization_barrier.
9896         Call quick_exit in the global namespace.
9897         (do_test): Call optimization_barrier.  Use pthread_create,
9898         pthread_join instead of std::thread.
9900 2016-06-09  Andreas Schwab  <schwab@suse.de>
9902         [BZ #19755]
9903         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9904         new entries in auto-propagate mode.
9905         * nscd/grpcache.c (cache_addgr): Likewise.
9907 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9909         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9910         New functions.
9911         (add_temp_file): Use them.
9913 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9915         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9917 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9919         [BZ #20229]
9920         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9921         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9922         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9924         [BZ #20228]
9925         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9926         itself.
9927         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9928         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9930         [BZ #20227]
9931         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9932         itself.
9933         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9934         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9935         * math/libm-test.inc (log_test_data): Add sNaN tests.
9937         [BZ #20226]
9938         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9939         itself.
9940         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9941         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9942         (exp10_test_data): Likewise.
9943         (expm1_test_data): Likewise.
9945         [BZ #20225]
9946         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9947         itself.
9948         * math/s_ldexpf.c (__ldexpf): Likewise.
9949         * math/s_ldexpl.c (__ldexpl): Likewise.
9950         * math/w_scalbln.c (__w_scalbln): Likewise.
9951         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9952         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9953         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9954         (scalbln_test_data): Likewise.
9956         [BZ #20224]
9957         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9958         argument to itself.
9959         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9961 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9963         [BZ #19776]
9964         * sysdeps/x86_64/memcpy.S: Make it dummy.
9965         * sysdeps/x86_64/mempcpy.S: Likewise.
9966         * sysdeps/x86_64/memmove.S: New file.
9967         * sysdeps/x86_64/memmove_chk.S: Likewise.
9968         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9969         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9970         * sysdeps/x86_64/memmove.c: Removed.
9971         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9972         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9973         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9974         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9975         Likewise.
9976         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9977         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9979         memcpy-sse2-unaligned, memmove-avx-unaligned,
9980         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9982         (__libc_ifunc_impl_list): Replace
9983         __memmove_chk_avx512_unaligned_2 with
9984         __memmove_chk_avx512_unaligned.  Remove
9985         __memmove_chk_avx_unaligned_2.  Replace
9986         __memmove_chk_sse2_unaligned_2 with
9987         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9988         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9989         with __memmove_avx512_unaligned.  Replace
9990         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9991         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9992         with __memcpy_chk_avx512_unaligned.  Remove
9993         __memcpy_chk_avx_unaligned_2.  Replace
9994         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9995         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9996         Replace __memcpy_avx512_unaligned_2 with
9997         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9998         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9999         with __mempcpy_chk_avx512_unaligned.  Remove
10000         __mempcpy_chk_avx_unaligned_2.  Replace
10001         __mempcpy_chk_sse2_unaligned_2 with
10002         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
10003         Replace __mempcpy_avx512_unaligned_2 with
10004         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
10005         Replace __mempcpy_sse2_unaligned_2 with
10006         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
10007         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
10008         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
10009         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
10010         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
10011         (ENTRY): Removed.
10012         (END): Likewise.
10013         (ENTRY_CHK): Likewise.
10014         (libc_hidden_builtin_def): Likewise.
10015         Don't include ../memcpy.S.
10016         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
10017         __memcpy_chk_avx512_unaligned_erms and
10018         __memcpy_chk_avx512_unaligned.  Use
10019         __memcpy_chk_avx_unaligned_erms and
10020         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10021         Default to __memcpy_chk_sse2_unaligned.
10022         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10023         Change function suffix from unaligned_2 to unaligned.
10024         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
10025         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
10026         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
10027         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
10028         (ENTRY): Removed.
10029         (END): Likewise.
10030         (ENTRY_CHK): Likewise.
10031         (libc_hidden_builtin_def): Likewise.
10032         Don't include ../mempcpy.S.
10033         (mempcpy): New.  Add a weak alias.
10034         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
10035         __mempcpy_chk_avx512_unaligned_erms and
10036         __mempcpy_chk_avx512_unaligned.  Use
10037         __mempcpy_chk_avx_unaligned_erms and
10038         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10039         Default to __mempcpy_chk_sse2_unaligned.
10041 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
10043         [BZ #19881]
10044         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
10045         into ...
10046         * sysdeps/x86_64/memset.S: This.
10047         (__bzero): Removed.
10048         (__memset_tail): Likewise.
10049         (__memset_chk): Likewise.
10050         (memset): Likewise.
10051         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
10052         defined.
10053         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
10054         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
10055         (__memset_zero_constant_len_parameter): Check SHARED instead of
10056         PIC.
10057         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10058         memset-avx2 and memset-sse2-unaligned-erms.
10059         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10060         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
10061         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
10062         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10063         (__bzero): Enabled.
10064         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
10065         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
10066         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
10067         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
10068         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10069         (memset): Removed.
10070         (__memset_chk): Likewise.
10071         (MEMSET_SYMBOL): New.
10072         (libc_hidden_builtin_def): Replace __memset_sse2 with
10073         __memset_sse2_unaligned.
10074         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
10075         __memset_chk_sse2 and __memset_chk_avx2 with
10076         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
10077         Use __memset_chk_sse2_unaligned_erms or
10078         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
10079         __memset_chk_avx512_unaligned_erms and
10080         __memset_chk_avx512_unaligned.
10082 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10084         * math/gen-auto-libm-test.c (fp_format_desc): remove
10085         suffix member.
10086         (output_generic_value): Remove usage of suffix member,
10087         and the resulting unuse of the fp_format argument.
10088         (output_for_one_input_case): Remove unused fp_format
10089         parameter.
10091         * math/auto-libm-test-out: Regenerate.
10093         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
10094         usage with TEST_COND_ibm128.
10095         (TEST_COND_flt_32): Remove.
10096         (TEST_COND_dbl_64): Remove.
10097         (TEST_COND_ldbl_96_intel): Remove.
10098         (TEST_COND_ldbl_96_m68k): Remove.
10099         (TEST_COND_ldbl_128): Remove.
10101 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10103         * auto-libm-test-in:
10104         Replace flt-32 usage with binary32.
10105         Replace dbl-64 usage with binary64.
10106         Replace ldbl-intel-96 usage with intel96.
10107         Replace ldbl-m68k-96 usage with m68k96.
10108         Replace ldbl-128ibm usage with ibm128.
10109         Replace ldbl-128 usage with binary128.
10111         * auto-libm-test-out: Regenerate.
10113 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10115         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10116         (parse_ulps): Dynamically generate type name matching
10117         string from all_floats.
10118         (get_ulps): Generate the ulps as an array instead.
10119         (output_ulps): Dynamically compose the type based
10120         on the number of supported formats, and print
10121         the indices as type specific helper macros.
10123         * math/libm-test.inc: Remove comment about CHOOSE.
10124         (ulp_data): Generate the type in libm-test-ulps.h.
10125         (ULP_IDX): New macro.
10126         (find_ulps): Update usage of max_ulp.
10128         * math/test-double-vlen2.h (CHOOSE): Remove.
10129         * math/test-double-vlen4.h (CHOOSE): Likewise.
10130         * math/test-double-vlen8.h (CHOOSE): Likewise.
10131         * math/test-float.c (CHOOSE): Likewise.
10132         * math/test-float-finite.c (CHOOSE): Likewise.
10133         * math/test-double.c (CHOOSE): Likewise.
10134         * math/test-double-finite.c (CHOOSE): Likewise.
10135         * math/test-idouble.c (CHOOSE): Likewise.
10136         * math/test-ifloat.c (CHOOSE): Likewise.
10137         * math/test-ildoubl.c (CHOOSE): Likewise.
10138         * math/test-ldouble-finite.c (CHOOSE): Likewise.
10139         * math/test-ldouble.c (CHOOSE): Likewise.
10141         * math/test-float.h (TEST_FLOAT): Remove.
10142         * math/test-double.h (TEST_DOUBLE): Likewise.
10143         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10145 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10147         * math/gen-libm-test.pl: (apply_lit): New subroutine.
10148         (parse_args): Strip C suffix from floating point literals
10149         typed with 'f' and wrap them with LIT().
10151         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10152         (test_ff_f_data_nexttoward): Rename to
10153         (test_fj_f_data): New struct.
10154         (nexttoward_test_data): Relabel tests as
10155         TEST_fj_f instead of TEST_ff_f.
10157 2016-06-08  Florian Weimer  <fweimer@redhat.com>
10159         Emacs bug 23726.
10160         * malloc/malloc.c (dumped_main_arena_start): Update comment.
10161         (__libc_realloc): Correct size computation for dumped fake mmapped
10162         chunks.
10164 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
10166         [BZ #20219]
10167         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10168         to itself.
10169         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10171         [BZ #20218]
10172         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10173         to itself.
10174         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10176 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
10178         [BZ #20195]
10179         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10180         check to ...
10181         (init_cpu_features): Here.
10183 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
10185         [BZ #20214]
10186         * sysdeps/unix/sysv/linux/bits/in.h
10187         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10188          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10189         Define to 1.
10190         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10191          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10192         Define to 0.
10193         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10194         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10196 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
10198         [BZ #20198]
10199         * stdlib/Makefile (tests): Add tst-quick_exit, and
10200         tst-thread-quick_exit.
10201         [ifeq ($(have-cxx-thread_local),yes)]
10202         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10203         (CFLAGS-tst-thread-quick_exit.o): Likewise.
10204         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10205         (LDLIBS-tst-thread-quick_exit): Likewise.
10206         [ifneq ($(have-cxx-thread_local),yes)]
10207         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10208         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10209         If run_dtors is true call __call_tls_dtors.
10210         (exit): Call __run_exit_handlers with run_dtors set to true.
10211         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10212         definition.
10213         * stdlib/quick_exit.c (quick_exit): Remove function.
10214         (__new_quick_exit): New function.
10215         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10216         function.
10217         * stdlib/tst-quick_exit.cc: New file.
10218         * stdlib/tst-thread-quick_exit.cc: New file.
10219         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10220         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10221         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10222         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10223         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10224         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10225         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10226         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10227         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10228         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10229         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10230         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10231         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10232         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10233         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10234         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10239         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10240         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10241         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10242         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10243         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10246         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10247         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10248         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10250 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10252         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10253         a typo in comments.
10255 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10257         [BZ #20213]
10258         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10259         argument to itself.
10260         * math/libm-test.inc (asin_test_data): Add sNaN tests.
10262 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10264         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10265         required flags.
10266         (CFLAGS-pwritev64.c): Likewise.
10267         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10269         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10270         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10271         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10272         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10273         syscall from auto-generation.
10274         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10275         [WORDSIZE == 64] (pwritev64): Remove macro.
10276         [!PWRITEV] (PWRITEV): Likewise.
10277         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10278         [!PWRITEV] (PWRITE): Likewise.
10279         [!PWRITEV] (OFF_T): Likewise.
10280         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10281         (LO_HI_LONG): Remove macro.
10282         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10283         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10284         (PWRITEV): Remove macro.
10285         (PWRITEV_REPLACEMENTE): Likewise.
10286         (PWRITE): Likewise.
10287         (OFF_T): Likewise.
10288         (pwritev64): New function.
10289         * nptl/tst-cancel4.c (tf_writev): Add test.
10291         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10292         required flags.
10293         (CFLAGS-preadv64.c): Likewise.
10294         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10295         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10296         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10297         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10298         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10299         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10300         syscall from auto-generation.
10301         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10302         [WORDSIZE == 64] (preadv64): Remove macro.
10303         [!PREADV] (PREADV): Likewise.
10304         [!PREADV] (PREADV_REPLACEMENT): Likewise.
10305         [!PREADV] (PREAD): Likewise.
10306         [!PREADV] (OFF_T): Likewise.
10307         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10308         (LO_HI_LONG): Remove macro.
10309         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10310         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10311         (PREADV): Remove macro.
10312         (PREADV_REPLACEMENTE): Likewise.
10313         (PREAD): Likewise.
10314         (OFF_T): Likewise.
10315         (preadv64): New function.
10316         * nptl/tst-cancel4.c (tf_preadv): Add test.
10318 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10320         [BZ #20212]
10321         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10322         argument to itself.
10323         * math/libm-test.inc (acos_test_data): Add sNaN tests.
10325 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10327         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10328         New symbol defined as libc_hidden_def.
10329         (strcasestr): Became a weak alias to __strcasestr.
10330         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10331         according to multi-arch support.  Move __stpncpy hidden
10332         definition from here to...
10333         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
10334         symbol stpncpy.
10335         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10336         libc_hidden_builtin_def.
10337         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10338         memset symbol to use when multi-arch support is available.
10340 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10342         * dlfcn/tst-rec-dlopen.c: Include string.h.
10344 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10346         * manual/install.texi: Remove mention of --without-tls
10347         * INSTALL: Regenerate.
10349 2016-06-05  Florian Weimer  <fweimer@redhat.com>
10351         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10352         Remove.
10353         (call_function, interposed_malloc_called): New variables.
10354         (malloc): New function.
10355         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
10356         and clear call_function as needed.
10358 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
10360         * include/wchar.h (__wmemset): Use __typeof.
10362 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
10364         * include/wchar.h (__wmemset): Declare function without typeof.
10366 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
10368         [BZ #20205]
10369         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10370         exponent when incrementing negative subnormal with low mantissa
10371         word zero.
10372         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10373         Add another test.
10375 2016-06-03  Florian Weimer  <fweimer@redhat.com>
10377         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10378         __wmemset instead of wmemset.
10380 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
10382         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10383         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10384         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10385         __USE_KERNEL_IPV6_DEFS to 0.
10386         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10387         Update comment.
10389 2016-06-01  Florian Weimer  <fweimer@redhat.com>
10391         [BZ #19861]
10392         Do not use IFUNC resolver with potentially unrelocated symbol.
10393         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10394         (DEFINE_FORK): Remove macro and inline definition.
10395         (fork_alias): Renamed from fork_ifunc.
10396         (__fork_alias): Renamed from __fork_ifunc.
10398 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
10400         [BZ 19653]
10401         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10402         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10404 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10406         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10407         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10408         i386-linux-gnu).
10409         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10410         Set to no.
10411         * sysdeps/mach/hurd/configure: Refresh.
10413 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10415         [BZ #20178]
10416         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10417         on failure instead of exit.
10419 2016-05-30  Roland McGrath  <roland@hack.frob.com>
10421         [BZ #3629]
10422         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10423         of POSIX.1-2008.
10425 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10427         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10428           Use PLT entry for calling _hurd_self_sigstate.
10430 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
10432         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10433         available logical processors with SMT level type sharing L2
10434         cache for Intel processors.
10436 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10438         [BZ #20160]
10439         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10440         argument to itself before returning the result.
10441         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10442         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10443         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10444         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10445         Likewise.
10446         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10447         Likewise.
10448         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10449         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10450         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10451         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10452         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10453         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10455         [BZ #20160]
10456         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10457         argument to itself before returning the result.
10458         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10459         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10460         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10461         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10462         Likewise.
10463         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10464         Likewise.
10465         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10466         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10467         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10468         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10469         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10470         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10472 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10474         * libm-test.inc: Replace usage of M_El with
10475         (lit_e): New macro.
10477 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10479         * libm-test.inc: Replace usage of M_PI_4l with
10480         (lit_pi_4_d): New macro.
10482 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10484         * libm-test.inc: Replace usage of M_PIl with
10485         (lit_pi): New macro.
10487 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10489         * libm-test.inc: Replace usage of M_PI2l with
10490         (lit_pi_2_d): New macro.
10492         * math/test-double.h (LITM): New macro.
10493         * math/test-float.h (LITM): Likewise.
10494         * math/test-ldouble.h (LITM): Likewise.
10496 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10498         * libm-test.inc (M_PI_34l): Rename to
10499         (lit_pi_3_m_4_d): New Macro.
10500         (M_PI_34_LOG10El): Rename to
10501         (lit_pi_3_m_4_ln10_m_d): New Macro.
10502         (M_PI2_LOG10El): Rename to
10503         (lit_pi_2_ln10_m_d):  New Macro.
10504         (M_PI4_LOG10El): Rename to
10505         (lit_pi_4_ln10_m_d):  New Macro.
10506         (M_PI_LOG10El): Rename to
10507         (lit_pi_ln10_d):  New Macro.
10509 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10511         [BZ #20157]
10512         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10513         determine whether to negate low half if [_ARCH_PPCGR], and integer
10514         comparison otherwise.
10515         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10516         determine whether to negate low half.
10518         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10519         (NO_TEST_INLINE_DOUBLE): Likewise.
10520         (TEST_COND_x86_64): Likewise.
10521         (TEST_COND_x86): Likewise.
10522         (M_PI_6l): Likewise.
10524 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10526         * math/libm-test.inc:
10527         (TEST_FLOAT): Change usage to TEST_COND_binary32.
10528         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10529         (TEST_LDOUBLE): Update usage to evaluate as true if
10530         the guarded tests match the property being tested.
10531         (LDBL_MAX_EXP): Change to MAX_EXP.
10532         (LDBL_MIN_EXP): Change to MIN_EXP.
10533         (LDBL_MANT_DIG): Change to MANT_DIG, except for
10534         nexttoward tests.
10536 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10538         * math/libm-test.inc:
10539         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10540         (TYPE_MIN): Likewise.
10541         (TYPE_TRUE_MIN): Likewise.
10542         (TYPE_MAX): Likewise.
10543         (MIN_EXP): Likewise.
10544         (MAX_EXP): Likewise.
10545         (MANT_DIG): Likewise.
10547         (FSTR_MAX): New macro.
10548         (__CONCATX): Likewise.
10549         (QTYPE_STR): Likewise.
10550         (TEST_COND_binary32): Likewise.
10551         (TEST_COND_binary64): Likewise.
10552         (TEST_COND_binary128): Likewise.
10553         (TEST_COND_ibm128): Likewise.
10554         (TEST_COND_intel96): Likewise.
10555         (TEST_COND_m68k96): Likewise.
10557         (TEST_COND_flt_32): Redefine as equivalent format test macro.
10558         (TEST_COND_dbl_64): Likewise.
10559         (TEST_COND_ldbl_96_intel): Likewise.
10560         (TEST_COND_ldbl_96_m68k): Likewise.
10561         (TEST_COND_ldbl_128): Likewise.
10562         (TEST_COND_ldbl_128ibm): Likewise.
10564         (plus_zero): Redefine using LIT macro.
10565         (minus_zero): Likewise.
10566         (plus_infty): Redefine as (INF).
10567         (minux_infty): Redefine as (-INF).
10568         (max_value): Redefine as TYPE_MAX.
10569         (min_value): Redefine as TYPE_MIN.
10570         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10572         (print_float): Refactor to use snprintf to convert FLOAT values
10573         to string. This brings it closer to dropin replacement of strtof
10574         for the TS 18661 defined types.
10575         (update_stats): Likewise.
10576         (print_complex_function_ulps): Likewise.
10577         (print_max_error): Likewise.
10578         (print_complex_max_error): Likewise.
10579         (check_float_internal): Likewise.
10581         * math/test-float.h (PREFIX): New macro.
10582         (LIT): Likewise.
10583         (TYPE_STR): Likewise.
10584         (FTOSTR): Likewise.
10586         * math/test-double.h (PREFIX): New macro.
10587         (LIT): Likewise.
10588         (TYPE_STR): Likewise.
10589         (FTOSTR): Likewise.
10591         * math/test-ldouble.h (PREFIX): New macro.
10592         (LIT): Likewise.
10593         (TYPE_STR): Likewise.
10594         (FTOSTR): Likewise.
10596 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10598         [BZ #20156]
10599         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10600         to itself when zero or not finite.
10601         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10602         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10603         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10604         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10606 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
10608         [BZ #20153]
10609         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10610         x * x + x for infinities and NaNs.
10612         [BZ #20151]
10613         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10614         argument to itself before returning result.
10615         (__ieee754_y0l): Likewise.
10616         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10617         (__ieee754_y1l).
10619         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10620         (atan_test_data): Likewise.
10621         (ceil_test_data): Likewise.
10622         (cos_test_data): Likewise.
10623         (cosh_test_data): Likewise.
10624         (erf_test_data): Likewise.
10625         (exp2_test_data): Likewise.
10626         (fabs_test_data): Likewise.
10627         (floor_test_data): Likewise.
10628         (ilogb_test_data): Likewise.
10629         (j0_test_data): Likewise.
10630         (j1_test_data): Likewise.
10631         (jn_test_data): Likewise.
10632         (lgamma_test_data): Likewise.
10633         (lrint_test_data): Likewise.
10634         (llrint_test_data): Likewise.
10635         (logb_test_data): Likewise.
10636         (lround_test_data): Likewise.
10637         (llround_test_data): Likewise.
10638         (nearbyint_test_data): Likewise.
10639         (rint_test_data): Likewise.
10640         (round_test_data): Likewise.
10641         (sin_test_data): Likewise.
10642         (sincos_test_data): Likewise.
10643         (sinh_test_data): Likewise.
10644         (sqrt_test_data): Likewise.
10645         (tan_test_data): Likewise.
10646         (tanh_test_data): Likewise.
10647         (tgamma_test_data): Likewise.
10648         (trunc_test_data): Likewise.
10649         (y0_test_data): Likewise.
10650         (y1_test_data): Likewise.
10651         (yn_test_data): Likewise.
10653         * math/libm-test.inc: Update comment about NaN testing.
10654         (TEST_SNAN): New macro.
10655         (snan_value): Likewise.
10656         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10657         (fpclassify_test_data): Add sNaN tests.
10658         (isfinite_test_data): Likewise.
10659         (isinf_test_data): Likewise.
10660         (isnan_test_data): Likewise.
10661         (isnormal_test_data): Likewise.
10662         (issignaling_test_data): Likewise.
10663         (signbit_test_data): Likewise.
10664         * math/gen-libm-test.pl (%beautify): Add snan_value.
10665         (show_exceptions): Add argument $test_snan.
10666         (parse_args): Handle snan_value as non-finite.  Update call to
10667         show_exceptions.
10668         * math/Makefile (libm-test-no-inline-cflags): Add
10669         -fsignaling-nans.
10671 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10673         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10674         (CFLAGS-oldsendmsg.c): Add rule.
10675         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10676         Correct recvmsg symbol name.
10677         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10678         Likewise.
10680 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10682         * sysdeps/unix/sysv/linux/Makefile
10683         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10684         oldsendmmsg.
10685         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10686         sendmmsg.
10687         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10688         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10689         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10690         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10692         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10693         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10695         Likewise.
10696         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10697         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10698         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10699         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10700         iovlen and controllen fields to adjust to POSIX specification.
10701         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10703         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10704         and change to correct expected type.
10705         (msghdr.msg_controllen): Likewise.
10706         (cmsghdr.cmsg_len): Likewise.
10707         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10708         expected POSIX assumption about the size.
10709         (msghdr.msg_controllen): Likewise.
10710         (msghdr.__glibc_reserved1): Likewise.
10711         (msghdr.__glibc_reserved2): Likewise.
10712         (cmsghdr.cmsg_len): Likewise.
10713         (cmsghdr.__glibc_reserved1): Likewise.
10714         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10715         Add ptw-oldrecvmsg and ptw-oldsendmsg.
10716         (CFLAGS-sendmsg.c): Remove rule.
10717         (CFLAGS-recvmsg.c): Likewise.
10718         (CFLAGS-oldsendmsg.c): Add rule.
10719         (CFLAGS-oldrecvmsg.c): Likewise.
10720         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10721         recvmsg and sendmsg.
10722         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10723         Likewise.
10724         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10725         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10726         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10727         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10728         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10729         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10730         Likewise.
10731         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10732         Likewise.
10733         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10734         Likewise.
10735         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10736         Likewise.
10737         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10738         Likewise.
10739         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10740         Likewise.
10741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10742         (GLIBC_2.24): Likewise.
10743         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10744         Likewise.
10745         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10746         Likewise.
10747         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10748         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10749         Likewise.
10750         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10751         Likewise.
10752         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10753         Likewise.
10754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10755         (GLIBC_2.24): Likewise.
10756         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10757         Likewise.
10758         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10759         Likewise.
10760         * sysdeps/unix/sysv/linux/Makefile
10761         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10762         (CFLAGS-sendmsg.c): Add rule.
10763         (CFLAGS-recvmsg.c): Likewise.
10764         (CFLAGS-oldsendmsg.c): Likewise.
10765         (CFLAGS-oldrecvmsg.c): Likewise.
10766         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10767         initialization.
10768         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10769         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10770         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10771         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10772         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10773         iovlen and controllen fields to adjust to POSIX specification.
10774         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10775         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10776         added recvmsg and sendmsg.
10777         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10778         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10779         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10780         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10781         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10782         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10783         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10784         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10785         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10786         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10787         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10788         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10790         Likewise.
10791         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10793         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10794         Likewise.
10795         Likewise.
10796         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10797         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10798         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10799         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10800         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10801         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10803         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10805         Likewise.
10806         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10807         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10809         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10810         from auto-generation.
10811         (sendmsg): Likewise.
10812         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10813         (sendmsg): Likewise.
10814         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10815         (sendmsg): Likewise.
10816         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10817         (sendmsg): Likewise.
10818         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10819         (sendmsg): Likewise.
10820         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10821         (sendmsg): Likewise.
10822         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10823         Likewise.
10824         (sendmsg): Likewise.
10825         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10826         (sendmsg): Likewise.
10827         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10828         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10829         Remove.
10830         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10831         Likewise.
10832         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10833         Undefine.
10834         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10835         Likewise.
10836         * sysdeps/unix/sysv/linux/kernel-features.h
10837         (__ASSUME_SENDMSG_SYSCALL): Define.
10838         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10839         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10840         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10841         Remove.
10842         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10843         Likewise.
10844         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10845         Undefine.
10846         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10847         Likewise.
10848         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10849         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10850         Remove.
10851         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10852         Likewise.
10853         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10854         Undefine.
10855         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10856         Likewise.
10857         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10858         (__ASSUME_SENDMSG_SYSCALL): Undefine.
10859         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10860         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10861         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10862         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10863         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10864         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10865         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10867 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10869         * stdlib/gen-tst-strtod-round.c: Add backslash to
10870         compile command in comment.
10871         (printfp): Remove the literal suffix, and define an infinite
10872         value as INF to avoid expansion clash with INFINITY.
10873         (round_str): Remove the literal suffix.
10874         (round_for_all): Likewise, remove the now duplicate ldbl-64
10875         entry, and remove some magic constants.
10877         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10878         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
10879         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10880         (_CONCAT): New macro.
10881         (CONCAT): Likewise.
10882         (CHOOSE_ld): Likewise.
10883         (CHOOSE_f): Likewise.
10884         (CHOOSE_d): Likewise.
10885         (FTYPE_MEMBER): Likewise.
10886         (BOOL_MEMBER): Likewise.
10887         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10888         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10889         (_XNTRY): Likewise.
10890         (XNTRY): Likewise.
10891         (_ENTRY): Likewise.
10892         (ENTRY): Likewise.
10893         (test_exactness): Generate members via macro.
10894         (test_results): Likewise.
10895         (test): Update members.
10896         (TEST): Redefine using new macros.
10897         (INF): New macro.
10898         (fetestmodes): New structure.
10899         (do_test): Refactor to be type generic.
10900         (test_in_one_mode): Refactor duplicate code into
10901         (GEN_ONE_TEST): New macro.
10903         * stdlib/tst-strtod-round-data.h: Regenerate.
10905         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10906         Extend to pass additional arbitrary parameters to
10907         generators.
10909 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10911         [BZ #15479]
10912         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10913         floating-point state after first floating-point operation on
10914         input.  Restore full floating-point state instead of just rounding
10915         mode.
10916         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10917         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10918         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10919         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10920         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10922         [BZ #15479]
10923         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10924         floating-point state after first floating-point operation on
10925         input.  Restore full floating-point state instead of just rounding
10926         mode.
10927         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10928         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10929         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10930         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10931         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10933 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10935         [BZ #19727]
10936         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10937         valid high surrogate.
10938         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10939         of an utf16 surrogate.
10940         * iconv/gconv_simple.c (BODY): Likewise.
10941         * iconvdata/bug-iconv12.c: New file.
10942         * iconvdata/Makefile (tests): Add bug-iconv12.
10944 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10946         [BZ #19726]
10947         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10948         outptrp in case of an illegal input.
10949         * iconv/tst-iconv6.c: New file.
10950         * iconv/Makefile (tests): Add tst-iconv6.
10952 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10954         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10955         an error in case of a value in range of an utf16 low surrogate.
10957 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10959         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10960         an error in case of a value in range of an utf16 low surrogate.
10962 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10964         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10965         Move to ...
10966         * sysdeps/s390/Makefile: ... here.
10967         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10968         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10969         (BRANCH_ON_COUNT): New define.
10970         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10971         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10972         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10973         run on s390-32, too.
10974         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10975         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10976         run on s390-32, too.
10977         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10978         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10979         run on s390-32, too.
10981 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10983         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10984         etf3eh or new vector loop-variant.
10986 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10988         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10989         etf3eh or new vector loop-variant.
10991 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10993         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10994         or new vector loop-variant.
10996 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10998         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10999         Rename to TR_LOOP and usage of tr instead of troo instruction.
11001 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11003         * sysdeps/s390/multiarch/gconv_simple.c: New File.
11004         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
11006 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11008         * sysdeps/s390/multiarch/8bit-generic.c: New File.
11009         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
11010         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
11011         New override define.
11012         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
11014 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11016         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
11017         * sysdeps/s390/configure.ac: Add test for S390 vector register
11018         support in gcc.
11019         * sysdeps/s390/configure: Regenerated.
11021 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11023         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
11024         Install file from $(objpfx)gconv-modules.
11025         ($(objpfx)gconv-modules): Concatenate architecture specific file
11026         in variable sysdeps-gconv-modules and gconv-modules in src dir.
11027         * sysdeps/s390/gconv-modules: New file.
11028         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
11029         Deleted.
11030         ($(objpfx)gconv-modules-s390): Deleted.
11031         (sysdeps-gconv-modules): New variable.
11033 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
11035         [BZ #15479]
11036         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
11037         of immediate operand to rounding instruction.
11038         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
11039         Likewise.
11040         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
11041         Likewise.
11042         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
11043         Likewise.
11045 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11047         * math/libm-test.inc (MIN_EXP): Directly define as
11048         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
11050 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11052         * math/libm-test.inc (MANT_DIG): Directly define as
11053         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
11055 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11057         * stdlib/gen-tst-strtod-round.c (main):
11058           Change usage to more closely match the generated
11059           output.  Add usage and compilation instructions.
11060           (string_to_fp): Add and use FILE* parameter as
11061           output target.
11062           (print_fp): Likewise.
11063           (round_str): Likewise.
11064           (round_for_all): Likewise.
11065         * stdlib/tst-strtod-round.c (tests): Move into
11066         * stdlib/tst-strtod-round-data.h: New file.
11068 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
11070         [BZ #15479]
11071         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
11072         (__round): Do not force "inexact" exception.
11073         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
11074         variable.
11075         (__round): Do not force "inexact" exception.
11076         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
11077         (__roundf): Do not force "inexact" exception.
11078         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
11079         (__roundl): Do not force "inexact" exception.
11080         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
11081         (__roundl): Do not force "inexact" exception.
11082         * math/libm-test.inc (round_test_data): Do not allow spurious
11083         "inexact" exceptions.
11085         [BZ #15479]
11086         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
11087         exception in comment.
11088         (huge): Remove variable.
11089         (__floor): Do not force "inexact" exception.
11090         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
11091         "inexact" exception in comment.
11092         (huge): Remove variable.
11093         (__floor): Do not force "inexact" exception.
11094         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
11095         exception in comment.
11096         (huge): Remove variable.
11097         (__floorf): Do not force "inexact" exception.
11098         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
11099         exception in comment.
11100         (huge): Remove variable.
11101         (__floorl): Do not force "inexact" exception.
11103         [BZ #15479]
11104         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
11105         exception in comment.
11106         (huge): Remove variable.
11107         (__ceil): Do not force "inexact" exception.
11108         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
11109         "inexact" exception in comment.
11110         (huge): Remove variable.
11111         (__ceil): Do not force "inexact" exception.
11112         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
11113         (__ceilf): Do not force "inexact" exception.
11114         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11115         exception in comment.
11116         (huge): Remove variable.
11117         (__ceill): Do not force "inexact" exception.
11119 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11121         * config.h.in (BIND_NOW): New.
11122         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
11123         * configure: Regenerated.
11124         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11125         indirect branch via the GOT slot.
11127 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11129         [BZ #19765]
11130         * sysdeps/s390/mempcpy.S: New File.
11131         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11132         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11133         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11134         Add mempcpy variants.
11135         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11136         (memcpy): Adjust to be usable from mempcpy entry point.
11137         (__memcpy_mvcle): Likewise.
11138         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11139         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11140         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11141         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11142         (__memcpy_z10): Likewise.
11143         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11145 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11147         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11148         Remove __GI_ symbol.
11149         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11150         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11151         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11152         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11153         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11154         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11156 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11158         * sysdeps/s390/s390-64/memcpy.S (memcpy):
11159         Use cghi instead of chi to compare 64bit value.
11161 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11163         * sysdeps/s390/s390-32/memcpy.S (memcpy):
11164         Jump to 1MB check before executing mvc-loop.
11166 2016-05-24  Florian Weimer  <fweimer@redhat.com>
11168         [BZ #6527]
11169         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11170         unconditionally.
11171         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11173 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11175         * stdlib/tst-strtod6.c (do_test): Use new type generic
11176         invocation of the test function.
11177         (test): Refactor into ...
11178         (TEST_STRTOD): New macro base function.
11180 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11182         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11183         (TEST_STRTOD): New macro.
11184         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11186 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11188         * stdlib/tst-strtod6.c (do_test): Use new type generic
11189         invocation of the test function.
11190         (test): Refactor into ...
11191         (TEST_STRTOD): New macro base function.
11193 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11195         CVE-2016-4429
11196         [BZ #20112]
11197         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11198         payload.
11200 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11202         [BZ #20111]
11203         * bits/sockaddr.h (_SS_SIZE): Define.
11204         * bits/socket.h (_SS_SIZE): Remove.
11205         (_SS_PADSIZE): Adjust to account for all padding.
11206         (struct sockaddr_storage): Update comment.  Avoid implicit
11207         padding.
11208         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11209         (_SS_PADSIZE): Adjust to account for all padding.
11210         (struct sockaddr_storage): Update comment.  Avoid implicit
11211         padding.
11212         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11213         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
11214         (_SS_PADSIZE): Adjust to account for all padding.
11215         (struct sockaddr_storage): Update comment.  Avoid implicit
11216         padding.
11217         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11218         __SS_SIZE is 126 in this version.
11219         * inet/tst-sockaddr.c: New file.
11220         * inet/Makefile (tests): Add tst-sockaddr.c
11221         (tst-sockaddr.c): Compile with non-strict aliasing.
11223 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
11225         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11226         [XPG3 || XPG4].
11227         (NL_ARGMAX): Also expect for [XPG3].
11228         (NL_LANGMAX): Likewise.
11229         (NL_MSGMAX): Likewise.
11230         (NL_NMAX): Likewise.
11231         (NL_SETMAX): Likewise.
11232         (NL_TEXTMAX): Likewise.
11233         (NZERO): Likewise.
11234         (TMP_MAX): Likewise.
11235         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11236         variable.
11238         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11239         (PF_MAX): Update value.
11240         (AF_KCM): New macro.
11241         (SOL_NETBEUI): Likewise.
11242         (SOL_LLC): Likewise.
11243         (SOL_DCCP): Likewise.
11244         (SOL_NETLINK): Likewise.
11245         (SOL_TIPC): Likewise.
11246         (SOL_RXRPC): Likewise.
11247         (SOL_PPPOL2TP): Likewise.
11248         (SOL_BLUETOOTH): Likewise.
11249         (SOL_PNPIPE): Likewise.
11250         (SOL_RDS): Likewise.
11251         (SOL_IUCV): Likewise.
11252         (SOL_CAIF): Likewise.
11253         (SOL_ALG): Likewise.
11254         (SOL_NFC): Likewise.
11255         (SOL_KCM): Likewise.
11256         (MSG_BATCH): New enum value and macro.
11258 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
11260         [BZ #18185]
11261         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11262         sharing L2 cache to 2 for Knights Landing.
11264 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
11266         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11267         (FTW_DP): Do not expect for [XPG3 || XPG4].
11268         (FTW_SL): Do not expect for [XPG3].
11269         (FTW_SLN): Likewise.
11270         (FTW_PHYS): Likewise.
11271         (FTW_MOUNT): Likewise.
11272         (FTW_DEPTH): Likewise.
11273         (FTW_CHDIR): Likewise.
11274         (nftw): Likewise.
11275         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11276         variable.
11278 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11280         * manual/errno.texi: Fix various typos & grammar errors.
11282 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11284         * manual/intro.texi: Fix duplicated typo.
11286 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11288         [BZ #13304]
11289         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11290         <float.h>, <math_private.h> and <stdlib.h>.
11291         (add_split): New function.
11292         (mul_split): Likewise.
11293         (ext_val): New typedef.
11294         (store_ext_val): New function.
11295         (mul_ext_val): New function.
11296         (compare): New function.
11297         (add_split_ext): New function.
11298         (__fmal): After checking for Inf, NaN and zero, compute result as
11299         an exact sum of scaled double values in round-to-nearest before
11300         adding those up and adjusting for other rounding modes.
11301         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11302         tests of fma.
11303         * math/auto-libm-test-out: Regenerated.
11305 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11307         [BZ #20119]
11308         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11309         processor level type mask for CPUID with EAX == 11.
11311 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11313         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11314         logical threads if the HTT bit is 0.
11315         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11316         (index_cpu_HTT): Likewise.
11317         (reg_HTT): Likewise.
11319 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11321         [BZ #20115]
11322         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11323         Remove alignments on jump targets.
11325 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11327         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11328         (getpwent): Likewise.
11329         (setpwent): Likewise.
11330         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11331         variable.
11333         * conform/data/search.h-data (insque): Do not expect for [XPG3].
11334         (remque): Likewise.
11335         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11336         variable.
11338 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11340         * math/libm-test.inc: Update comment not to refer to signs of NaNs
11341         not being tested.
11343 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11346         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
11347         call.
11348         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11349         (__condvar_cleanup1): Likewise.
11351 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11353         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11354         New
11355         (__pthread_unwind): Renamed to ...
11356         (PTHREAD_UNWIND): This.
11357         (__pthread_enable_asynccancel): Replace
11358         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11360 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11362         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11363         (CLONE_NEWCGROUP): New macro.
11365         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11366         (Q_GETNEXTQUOTA): New macro.
11368 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11370         [BZ #19907]
11371         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11372         buffer updated by the previous run.
11373         * string/test-memcpy.c (do_one_test): Likewise.
11374         * benchtests/bench-memmove.c (do_one_test): Add a comment.
11375         * string/test-memmove.c (do_one_test): Likewise.
11377 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
11379         [BZ #20094]
11380         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11381         not [__USE_XOPEN].
11382         (unlockpt): Likewise.
11383         (ptsname): Likewise.
11384         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11385         variable.
11387         [BZ #20076]
11388         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11389         instead of [__USE_UNIX98].
11390         (S_ISSOCK): Likewise.
11391         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11392         variable.
11394         [BZ #20074]
11395         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11396         [__USE_POSIX].
11397         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11398         variable.
11400         [BZ #20051]
11401         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11402         (ttyslot): Do not declare.
11403         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11404         (ttyslot): New prototype.
11405         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11406         variable.
11407         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11409 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11411         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11413 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11415         Fix race condition in tst-mallocfork2, use fewer resources.
11416         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11417         to current process group.
11418         (signal_sender): Yield in the non-sleeping case.
11420 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
11422         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11423         (ecvt): Likewise.
11424         (fcvt): Likewise.
11425         (gcvt): Likewise.
11426         (getsubopt): Likewise.
11427         (grantpt): Likewise.
11428         (initstate): Likewise.
11429         (l64a): Likewise.
11430         (mktemp): Likewise.
11431         (mkstemp): Likewise.
11432         (ptsname): Likewise.
11433         (random): Likewise.
11434         (realpath): Likewise.
11435         (setstate): Likewise.
11436         (srandom): Likewise.
11437         (ttyslot): Likewise.
11438         (unlockpt): Likewise.
11439         (valloc): Likewise.
11441         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11442         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11443         variable.
11445 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11447         [BZ #20072]
11448         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11449         init_cpu_features only if SHARED is defined.
11450         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11452 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11454         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11455         non-inclusive caches on Intel processors.
11457 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11459         * malloc/malloc.c (dumped_main_arena_start)
11460         (dumped_main_arena_end): New variables.
11461         (DUMPED_MAIN_ARENA_CHUNK): New macro.
11462         (do_check_chunk): Skip dumped fake mmapped chunks.
11463         (munmap_chunk): Likewise.
11464         (__libc_free): Do not adjust statistics for fake mmapped chunks.
11465         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
11466         mmapped chunks.
11467         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11468         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
11469         and dumped_main_arena_end to cover the dumped heap.
11471 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
11473         * conform/data/time.h-data (getdate_err): Do not expect for
11474         [XPG3].
11475         (getdate): Likewise.
11476         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11477         variable.
11479         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11480         (F_ULOCK): Likewise.
11481         (F_TEST): Likewise.
11482         (F_TLOCK): Likewise.
11483         (useconds_t): Likewise.
11484         (intptr_t): Do not expect for [XPG3] or [XPG4].
11485         (brk): Do not expect for [XPG3]
11486         (fchown): Likewise.
11487         (fchdir): Likewise.
11488         (ftruncate): Likewise.
11489         (getdtablesize): Likewise.
11490         (gethostid): Likewise.
11491         (getpagesize): Likewise.
11492         (getpgid): Likewise.
11493         (getsid): Likewise.
11494         (getwd): Likewise.
11495         (lchown): Likewise.
11496         (lockf): Likewise.
11497         (readlink): Likewise.
11498         (sbrk): Likewise.
11499         (setpgrp): Likewise.
11500         (setregid): Likewise.
11501         (setreuid): Likewise.
11502         (symlink): Likewise.
11503         (sync): Likewise.
11504         (truncate): Likewise.
11505         (ualarm): Likewise.
11506         (usleep): Likewise.
11507         (vfork): Likewise.
11508         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11509         variable.
11511         [BZ #20054]
11512         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11513         not [__USE_UNIX98].
11514         * conform/data/unistd.h-data (gethostname): Do not expect for
11515         [XPG3].
11517         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11518         [!POSIX] (S_IFBLK): Likewise.
11519         [!POSIX] (S_IFCHR): Likewise.
11520         [!POSIX] (S_IFIFO): Likewise.
11521         [!POSIX] (S_IFREG): Likewise.
11522         [!POSIX] (S_IFDIR): Likewise.
11523         [!POSIX] (S_IFLNK): Likewise.
11524         [!POSIX] (S_IFSOCK): Likewise.
11525         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11526         variable.
11527         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11529 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
11531         * sysdeps/aarch64/memset.S (__memset):
11532         Rewrite of optimized memset.
11534 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11536         [BZ #19703]
11537         Partially async-signal-safe fork for single-threaded processes.
11538         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11539         variable.  Do not acquire and reset/release malloc and libio locks
11540         in single-threaded processes.
11541         * malloc/tst-mallocfork2.c: New file.
11542         * malloc/Makefile (tests): Add it.
11544 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11546         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11547         argument.  Use scratch buffer instead of extend_alloca.
11548         (gethosts): Use scratch buffer instead of extend_alloca.
11549         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
11550         extend_alloca.
11551         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11553 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
11555         [BZ #20055]
11556         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11557         instead of [__USE_UNIX98].
11558         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11559         [__USE_UNIX98].
11560         * conform/data/termios.h-data (tcgetsid): Do not expect for
11561         [XPG3].
11562         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11563         variable.
11564         (test-xfail-XPG4/termios.h/conform): Likewise.
11566 2016-05-11  Florian Weimer  <fweimer@redhat.com>
11568         Do not use mcheck in localedef.
11569         * locale/programs/localedef.c (turn_on_mcheck)
11570         (__malloc_initialize_hook): Remove.
11572 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11574         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11575         * sysdeps/s390/s390-64/Makefile: Likewise.
11577 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11579         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11580         Remove ifunc-defines.sym.
11581         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11582         Likewise.
11583         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11584         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11585         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11586         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11587         rtld-global-offsets.sym.
11588         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11589         * sysdeps/x86/cpu-features-offsets.sym: This.
11590         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11591         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11593 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
11595         [BZ #20073]
11596         * io/sys/stat.h (fchmod): Declare for
11597         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11598         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11599         variable.
11601         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11602         [XPG3] (S_IFSOCK): Likewise.
11603         [XPG3] (S_ISVTX): Likewise.
11604         [XPG3] (S_ISLNK): Likewise.
11605         [XPG3] (S_ISSOCK): Likewise.
11606         [XPG3] (fchmod): Likewise.
11607         [XPG3] (lstat): Likewise.
11608         [XPG3] (mknod): Likewise.
11610         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11611         [XPG3].  Expect type long and XFAIL for [XPG4].
11612         (st_blocks): Likewise.
11614         [BZ #20044]
11615         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11616         (pthread_atfork): New prototype.
11617         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11618         variable.
11620         [BZ #20043]
11621         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11622         prototype.
11624 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11626         [BZ #20017]
11627         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11628         gmtime.
11630 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11632         [BZ #19994]
11633         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11634         flag in _res.options.
11636 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
11638         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11639         [XPG3 || XPG4].
11640         (blksize_t): Likewise.
11641         (clockid_t): Likewise.
11642         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11643         variable.
11644         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11646 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11648         * sysdeps/unix/sysv/linux/s390/init-first.c:
11649         Add VDSO_SYMBOL(getcpu).
11650         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11651         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11652         Add VDSO_SYMBOL(getcpu).
11653         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11654         New define HAVE_GETCPU_VSYSCALL.
11655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11657 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11659         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11660         instead of <sysdeps/x86_64/cacheinfo.c>.
11661         * sysdeps/x86_64/cacheinfo.c: Moved to ...
11662         * sysdeps/x86/cacheinfo.c: Here.
11664 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11666         * malloc/malloc-internal.h: Adjust header file guard.
11668 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11670         [BZ #19787]
11671         * inet/getnameinfo.c (check_sprintf_result): New function.
11672         (CHECKED_SNPRINTF): New macro.
11673         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11674         to the host buffer.
11675         (gni_host_local): Use checked_copy to copy the host name.
11676         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11677         (gni_serv_local): Use checked_copy to copy the service name.
11678         (getnameinfo): Remove unnecessary truncation of result buffers.
11680 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11682         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11683         in case of inet_ntop failure.
11685 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11687         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11688         avoid long lines.
11689         (gni_host_inet_numeric): Likewise.  Reduce scope of local
11690         variables.
11691         (gni_host_inet, gni_host_local): Add comment.
11692         (gni_host): Add comment.  Use temporary to avoid long lines.
11694 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11696         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11697         registers specifiers where general purpose registers specifiers should
11698         have been used.
11700 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11702         [BZ #19779]
11703         CVE-2016-1234
11704         Avoid copying names of directory entries.
11705         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11706         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11707         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11708         (struct readdir_result): New type.
11709         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11710         (GL_READDIR): New macros.
11711         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11712         (convert_dirent, convert_dirent64): New functions.
11713         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
11714         convert_dirent64.  Adjust references to the readdir result.
11715         * sysdeps/unix/sysv/linux/i386/glob64.c:
11716         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11717         * posix/bug-glob2.c (LONG_NAME): Define.
11718         (filesystem): Add LONG_NAME.
11719         (my_DIR): Increase the size of room_for_dirent.
11721 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
11723         [BZ #20041]
11724         * misc/sys/select.h (__need_timespec): Only define if
11725         [__USE_XOPEN2K].
11726         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11727         variable.
11728         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11729         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11730         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11732 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11733             Segher Boessenkool  <segher@gcc.gnu.org>
11735         [BZ #20004]
11736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11737         (__novec_swapcontext): Add missing load.
11739 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
11741         [BZ #20023]
11742         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11743         <time.h>.
11744         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11745         variable.
11746         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11748 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11751         flags CLONE_VM compare.
11753 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11755         [BZ #20031]
11756         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11757         completely empty.
11759 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11761         [BZ #19573]
11762         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11763         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11764         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11765         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11766         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11767         (hesiod_free_list): Mark as hidden.
11768         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11769         res_set, res_get.
11770         * hesiod/hesiod.c: Remove unnecessary forward declarations.
11771         (init, __hesiod_res_get, __hesiod_res_set): Remove.
11772         (hesiod_init): Remove obsolete res_ninit call.
11773         (hesiod_end): Do not free resolver state.  Do not invoke callback.
11774         (hesiod_bind): Do not call init.
11775         (get_txt_records): Use res_mkquery, res_send instead of
11776         res_nmkquery, res_nsend.
11777         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11778         instead of _nss_hesiod_init.
11779         (_nss_hesiod_initgroups_dyn): Likewise.
11780         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11781         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11782         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11784 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11786         * hesiod/hesiod_p.h (DEF_RHS): Remove.
11787         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11789 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11791         * hesiod/hesiod.h: Remove RCS keyword.
11792         * hesiod/hesiod_p.h: Likewise.
11794         * hesiod/hesiod.c: Likewise.
11796 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
11798         [BZ #12450]
11799         * locale/iso-639.def: Add Samogitian/sgs.
11801 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
11803         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11805         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11807 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
11808             Carlos O'Donell  <carlos@redhat.com>
11810         [BZ #19072]
11811         * grp/Makefile (headers): Add grp-merge.h
11812         (routines): Add grp-merge.
11813         * grp/getgrgid_r.c: Include grp-merge.h.
11814         (DEEPCOPY_FN): Define.
11815         (MERGE_FN): Define.
11816         * grp/getgrname_r.c: Include grp-merge.h.
11817         (DEEPCOPY_FN): Define.
11818         (MERGE_FN): Define.
11819         * grp/grp-merge.c: New file.
11820         * grp/grp-merge.h: New file.
11821         * include/grp-merge.h: New file.
11822         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11823         __copy_grp@GLIBC_PRIVATE.
11824         * manual/nss.texi (Actions in the NSS configuration): Describe
11825         return, continue, and merge.
11826         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11827         (DEEPCOPY_FN): Define.
11828         (MERGE_FN): Define.
11829         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11830         (DEEPCOPY_FN): Define.
11831         (MERGE_FN): Define.
11832         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11833         [!MERGE_FN]: Define __merge_einval.
11834         (CHECK_MERGE): Define.
11835         (REENTRANT_NAME): Process merge if do_merge is true.
11836         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11837         (__nss_getent_r): Likewise.
11838         * nss/nsswitch.c (nss_parse_service_list): Likewise.
11839         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11841 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11843         [BZ #20012]
11844         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11845         length to calculate the buffer to read.
11846         (fmemopen_write): Set the buffer position based on bytes written.
11847         (fmemopen_seek): Return EINVAL for invalid whence modes.
11849         [BZ #19957]
11850         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11851         tst-getpid2.
11852         (test): Add tst-clone2.
11853         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11854         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11855         pid/tid fields for CLONE_VM.
11856         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11857         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11858         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11859         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11860         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11861         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11862         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11863         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11865         Likewise.
11866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11867         Likewise.
11868         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11869         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11870         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11871         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11872         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11873         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11874         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11875         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11877 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11879         [BZ #19642]
11880         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11881         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11882         (gni_serv_local, gni_serv): New functions extracted from
11883         getnameinfo.
11884         (getnameinfo): Call gni_host and gni_serv to perform the
11885         processing.  Always free scratch buffer.
11887 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11889         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11890         remaining bytes in the dest string, with zeros.
11892 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11894         [BZ #20010]
11895         CVE-2016-3706
11896         * sysdeps/posix/getaddrinfo.c
11897         (convert_hostent_to_gaih_addrtuple): New function.
11898         (gethosts): Call convert_hostent_to_gaih_addrtuple.
11899         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11900         AF_INET data.
11902 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11904         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11905         callback function gl_readdir.
11906         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11907         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11908         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11909         memcpy to copy the name.
11910         * manual/pattern.texi (Calling Glob): Document requirements for
11911         implementations of the gl_readdir callback function.
11912         * manual/examples/mkdirent.c: New example.
11913         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11914         per the manual guidance.
11915         * posix/tst-gnuglob.c (my_readdir): Likewise.
11917 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11919         [BZ #20014]
11920         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11921         not [__USE_POSIX].
11922         (getchar_unlocked): Likewise.
11923         (putc_unlocked): Likewise.
11924         (putchar_unlocked): Likewise.
11925         (flockfile): Likewise.
11926         (ftrylockfile): Likewise.
11927         (funlockfile): Likewise.
11928         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11929         variable.
11930         (test-xfail-XPG4/stdio.h/conform): Likewise.
11932         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11933         Expect constant.
11934         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11935         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11936         variable.
11937         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11938         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11940         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11941         [__USE_LARGEFILE64] (off64_t): Likewise.
11942         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11943         variable.
11945 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11947         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11949 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11951         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11952         * resolv/res_init.c: Likewise.
11953         * resolv/res_mkquery.c: Likewise.
11955 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11957         * resolv/res_init.c (isascii): Do not define.  Use definition in
11958         <ctype.h>.
11959         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11960         (LOG_AUTH): Remove.
11961         (SPRINTF): Remove, adjust caller.
11962         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11964 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11966         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11967         SUNSECURITY conditional.
11968         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11970 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11972         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11973         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11974         Remove BSD-related preprocessor conditionals.
11975         * conf/portability.h: Remove.
11977 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11979         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11980         * resolv/res_data.c: Likewise.
11982 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11984         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11985         * resolv/res_data.c: Remove code conditional on ultrix.
11987 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11989         * resolv/res_init.c (RFC1535): Do not define.  Remove
11990         RFC1535 preprocessor conditionals.
11991         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11992         because there configuration options which make the resolver
11993         behavior different.
11995 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11997         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11998         RESOLVSORT preprocessor conditionals.
11999         * resolv/nss_dns/dns-host.c: Likewise.
12000         * resolv/res_init.c: Likewise.
12002 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12004         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
12005         is never defined.
12007 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12009         * inet/inet_lnaof.c: Remove SCSS keyword.
12010         * inet/inet_mkadr.c: Likewise.
12011         * inet/inet_net.c: Likewise.
12012         * inet/inet_netof.c: Likewise.
12013         * inet/rcmd.c: Likewise.
12014         * inet/rexec.c: Likewise.
12015         * inet/ruserpass.c: Likewise.
12017 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12019         * resolv/inet_addr.c: Remove _LIBC conditionals.
12020         * resolv/res_data.c: Likewise.
12021         * resolv/res_init.c: Likewise.
12022         * resolv/res_mkquery.c: Likewise.
12023         * resolv/res_libc.c: Update comment.
12024         * resolv/README: Update.
12026 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12028         * resolv/gethnamaddr.c: Remove SCSS keyword.
12029         * resolv/herror.c: Likewise.
12030         * resolv/inet_addr.c: Likewise.
12031         * resolv/inet_net_ntop.c: Likewise.
12032         * resolv/inet_net_pton.c: Likewise.
12033         * resolv/inet_neta.c: Likewise.
12034         * resolv/inet_ntop.c: Likewise.
12035         * resolv/inet_pton.c: Likewise.
12036         * resolv/ns_date.c: Remove RCS keyword.
12037         * resolv/ns_name.c: Likewise.
12038         * resolv/ns_netint.c: Likewise.
12039         * resolv/ns_parse.c: Likewise.
12040         * resolv/ns_print.c: Likewise.
12041         * resolv/ns_samedomain.c: Likewise.
12042         * resolv/ns_ttl.c: Likewise.
12043         * resolv/nsap_addr.c: Likewise.
12044         * resolv/res_comp.c: Remove SCSS and RCS keyword.
12045         * resolv/res_data.c: Remove RCS keyword.
12046         * resolv/res_debug.c: Remove SCSS and RCS keyword.
12047         * resolv/res_init.c: Likewise.
12048         * resolv/res_mkquery.c: Likewise.
12049         * resolv/res_query.c: Likewise.
12050         * resolv/res_send.c: Likewise.
12052 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
12054         * conform/data/stdio.h-data (fdopen): Expect also for
12055         [XPG3 || XPG4].
12057         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
12058         (fseeko): Likewise.
12059         (ftello): Likewise.
12060         (ftrylockfile): Likewise.
12061         (funlockfile): Likewise.
12062         (getc_unlocked): Likewise.
12063         (getchar_unlocked): Likewise.
12064         (putc_unlocked): Likewise.
12065         (putchar_unlocked): Likewise.
12067 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12069         [BZ #19868]
12070         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
12071         DNS packet syntax checks (which were not needed before).  Skip
12072         over non-PTR records.
12074 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12076         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
12077         definition.  Include <stddef.h> instead.
12079 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12081         [BZ #19831]
12082         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
12083         function.
12084         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
12085         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
12087 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12089         [BZ #19862]
12090         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
12091         (getanswer_r): Do not call syslog.
12092         (gaih_getanswer_slice): Likewise.
12093         * resolv/gethnamaddr.c (AskedForGot): Remove.
12094         (getanswer): Do not call syslog.
12095         (gethostbyaddr): Likewise.
12097 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
12099         * conform/data/signal.h-data (union sigval): Expect also if
12100         [XOPEN2K].
12101         (struct sigevent): Likewise.
12102         (SIGEV_NONE): Likewise.
12103         (SIGEV_SIGNAL): Likewise.
12104         (SIGEV_THREAD): Likewise.
12105         (SIGRTMIN): Likewise.
12106         (SIGRTMAX): Likewise.
12107         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
12108         variable.
12109         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12111 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12113         [BZ #19830]
12114         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12115         (gaih_getanswer_slice): Likewise.
12116         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12117         Also check for availability of RR metadata.
12119 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12121         [BZ #19825]
12122         * resolv/res_send.c (send_vc): Remove early *resplen2
12123         initialization.  Set *resplen2 on socket error.  Call
12124         close_and_return_error for other errors.
12126 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
12128         * sysdeps/unix/sysv/linux/netiucv/iucv.h
12129         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12130         (SCM_IUCV_TRGCLS): New define.
12132 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12134         [BZ #20005]
12135         * libio/fmemopen.c (fmemopen_write): Update internal position after
12136         write.
12137         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12138         * stdio-common/tst-fmemopen4.c: New file..
12140 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
12142         [BZ #19996]
12143         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12144         not [__USE_XOPEN2K].
12145         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12146         variable.
12148         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12149         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12150         variable.
12152         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12153         [__USE_XOPEN2K8].
12154         [__USE_LARGEFILE64] (off64_t): Likewise.
12155         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12156         variable.
12158 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
12160         [BZ #19989]
12161         * libio/stdio.h (cuserid): Do not declare if
12162         [__USE_XOPEN2K && !__USE_GNU].
12163         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12164         variable.
12166 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12168         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12169         (sysdep_routines): Add P8 and PPC64 strcspn targets.
12170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12171         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12172         ifunc'ed strcspn.
12173         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12174         [EALIGN]: Removed.
12175         [END]: Likewise
12176         [STRSPN]: Define instead of the above to control symbol name.
12177         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12178         New file.
12179         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12180         Likewise.
12181         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12182         Likewise.
12183         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12184         Likewise.
12185         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12186         [INITIAL_MASK]: New macro.
12187         [STRCSPN]: Likewise.
12188         [UPDATE_MASK]: Likewise.
12189         [USE_AS_STRCSPN]: Likewise.
12191 2016-04-25  Florian Weimer  <fweimer@redhat.com>
12193         [BZ #19931]
12194         * stdio-common/tst-vfprintf-width-prec.c: New file.
12195         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12196         (tests-special): Add tst-vfprintf-width-prec-mem.out.
12197         (generated): Add mtrace-related files.
12198         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12199         (tst-%-mem.out): New pattern rule, replaces
12200         tst-printf-bz18872-mem.out.
12201         * stdio-common/vfprintf.c (vfprintf): When handling a precision
12202         specifier, deallocate any previously allocated work buffer.
12204 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12206         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12207         Add nop before __startcontext, add explaining comments.
12209 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
12211         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12212         any more. Notably since IPV6_PKTINFO has been reintroduced with a
12213         completely different API.
12215         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12216         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12217         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12218         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12219         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12220         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12221         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12222         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12223         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12224         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12226 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
12228         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12230 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
12232         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12233         when it is the default of 0.
12235 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12237         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
12238         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12239         (sysdep_routines): Add new strcasestr targets.
12240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12241         (__libc_ifunc_impl_list): Likewise.
12242         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12243         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12244         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12245         * sysdeps/powerpc/powerpc64/power8/Makefile:
12246         New file to add strcasestr-ppc64 to sysdep_routines.
12247         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12248         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12250 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
12252         * benchtests/Makefile (wcsmbs-benchset): Include only for
12253         native builds and runs.
12254         (LOCALES): Likewise.
12255         (bench-build): Build timing-type here instead of the bench
12256         target.  Generate locale only for native builds.
12257         * benchtests/README: Add note for cross-building.
12259         * benchtests/Makefile (bench-clean): Clean up extra-objs.
12261         * benchtests/README: Update README to include instructions on
12262         using bench-build.
12264         * Makefile.in (bench-build): New target.
12265         * Rules (PHONY): Add bench-build target.
12266         * benchtests/Makefile (bench): Depend on bench-build.
12267         (bench-build): New target.
12269 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12271         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12272         profil_reply_port.
12273         (profile_waiter): Do not initialize profil_reply_port.
12274         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12275         frequency instead of tick length in us.
12277 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
12279         [BZ #18712]
12280         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12281         (__old_mempcpy_small): Likewise.
12282         (__old_strcpy_small): Likewise.
12283         (__old_stpcpy_small): Likewise.
12284         (__old_strpbrk_c2): Fix compat symbol name.
12285         (__old_strpbrk_c3): Likewise.
12286         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12287         (__mempcpy_small): Remove.
12288         (__strcpy_small): Remove.
12289         (__stpcpy_small): Remove.
12291 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
12293         [BZ #19400]
12294         * locale/iso-639.def: Add the Talossan/tzl language.
12296 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12298         [BZ #16983]
12299         * locale/programs/ld-address.c (address_finish): Update postal_fmt
12300         comment.  Add "ln" to strchr check on postal_fmt.
12302 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12304         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12305         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
12306         tel_dom_fmt.
12308 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12310         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12311         (sysdep_routines): Added __strlen_power8.
12312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12313         __strlen_power8 entry.
12314         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12315         Implementation for POWER8.
12316         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12317         for __strlen_power8.
12318         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12319         Implementation for POWER8.
12321 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
12323         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12325 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
12327         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12328         Goldmont and Airmont processors.
12330 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
12332         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12333         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12334         (__STRING2_SMALL_GET32): Remove.
12335         (memset): Remove.
12336         (__memset_1): Remove.
12337         (__memset_gc): Remove.
12338         (__mempcpy): Remove.
12339         (mempcpy): Remove.
12340         (__mempcpy_args): Remove.
12341         (strchr): Remove.
12342         (strcpy): Remove.
12343         (strcpy_args): Remove.
12344         (__stpcpy_args): Remove.
12345         (__strcmp_cc): Remove.
12346         (__strcmp_gc): Remove.
12347         (strstr): Remove.
12349 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
12351         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12352         * nis/nis_call.c (nis_server_cache_add): Likewise.
12354 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12356         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12358 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12360         * malloc/arena.c (__malloc_fork_lock_parent)
12361         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12362         internal_function attribute.
12364 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
12366         * stdio-common/printf_fp.c (__printf_fp_l):
12367         Rename ___printf_fp_l to __printf_fp_l and
12368         remove strong alias. Use libc_hidden_def instead
12369         of ldbl_hidden_def macro.
12371 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12373         Remove malloc hooks from fork handler.  They are no longer needed
12374         because malloc runs right before fork, and no malloc calls from
12375         other fork handlers are not possible anymore.
12376         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12377         declarations.
12378         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12379         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12380         (atfork_recursive_cntr): Remove.
12381         (__malloc_fork_lock_parent): Do not override malloc hooks and
12382         thread_arena.
12383         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12384         thread_arena.
12385         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
12386         thread_arena instead of save_arena.
12388 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12390         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12391         (thread_atfork, thread_atfork_static): Remove.
12392         * sysdeps/mach/hurd/malloc-machine.h:
12393         (thread_atfork, thread_atfork_static): Remove.
12395 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12397         [BZ #19431]
12398         Run the malloc fork handler as late as possible to avoid deadlocks.
12399         * malloc/malloc-internal.h: New file.
12400         * malloc/malloc.c: Include it.
12401         * malloc/arena.c (ATFORK_MEM): Remove.
12402         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12403         Update comment.
12404         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12405         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12406         Remove outdated comment.
12407         (ptmalloc_init): Do not call thread_atfork.  Remove
12408         thread_atfork_static.
12409         * malloc/tst-malloc-fork-deadlock.c: New file.
12410         * Makefile (tests): Add tst-malloc-fork-deadlock.
12411         (tst-malloc-fork-deadlock): Link against libpthread.
12412         * manual/memory.texi (Aligned Memory Blocks): Update safety
12413         annotation comments.
12414         * sysdeps/nptl/fork.c (__libc_fork): Call
12415         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12416         __malloc_fork_unlock_child.
12417         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12419 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12421         [BZ #19613]
12422         Remove union wait.
12423         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12424         (w_stopsig, w_stopval): Remove.
12425         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12426         stat_loc argument.
12427         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12428         (__WAIT_STATUS_DEFN): Remove.
12429         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12430         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12431         (wait, wait3, wait4): Use int * for the stat_loc argument.
12432         * posix/wait.c (__wait): Likewise.
12433         * posix/wait3.c (__wait3): Likewise.
12434         * posix/wait4.c (__wait4): Likewise.
12435         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12436         (__WAIT_STATUS_DEFN): Remove.
12437         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12438         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12439         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12440         argument.
12441         * sysdeps/posix/wait.c (__libc_wait): Likewise.
12442         * sysdeps/posix/wait3.c (__wait3): Likewise.
12443         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12444         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12445         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12446         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12447         stat_loc argument.
12448         * manual/process.texi (BSD Wait Functions): Remove union wait.
12450 2016-04-13  Andreas Schwab  <schwab@suse.de>
12452         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12453         (test-extras): Add tst-tlsalign-vars.
12454         * math/Makefile: Wrap long lines.
12455         (libm-vec-test-wrappers): Define.
12456         (test-extras): Add $(libm-vec-test-wrappers).
12457         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12458         * nss/Makefile (extra-test-objs): Add nss_test1.os.
12459         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12460         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12461         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12462         (extra-test-objs): Add corresponding objects.
12464 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
12466         [BZ #19928]
12467         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12468         New.
12469         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12470         times of shared cache size.
12471         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12472         (VMOVNT): New.
12473         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12474         (VMOVNT): Likewise.
12475         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12476         (VMOVNT): Likewise.
12477         (VMOVU): Changed to movups for smaller code sizes.
12478         (VMOVA): Changed to movaps for smaller code sizes.
12479         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12480         comments.
12481         (PREFETCH): New.
12482         (PREFETCH_SIZE): Likewise.
12483         (PREFETCHED_LOAD_SIZE): Likewise.
12484         (PREFETCH_ONE_SET): Likewise.
12485         Rewrite to use forward and backward loops, which move 4 vector
12486         registers at a time, to support overlapping addresses and use
12487         non temporal store if size is above the threshold and there is
12488         no overlap between destination and source.
12490 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
12492         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12493         Include dl-vdso.
12494         * sysdeps/unix/sysv/linux/mips/Versions: Add
12495         __vdso_clock_gettime.
12496         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12497         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12498         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12499         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12500         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12501         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12502         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12503         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12504         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12506 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12508         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12509         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12510         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12511         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12512         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12513         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12516         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12517         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12518         syscalls generation.
12519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12520         [__NR_pwrite64] (__NR_write): Remove define.
12521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12522         [__NR_pwrite64] (__NR_write): Remove define.
12523         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12524         Remove define.
12525         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12526         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12527         Remove define.
12528         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12529         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12530         Linux implementation as base.
12531         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12533         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12534         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12539         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12540         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12541         syscall generation.
12542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12543         [__NR_pread64] (__NR_pread): Remove define.
12544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12545         [__NR_pread64] (__NR_pread): Likewise.
12546         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12547         define.
12548         (__libc_pread): Use SYSCALL_LL macro on offset argument.
12549         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12550         Remove define.
12551         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12552         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12553         Linux implementation as base.
12554         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12555         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12556         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12558         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12559         definition.
12560         (__ALIGNMENT_COUNT): Likewise.
12561         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12562         (__ALIGNMENT_COUNT): Likewise.
12563         (SYSCALL_LL): New define.
12564         (SYSCALL_LL64): Likewise.
12565         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12566         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12567         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12568         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12570         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12571         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12572         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12573         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12574         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12575         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12577 2016-04-11  Florian Weimer  <fweimer@redhat.com>
12579         [BZ #19865]
12580         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12581         original buffer before retry.
12583 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12585         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12586         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12587         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12588         GLRO(dl_auxv) list.
12589         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12590         including <ldsodefs.h>.
12591         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12593 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
12595         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12596         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12597         $(CPPFLAGS).
12599 2016-04-09  Khem Raj  <raj.khem@gmail.com>
12601         [BZ #17950]
12602         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12603         Add -mfpmath=387.
12605 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
12607         * sysdeps/i386/configure.ac: Change == to = when calling test.
12608         * sysdeps/x86_64/configure.ac: Likewise.
12609         * sysdeps/i386/configure: Regenerated.
12610         * sysdeps/x86_64/configure: Likewise.
12612 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
12614         [BZ #16137]
12615         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12616         * benchtests/bench-strcoll.c (input_files): Likewise.
12617         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12618         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12619         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12621 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
12623         [BZ #19929]
12624         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12625         [__USE_XOPEN2K8 && !__USE_GNU].
12626         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12627         variable.
12629         [BZ #19925]
12630         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12631         define if [!__USE_MISC && __USE_XOPEN2K].
12632         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12633         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12634         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12635         Likewise.
12636         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12637         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12638         variable.
12639         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12641 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12643         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12644         (sysdep_routines): Add new strspn targets.
12645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12646         (__libc_ifunc_impl_list): Add strspn.
12647         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12648         New file.
12649         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12650         Likewise.
12651         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12652         Likewise.
12653         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12654         Likewise.
12656 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12658         * misc/hsearch_r.c: Include <limits.h>.
12660 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12662         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12664 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12666         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12667         (MEMCPY_SYMBOL): New.
12668         (MEMPCPY_SYMBOL): Likewise.
12669         (MEMMOVE_CHK_SYMBOL): Likewise.
12670         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12671         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12672         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
12673         Provide alias for memcpy in libc.a and ld.so.
12675 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12677         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12678         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
12679         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12680         Disabled fro now.
12681         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12682         symbols.  Properly check USE_MULTIARCH on __memset symbols.
12684 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12686         * benchtests/Makefile (string-benchset): Add memcpy-large,
12687         memmove-large and memset-large.
12688         * benchtests/bench-memcpy-large.c: New file.
12689         * benchtests/bench-memmove-large.c: Likewise.
12690         * benchtests/bench-memmove-large.c: Likewise.
12691         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12693 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12695         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12696         32-bit displacement to avoid long nop between instructions.
12698 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12700         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12701         a comment on VMOVU and VMOVA.
12703 2016-04-04  Florian Weimer  <fweimer@redhat.com>
12705         [BZ #19633]
12706         Use specified locale for number formatting in strfmon_l.
12707         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12708         (__nl_lookup_word): New inline functions.
12709         * include/printf.h (__print_fp_l): Declare.
12710         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12711         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
12712         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12713         (___printf_fp): New function.
12714         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12715         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12716         * stdlib/tst-strfmon_l.c (do_test): New test.
12717         * stdlib/Makefile (tests): Add kt.
12718         (LOCALES): Build additional locales.
12719         (tst-strfmon_l.out): Require locales.
12721 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12723         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12724         if not in libc.
12725         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12726         Likewise.
12727         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12728         Likewise.
12729         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12730         Likewise.
12732 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12734         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12735         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12736         with unaligned_erms.
12737         (__memmove_erms): Skip if source == destination.
12738         (__memmove_unaligned_erms): Don't check source == destination
12739         first.
12741 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12743         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12744         bit_arch_Fast_Copy_Backward for Intel Core proessors.
12746 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12748         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12749         * string/strspn.c (strspn): Likewise.
12751 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12753         * benchtests/bench-memset.c (do_test): Support 64-byte
12754         alignment.
12755         (test_main): Test 64-byte alignment.
12757 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12759         * benchtests/bench-memmove.c (test_main): Test 64-byte
12760         alignment.
12762 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12764         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12766 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12768         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12769         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12770         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12772         * string/strpbrk.c (strpbrk): Rewrite function.
12773         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12774         (__strpbrk_c2): Likewise.
12775         (__strpbrk_c3): Likewise.
12776         * string/string-inlines.c
12777         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12778         Likewise.
12779         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12780         Likewise.
12782         * string/strspn.c (strcspn): Rewrite function.
12783         * string/bits/string2.h (strspn): Use __builtin_strcspn.
12784         (__strspn_c1): Remove inline function.
12785         (__strspn_c2): Likewise.
12786         (__strspn_c3): Likewise.
12787         * string/string-inlines.c
12788         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12789         compatibility symbol.
12790         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12791         Likewise.
12792         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12793         Likewise.
12794         * string/string-inlines.c: Include generic version.
12796 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
12797             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12799         * string/Version (libc): Add GLIBC_2.24.
12800         * string/strcspn.c (strcspn): Rewrite function.
12801         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12802         (__strcspn_c1): Remove inline function.
12803         (__strcspn_c2): Likewise.
12804         (__strcspn_c3): Likewise.
12805         * string/string-inline.c
12806         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12807         compatibility symbol.
12808         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12809         Likewise.
12810         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12811         Likewise.
12812         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12814 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12816         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12817         Use ahi instead of aghi to adjust stack pointer.
12819 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12821         [BZ #19853]
12822         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12823         TEST to take significant digits as second parameter.
12824         [TEST]: Redefine in terms of TEST_N taking 30
12825         significant digits.
12826         (do_test): Add test case to demonstrate precision
12827         failure in the ldbl-128ibm printf.
12828         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12829         (__mpn_extract_long_double): Carry 7 extra intermediate
12830         bits of precision to aide computing difference when
12831         signs differ.
12833 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12835         [BZ #19881]
12836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12837         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12838         memset-avx512-unaligned-erms.
12839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12840         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12841         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12842         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12843         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12844         __memset_sse2_unaligned_erms, __memset_erms,
12845         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12846         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12847         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12848         file.
12849         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12850         Likewise.
12851         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12852         Likewise.
12853         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12854         Likewise.
12856 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12858         [BZ #19776]
12859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12860         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12861         memmove-avx512-unaligned-erms.
12862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12863         (__libc_ifunc_impl_list): Test
12864         __memmove_chk_avx512_unaligned_2,
12865         __memmove_chk_avx512_unaligned_erms,
12866         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12867         __memmove_chk_sse2_unaligned_2,
12868         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12869         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12870         __memmove_avx512_unaligned_erms, __memmove_erms,
12871         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12872         __memcpy_chk_avx512_unaligned_2,
12873         __memcpy_chk_avx512_unaligned_erms,
12874         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12875         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12876         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12877         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12878         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12879         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12880         __mempcpy_chk_avx512_unaligned_erms,
12881         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12882         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12883         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12884         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12885         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12886         __mempcpy_erms.
12887         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12888         file.
12889         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12890         Likewise.
12891         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12892         Likewise.
12893         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12894         Likewise.
12896 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12898         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12899         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12900         (La_s390_64_regs): Likewise.
12901         (La_s390_32_retval): Append vector register lrv_v24.
12902         (La_s390_64_retval): Likeweise.
12903         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12904         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12905         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12906         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12908 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12910         [BZ #19916]
12911         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12912         to create a non-vector/vector version for _dl_runtime_resolve and
12913         _dl_runtime_profile. Move implementation to ...
12914         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12915         (_dl_runtime_resolve) Save and restore fpr/vrs.
12916         (_dl_runtime_profile) Save and restore vrs and fix some issues
12917         if _dl_call_pltexit is called.
12918         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12919         Choose the correct resolver function if running on a machine with vx.
12920         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12921         to create a non-vector/vector version for _dl_runtime_resolve and
12922         _dl_runtime_profile. Move implementation to ...
12923         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12924         (_dl_runtime_resolve) Save and restore fpr/vrs.
12925         (_dl_runtime_profile) Save and restore vrs and fix some issues
12926         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12927         Choose the correct resolver function if running on a machine with vx.
12929 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12931         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12933 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12935         [BZ #19509]
12936         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12937         skip_map != NULL.
12938         * elf/tst-dlsym-error.c: New file.
12939         * elf/Makefile (tests): Add tst-dlsym-error.
12940         (tst-dlsym-error): Link against libdl.
12942 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12944         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12945         (__ASSUME_FUTIMESAT): Remove macro.
12946         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12948 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12950         [BZ #19879]
12951         CVE-2016-3075
12952         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12953         copy name.
12955 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12957         [BZ #19837]
12958         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12959         error if parse_line fails.
12961 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12963         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12964         (index_cpu_ERMS): Likewise.
12965         (reg_ERMS): Likewise.
12967 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12969         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12970         PER_LINUX_FDPIC): Add.
12972 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12975         memcpy-avx512-no-vzeroupper.
12976         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12977         to ...
12978         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12979         (MEMCPY): Don't define.
12980         (MEMCPY_CHK): Likewise.
12981         (MEMPCPY): Likewise.
12982         (MEMPCPY_CHK): Likewise.
12983         (MEMPCPY_CHK): Renamed to ...
12984         (__mempcpy_chk_avx512_no_vzeroupper): This.
12985         (MEMPCPY_CHK): Renamed to ...
12986         (__mempcpy_chk_avx512_no_vzeroupper): This.
12987         (MEMCPY_CHK): Renamed to ...
12988         (__memmove_chk_avx512_no_vzeroupper): This.
12989         (MEMCPY): Renamed to ...
12990         (__memmove_avx512_no_vzeroupper): This.
12991         (__memcpy_avx512_no_vzeroupper): New alias.
12992         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12994 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12996         [BZ #18858]
12997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12998         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12999         and mempcpy-avx512-no-vzeroupper.
13000         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
13001         New.
13002         (MEMPCPY): Likewise.
13003         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
13004         (MEMPCPY_CHK): New.
13005         (MEMPCPY): Likewise.
13006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
13007         (MEMPCPY): Likewise.
13008         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
13009         (MEMPCPY): Likewise.
13010         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
13011         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
13012         Likewise.
13013         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
13014         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
13016 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
13017              Amit Pawar  <Amit.Pawar@amd.com>
13019         [BZ #19583]
13020         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13021         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
13022         processors.  Set Fast_Copy_Backward for AMD Excavator
13023         processors.
13024         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
13025         New.
13026         (index_arch_Fast_Unaligned_Copy): Likewise.
13027         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
13028         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
13030 2016-03-25  Florian Weimer  <fweimer@redhat.com>
13032         [BZ #19791]
13033         * resolv/res_send.c (close_and_return_error): New function.
13034         (send_dg): Initialize *resplen2 after reopen failure.  Call
13035         close_and_return_error for error returns.  On error paths without
13036         __res_iclose, initialze *resplen2 explicitly.  Update comment for
13037         successful return.
13039 2016-03-25  Florian Weimer  <fweimer@redhat.com>
13041         [BZ# 19860]
13042         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
13043         zero if the compiler does not provide the AVX512F bit.
13045 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
13047         [BZ #19848]
13048         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
13049         from 8 to 4.
13050         (__ieee754_powl): Compare integer exponent against 4 not 8.
13051         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
13052         from 8 to 4.
13053         (__ieee754_powl): Compare integer exponent against 4 not 8.
13054         * math/auto-libm-test-in: Add more tests of pow.
13055         * math/auto-libm-test-out: Regenerated.
13056         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13059 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
13061         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
13062         Make code unconditional.
13063         [!__NR_utimensat]: Remove conditional code.
13064         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
13065         Make code unconditional.
13066         [!__NR_utimensat]: Remove conditional code.
13067         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
13068         Make code unconditional.
13069         [!__NR_utimensat]: Remove conditional code.
13071 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
13073         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
13074         Make code unconditional.
13076 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
13078         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
13079         call-clobbered %eax on retry path.
13080         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13082 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13084         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
13085         Don't set %rcx twice before "rep movsb".
13087 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13089         [BZ #19583]
13090         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
13091         inline.  Check family before setting family, model and
13092         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
13093         bits here.
13094         (init_cpu_features): Replace HAS_CPU_FEATURE and
13095         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
13096         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
13097         for Intel processors with usable AVX2.  Call get_common_indeces
13098         for other processors with family == NULL.
13099         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
13100         (CPU_FEATURES_ARCH_P): Likewise.
13101         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
13102         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
13104 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13106         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
13107         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
13108         $(shared-thread-library) instead of hardcoding the path to libpthread.
13110 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
13112         * sysdeps/unix/sysv/linux/kernel-features.h
13113         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13114         * sysdeps/unix/sysv/linux/getdents.c
13115         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13116         [!have_no_getdents64_defined]: Likewise.
13117         (__GETDENTS): Remove __have_no_getdents64 conditional.
13119 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
13121         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13122         Remove macro.
13123         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13124         <kernel-features.h>.
13125         (signalfd) [__NR_signalfd4]: Make code unconditional.
13126         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13128 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13130         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13131         style.
13133 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13135         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13136         (__pthread_enable_asynccancel): Use JUMPTARGET to call
13137         __pthread_unwind.
13138         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13139         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13140         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13141         (__condvar_cleanup1): Likewise.
13143 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
13145         [BZ #19822]
13146         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13147         move it to the final $@ location.
13149 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13151         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13152         access where posix_spawn success and pid argument is null.
13153         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13154         success case.
13156 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
13158         * sysdeps/mach/hurd/i386/c++-types.data: New file.
13160         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13162         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13163         and __fcntl.
13164         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13165         __fcntl only.
13166         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13167         adding attribute_hidden to __open and __fcntl.
13169         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13170         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13171         depend on libc-modules.h,
13172         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13174 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
13176         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13177         Remove macro.
13178         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13179         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13180         entry.
13182         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13183         Remove macro.
13184         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13185         include <kernel-features.h>.
13186         [!__ASSUME_FALLOCATE]: Remove conditional code.
13187         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13189 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13191         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13192         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13193         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13194         (_ZGVdN4v_cos_avx2): Likewise.
13195         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13196         (_ZGVdN4v_cos): Likewise.
13197         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13198         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13199         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13200         (_ZGVdN4v_exp_avx2): Likewise.
13201         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13202         (_ZGVdN4v_exp): Likewise.
13203         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13204         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13205         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13206         (_ZGVdN4v_log_avx2): Likewise.
13207         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13208         (_ZGVdN4v_log): Likewise.
13209         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13210         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13211         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13212         (_ZGVdN4vv_pow_avx2): Likewise.
13213         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13214         (_ZGVdN4vv_pow): Likewise.
13215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13216         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13217         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13218         (_ZGVdN4v_sin_avx2): Likewise.
13219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13220         (_ZGVdN4v_sin): Likewise.
13221         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13222         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13223         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13224         (_ZGVdN4vvv_sincos_avx2): Likewise.
13225         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13226         (_ZGVdN4vvv_sincos): Likewise.
13227         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13228         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13229         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13230         (_ZGVbN4v_cosf_sse4): Likewise.
13231         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13232         (_ZGVdN8v_cosf_avx2): Likewise.
13233         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13234         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13235         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13236         (_ZGVbN4v_expf_sse4): Likewise.
13237         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13238         (_ZGVdN8v_expf_avx2): Likewise.
13239         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13240         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13241         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13242         (_ZGVbN4v_logf_sse4): Likewise.
13243         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13244         (_ZGVdN8v_logf_avx2): Likewise.
13245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13246         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13247         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13248         (_ZGVbN4vv_powf_sse4): Likewise.
13249         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13250         (_ZGVdN8vv_powf_avx2): Likewise.
13251         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13252         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13253         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13254         (_ZGVbN4vvv_sincosf_sse4): Likewise.
13255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13256         (_ZGVdN8vvv_sincosf_avx2): Likewise.
13257         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13258         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13259         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13260         (_ZGVbN4v_sinf_sse4): Likewise.
13261         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13262         (_ZGVdN8v_sinf_avx2): Likewise.
13263         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13264         Use JUMPTARGET to call callee.
13265         (WRAPPER_IMPL_SSE2_ff): Likewise.
13266         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13267         (WRAPPER_IMPL_AVX): Likewise.
13268         (WRAPPER_IMPL_AVX_ff): Likewise.
13269         (WRAPPER_IMPL_AVX_fFF): Likewise.
13270         (WRAPPER_IMPL_AVX512): Likewise.
13271         (WRAPPER_IMPL_AVX512_ff): Likewise.
13272         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13273         Likewise.
13274         (WRAPPER_IMPL_SSE2_ff): Likewise.
13275         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13276         (WRAPPER_IMPL_AVX): Likewise.
13277         (WRAPPER_IMPL_AVX_ff): Likewise.
13278         (WRAPPER_IMPL_AVX_fFF): Likewise.
13279         (WRAPPER_IMPL_AVX512): Likewise.
13280         (WRAPPER_IMPL_AVX512_ff): Likewise.
13281         (WRAPPER_IMPL_AVX512_fFF): Likewise.
13283 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13285         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13286         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13287         qualifier.
13288         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13289         internal_function qualifiers.
13291 2016-03-15  Carlos O'Donell <carlos@redhat.com>
13293         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13294         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13295         * math/atest-exp.c (exp_mpn): Mark chk unused.
13296         * math/atest-exp2.c (exp_mpn): Likewise.
13297         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13298         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13300 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
13302         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13303         Remove macro.
13304         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13305         <kernel-features.h>.
13306         [__NR_ppoll]: Make code unconditional.
13307         [!__ASSUME_PPOLL]: Remove conditional code.
13309         * sysdeps/unix/sysv/linux/kernel-features.h
13310         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13311         (__ASSUME_ACCEPT4): Likewise.
13312         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13313         Define.
13314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13315         Likewise.
13316         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13317         Likewise.
13318         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13319         Likewise.
13320         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13321         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13322         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13323         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13324         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13325         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13326         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13327         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13328         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13329         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13330         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13331         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13332         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13333         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13334         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13335         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13336         Likewise.
13337         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13338         Likewise.
13339         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13340         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13341         0x040300].
13342         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13343         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13344         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13345         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13346         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13347         0x030300].
13348         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13349         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13350         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13351         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13352         0x040300].
13353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13354         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13355         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13356         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13357         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13358         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13359         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13360         0x030300].
13361         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13362         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13364         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13365         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13366         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13367         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13368         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13369         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13370         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13371         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13372         0x040300].
13373         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13374         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13375         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13376         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13377         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13378         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13379         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13380         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13381         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13382         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13383         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13384         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13385         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13386         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13387         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13388         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13389         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13390         Likewise.
13391         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13392         Likewise.
13394 2016-03-15  Andreas Schwab  <schwab@suse.de>
13396         [BZ #19257]
13397         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13398         statp->_u._ext.nscount as loop count.
13400 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13402         * math/test-signgam-finite-c99.c: Also #undef
13403         __LIBC_INTERNAL_MATH_INLINES.
13404         * math/test-signgam-main.c: Likewise.
13406 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
13408         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13409         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13410         (MADV_FREE): Likewise.
13411         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13412         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13413         EPOLLEXCLUSIVE.
13415 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
13417         * timezone/README: Remove mention of checktab.awk. Mention wiki
13418         SharedSourceFiles.
13420 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
13422         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13423         WUNTRACED.
13425 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13427         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13428         order to match the type of p when calling atomic_exchange_acq().
13430 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13432         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13433         cfi_offset calls.
13434         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13435         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13436         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13437         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13438         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13440 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
13442         * timezone/checktab.awk: Removed.
13444 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
13446         * manual/math.texi (Errors in Math Functions): Document relaxed
13447         accuracy goals for IBM long double.
13448         * math/libm-test.inc (test_exceptions): Always allow spurious
13449         "underflow" and "inexact" exceptions for IBM long double.
13451 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
13453         [BZ #19762]
13454         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13455         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13456         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13457         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13458         (bit_arch_*): This for feature array.
13459         (bit_*): Renamed to ...
13460         (bit_cpu_*): This for cpu array.
13461         (index_*): Renamed to ...
13462         (index_arch_*): This for feature array.
13463         (index_*): Renamed to ...
13464         (index_cpu_*): This for cpu array.
13465         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13466         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13467         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13468         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13469         bit_##name with index_cpu_##name and bit_cpu_##name.
13470         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13471         bit_##name with index_arch_##name and bit_arch_##name.
13473 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
13475         [BZ #19792]
13476         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13477         Terminate FDE before return label.
13479 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
13481         [BZ #19790]
13482         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13483         (rintl): Define as macro.
13484         [USE_AS_NEARBYINTL] (__rintl): Likewise.
13485         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13486         of fesetround.  Ensure results are evaluated before end of scope.
13487         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13488         USE_AS_NEARBYINTL and include s_rintl.c.
13489         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13490         Disable exception traps in new environment.
13491         (libc_feholdsetround_ppc_ctx): Likewise.
13493 2016-03-08  Roland McGrath  <roland@hack.frob.com>
13495         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13496         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13497         (tst_audit10_aux) [__AVX512F__]: ... here.
13499 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
13501         * include/sys/auxv.h: New file.
13503 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13505         [BZ #19759]
13506         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13508 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13510         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13511         operand modifier.
13512         (feclearexcept): Likewise.
13514 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13516         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13517         to reflect the entire 32-bit HWCAP.
13518         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13519         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
13521 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13523         [BZ #19783]
13524         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13525         $(test-via-rtld-prefix).
13526         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13528 2016-03-08  Florian Weimer  <fweimer@redhat.com>
13530         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13531         union wait.  Report any non-zero exit status as error.
13533 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13535         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13536         configured with --enable-hardcoded-path-in-tests.
13538 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
13540         [BZ #19677]
13541         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13542         (__ieee754_remainderl): Put zero low parts in canonical form.
13543         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13544         file.  Based on
13545         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13546         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13547         with wrapper round test-fmodrem-ldbl-128ibm.c.
13548         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13549         file.
13550         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13551         Likewise.
13552         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13553         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13555 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13557         [BZ #19610]
13558         * elf/ldconfig.c (opt_link): Update comment.
13559         (options): Update help string for option -X.
13560         (search_dir): Unlink stale symbolic link only if updating symbolic
13561         links.
13562         * elf/tst-ldconfig-X.sh: New file.
13563         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13564         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13566 2016-03-07  Andreas Schwab  <schwab@suse.de>
13568         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13569         needed arguments.
13571 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
13573         [BZ #15333]
13574         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13575         to lstat64.
13577 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13579         * libio/filedoalloc.c (isatty): Remove.
13580         (local_isatty): Add comment.  Call __isatty directly.
13581         (_IO_file_doallocate): Update comment.  Assume _LIBC.
13582         * libio/wfiledoalloc.c (isatty): Remove.
13583         (_IO_wfile_doallocate): Update comment.
13585 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13587         [BZ #19269]
13588         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13589         tst-audit4-aux.o.
13590         (tst-audit10): Depend on tst-audit10-aux.o.
13591         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13592         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13593         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13594         instead of inline AVX code.
13595         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13596         instead of inline AVX512 code.
13597         * sysdeps/x86_64/tst-audit4-aux.c: New file
13598         * sysdeps/x86_64/tst-audit10-aux.c: New file
13600         [BZ #19648]
13601         * test-skeleton.c (main): Do not set RLIMIT_DATA.
13603 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13605         [BZ #14750]
13606         [BZ #10354]
13607         [BZ #18433]
13608         * include/sched.h (__clone): Add hidden prototype.
13609         (__clone2): Likewise.
13610         * include/unistd.h (__dup): Likewise.
13611         * posix/Makefile (tests): Add tst-spawn2.
13612         * posix/tst-spawn2.c: New file.
13613         * sysdeps/posix/dup.c (__dup): Add hidden definition.
13614         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13615         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13616         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13617         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13618         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13619         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13620         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13621         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13622         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13623         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13625         Likewise.
13626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13627         Likewise.
13628         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13629         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13630         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13631         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13632         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13633         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13634         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13635         * sysdeps/unix/sysv/linux/nptl-signals.h
13636         (____nptl_is_internal_signal): New function.
13637         * sysdeps/unix/sysv/linux/spawni.c: New file.
13639         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13640         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13641         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13642         * posix/tst-execvp2.c (do_test): Likewise.
13643         * posix/tst-execvp3.c (do_test): Likewise.
13644         * posix/tst-execvp4.c (do_test): Likewise.
13645         * posix/tst-execvpe1.c: New file.
13646         * posix/tst-execvpe2.c: Likewise.
13647         * posix/tst-execvpe3.c: Likewise.
13648         * posix/tst-execvpe4.c: Likewise.
13649         * posix/tst-execvpe5.c: Likewise.
13650         * posix/tst-execvpe6.c: Likewise.
13652         [BZ #19534]
13653         * posix/execl.c (execl): Remove dynamic memory allocation.
13654         * posix/execle.c (execle): Likewise.
13655         * posix/execlp.c (execlp): Likewise.
13657 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13659         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13660         Replace .text with .text.avx512.
13661         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13662         Likewise.
13664 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
13666         * sysdeps/generic/libnsl.abilist: New file.
13667         * sysdeps/generic/libutil.abilist: New file.
13669 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13671         [BZ #19762]
13672         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13673         HAS_ARCH_FEATURE with Fast_Rep_String.
13674         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13675         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13676         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13677         Likewise.
13678         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13679         Likewise.
13680         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13681         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13682         Likewise.
13683         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13684         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13685         Likewise.
13687 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13689         [BZ #19745]
13690         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13691         with *%rax in call.
13693 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13695         [BZ #19745]
13696         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13697         with *__libc_start_main@GOTPCREL(%rip) in call.
13699 2016-03-04  Roland McGrath  <roland@hack.frob.com>
13701         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13702         inside conditional for nonempty $(CXX).
13704         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13705         nonempty.
13707         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13708         to test for empty $(CXX) rather than $(CXX) of "no".
13710 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13712         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13714 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
13715             H.J. Lu  <hongjiu.lu@intel.com>
13717         [BZ #18880]
13718         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13719         instead of Slow_BSF, and also check for Fast_Copy_Backward to
13720         enable __memcpy_ssse3_back.
13722 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13724         [BZ #19758]
13725         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13726         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13728 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13730         [BZ #19490]
13731         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13732         (__fentry__): Likewise.
13734 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13736         * gmon/Makefile (noprof): Add $(sysdep_noprof).
13737         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13739 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13741         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13742         __mcount_internal directly.
13743         (C_LABEL(__fentry__)): Likewise.
13744         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13745         directly.
13747 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13749         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13750         (__start_context): Call __setcontext directly.
13752 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
13754         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13755         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13756         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13757         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13758         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13759         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13760         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13761         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13762         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13763         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13764         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13765         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13766         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13767         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13768         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13769         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13770         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13772         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13773         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13774         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13775         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13776         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13777         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13778         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13779         Remove conditional code.
13780         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13781         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13782         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13783         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13784         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13785         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13786         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13787         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13788         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13789         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13790         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13791         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13793 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
13795         * NEWS (2.23): Fix typo in bug 19048 text.
13797 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
13799         [BZ #14259]
13800         * Makeconfig: Rename msgcatdir to localedir.
13801         Rename inst_msgcatdir to inst_localedir.
13802         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13803         * config.make.in: Add localedir.
13804         * elf/Makefile ($(objpfx)sotruss): Use localedir.
13805         (ldd-rewrite): Likewise.
13806         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13807         (install-others): Use inst_localedir.
13808         (CPPFLAGS): Use localedir.
13809         * locale/Makefile (locale-CPPFLAGS): Likewise.
13810         * po/Makefile (mo-installed): Use inst_localedir.
13812         [BZ #19575]
13813         * localedata/charmaps/GB18030: Update comments regarding PAU to
13814         non-PUA mappings.
13816 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
13818         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13819         test for header.
13820         * sysdeps/unix/sysv/linux/configure: Regenerated.
13821         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13822         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13823         Remove conditional code.
13824         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13826         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13827         Define to 3.2.0.
13828         (arch_minimum_kernel): Likewise.
13829         * sysdeps/unix/sysv/linux/configure: Regenerated.
13830         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13831         Define to 2.6.32.
13832         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13833         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13834         (arch_minimum_kernel): Define to 2.6.32.
13835         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13836         * README: Document Linux 3.2 requirement.
13837         * manual/install.texi (Linux): Document Linux 3.2 headers
13838         requirement.
13839         * INSTALL: Regenerated.
13841 2016-02-24  Andreas Schwab  <schwab@suse.de>
13843         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13844         if !NO_LONG_DOUBLE.
13846 2016-02-22  Roland McGrath  <roland@hack.frob.com>
13848         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13849         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13851 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
13853         [BZ #19512]
13854         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13856 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13858         * posix/tst-dir.c: Include libc-internal.h.
13860 2016-02-20  Florian Weimer  <fweimer@redhat.com>
13862         [BZ #19056]
13863         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13864         * manual/filesys.texi (Reading/Closing Directory): Mention
13865         deprecaion.
13866         * posix/tst-dir.c (main): Disable deprecation warning in test.
13868 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
13870         [BZ #19679]
13871         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13872         Renamed to ...
13873         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
13874         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13875         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
13876         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13877         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13878         * sysdeps/x86_64/dl-trampoline.h
13879         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13880         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13882 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13884         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13886 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13888         * elf/elf.h (R_386_GOT32X): New.
13889         (R_386_NUM): Update.
13890         (R_X86_64_GOTPCRELX: New.
13891         (R_X86_64_REX_GOTPCRELX): New.
13892         (R_X86_64_NUM): Update.
13894 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
13896         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13898 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13900         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13901         assign attr->stackaddr to it, and adjust it down when
13902         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13903         [_STACK_GROWS_UP]: Delete assert.
13904         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13905         Implement stack grows up logic.
13906         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13907         stack grows up logic.
13909 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13911         * NEWS: Update with 2.24 template.
13913 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13915         [BZ #19678]
13916         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13917         Ensure +0.0 is returned when taking the next value below the least
13918         positive value.
13920 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13922         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13923         available.  Do not define NO_THREADS.
13924         * malloc/malloc.c: Do not check NO_THREADS.
13925         * malloc/arena.c: Likewise.
13927 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13929         * malloc/malloc.c (__libc_mallinfo): Update comment.
13930         (struct malloc_par): Remove max_total_mem member, it was always 0.
13931         (int_mallinfo): Store 0 into usmblks (no functional change).
13932         * malloc/hooks.c (struct malloc_state): Document that
13933         max_total_mem is always 0.
13934         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13935         always 0.
13936         * manual/memory.texi (Statistics of Malloc): Likewise.
13938 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13940         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13941         * malloc/arena.c (arena_max): Remove.
13942         (heap_trim, _int_new_arena): Do not update arena_max.
13944 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13946         * resolv/res_init.c (res_ninit): Update comment.
13948 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13950         [BZ #19505]
13951         * posix/spawn_int.h: Add headers and include guard.
13952         (__spawn_valid_fd): New function.
13953         * posix/spawn_faction_addopen.c
13954         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13955         * posix/spawn_faction_addclose.c
13956         (posix_spawn_file_actions_addclose): Likewise.
13957         * posix/spawn_faction_adddup2.c
13958         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13959         second file descriptor.
13960         * posix/spawn_valid_fd.c: New file.
13961         * posix/tst-posix_spawn-fd.c: New file.
13962         * posix/Makefile (routines): Add spawn_valid_fd.
13963         (tests): Add tst-posix_spawn-fd.
13965 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13967         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13968         (do_test): Limit the number of arenas, so that we can use fewer
13969         outer threads.  Limit timeout to 3 seconds, in preparation for a
13970         larger TIMEOUT value.
13972 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13974         [BZ #19674]
13975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13976         sign in overflowing and underflowing results when overflow or
13977         underflow is detected early.  Include sign in result before rather
13978         than after scaling.
13980         [BZ #19603]
13981         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13982         (__ieee754_remainderl): Adjust sign of integer version of low part
13983         when taking absolute value of high part.
13984         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13985         * math/libm-test.inc (remainder_test_data): Add another test.
13986         (remquo_test_data): Likewise.
13988 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13990         [BZ #19602]
13991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13992         equal high parts and both low parts zero specially.
13993         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13994         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13995         Add test-fmodl-ldbl-128ibm.
13997         [BZ #19595]
13998         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13999         common logic for all cases of shifting subnormal results.  Do not
14000         insert sign bit in shifted mantissa.  Always pass -1023 as biased
14001         exponent to ldbl_insert_mantissa in subnormal case.
14003         [BZ #19594]
14004         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
14005         on high and low parts then adjust result and use
14006         ldbl_canonicalize_int if needed.
14008         [BZ #19593]
14009         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
14010         on high part and __floor or __ceil on low part then use
14011         ldbl_canonicalize_int if needed.
14013         [BZ #19592]
14014         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
14015         high and low parts then use ldbl_canonicalize_int if needed.
14017         [BZ #17899]
14018         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
14019         New function.
14020         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
14021         on high and low parts then use ldbl_canonicalize_int if needed.
14023 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14025         * configure: Regenerated.
14027         * po/libc.pot: Regenerated.
14029         * po/be.po: Updated translation.
14030         * po/bg.po: Likewise.
14031         * po/ca.po: Likewise.
14032         * po/cs.po: Likewise.
14033         * po/da.po: Likewise.
14034         * po/el.po: Likewise.
14035         * po/eo.po: Likewise.
14036         * po/es.po: Likewise.
14037         * po/fi.po: Likewise.
14038         * po/fr.po: Likewise.
14039         * po/gl.po: Likewise.
14040         * po/hr.po: Likewise.
14041         * po/hu.po: Likewise.
14042         * po/ia.po: Likewise.
14043         * po/id.po: Likewise.
14044         * po/it.po: Likewise.
14045         * po/ja.po: Likewise.
14046         * po/lt.po: Likewise.
14047         * po/nb.po: Likewise.
14048         * po/nl.po: Likewise.
14049         * po/pt_BR.po: Likewise.
14050         * po/rw.po: Likewise.
14051         * po/sk.po: Likewise.
14052         * po/sl.po: Likewise.
14053         * po/sv.po: Likewise.
14054         * po/tr.po: Likewise.
14055         * po/zh_CN.po: Likewise.
14056         * po/zh_TW.po: Likewise.
14058         * version.h (RELEAES): Set to "development".
14059         (VERSION): Set to 2.23.90.
14061         * version.h (RELEASE): Set to "stable".
14062         (VERSION): Set to 2.23.
14063         * include/feature.h (__GLIBC_MINOR__): Set to 23.
14065         * NEWS: Updated fixed bugs.
14067 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
14068             Wilco Dijkstra  <wdijkstr@arm.com>
14070         [BZ #19462]
14071         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
14072         (_STRING_INLINE_unaligned): This.
14073         * include/string.h: Include <string_private.h>.
14074         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
14075         _STRING_INLINE_unaligned.
14076         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
14077         (_STRING_INLINE_unaligned): New.
14078         * sysdeps/aarch64/string_private.h: New file.
14079         * sysdeps/generic/string_private.h: Likewise.
14080         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
14081         * sysdeps/s390/string_private.h: Likewise.
14082         * sysdeps/x86/string_private.h: Likewise.
14083         * sysdeps/m68k/m680x0/m68020/bits/string.h
14084         (_STRING_ARCH_unaligned): Renamed to ...
14085         (_STRING_INLINE_unaligned): This.
14086         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
14087         to ...
14088         (_STRING_INLINE_unaligned): This.
14089         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
14090         to ...
14091         (_STRING_INLINE_unaligned): This.
14092         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
14093         to ...
14094         (_STRING_INLINE_unaligned): This.
14096 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14097             H.J. Lu  <hongjiu.lu@intel.com>
14099         [BZ #19590]
14100         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
14101         relocation.
14103 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
14105         [BZ #18665]
14106         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
14107         *herrno_p.
14108         (gaih_getanswer): Document functional behviour. Return tryagain
14109         if any result is tryagain.
14110         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
14111         when freed.
14112         * resolv/res_send.c: Add copyright text.
14113         (__libc_res_nsend): Document that MAXPACKET is expected.
14114         (send_vc): Document. Remove buffer reuse.
14115         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14116         size of the buffer. Add Dprint for truncated UDP buffer.
14118 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
14120         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14121         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14122         * INSTALL: Regenerate.
14124 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
14125             Jonathan Wakely  <jwakely@redhat.com>
14126             Carlos O'Donell  <carlos@redhat.com>
14128         [BZ 19439]
14129         * math/Makefile (tests): Add test-math-isinff.
14130         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14131         * math/bits/mathcalls.h [__USE_MISC]: Use
14132         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14133         functions not in C++11 and which don't conflict e.g. isinff,
14134         isinfl etc.
14135         * math/test-math-isinff.cc: New file.
14137 2016-02-12  Florian Weimer  <fweimer@redhat.com>
14139         * misc/bug18240.c (do_test): Set RLIMIT_AS.
14141 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14143         [BZ #19529]
14144         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14146 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14148         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14150 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
14152         [BZ #19550]
14153         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14154         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14155         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14156         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14157         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14158         New syscall entry.
14159         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14160         New syscall entry.
14161         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14162         syscall entry.
14164 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
14166         [BZ #18240]
14167         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14168         unsigned int wraparound.
14170 2016-01-27  Florian Weimer  <fweimer@redhat.com>
14172         [BZ #18240]
14173         * misc/bug18240.c: New test.
14174         * misc/Makefile (tests): Add it.
14176 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
14177             Joseph Myers  <joseph@codesourcery.com>
14179         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14180         load in branch delay slot when less than a word of input left.
14182 2016-01-27  Andreas Schwab  <schwab@suse.de>
14184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14185         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14186         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14187         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14189 2016-01-26  David S. Miller  <davem@davemloft.net>
14191         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14193 2016-01-25  David S. Miller  <davem@davemloft.net>
14195         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14196         __sqrtl_finite.
14197         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14198         instead using versioned_symbol.
14199         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14200         of entries.
14202         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14203         __sqrtl_finite to GLIBC_2.23
14205 2016-01-25  Ricchard Henderson  <rth@redhat.com>
14207         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14209 2016-01-25  Andreas Schwab  <schwab@suse.de>
14211         [BZ #17514]
14212         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14213         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14214         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14215         * nptl/tst-mutex-errorcheck.c: New file.
14217 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14219         [BZ #18560]
14220         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14221         (IPCOP_semop): Likewise.
14222         (IPCOP_semget): Likewise.
14223         (IPCOP_semctl): Likewise.
14224         (IPCOP_msgsnd): Likewise.
14225         (IPCOP_msgrcv): Likewise.
14226         (IPCOP_msgget): Likewise.
14227         (IPCOP_msgctl): Likewise.
14228         (IPCOP_shmat): Likewise.
14229         (IPCOP_shmdt): Likewise.
14230         (IPCOP_shmget): Likewise.
14231         (IPCOP_shmctl): Likewise.
14233 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
14235         * string/tst-endian.c: Include <libc-internal.h>.
14236         (do_test): Ignore tautological-compare warnings around
14237         "htobeXX (beXXtoh (i)) != i" and
14238         "htoleXX (leXXtoh (i)) != i" if-statements.
14240 2016-01-24  David S. Miller  <davem@davemloft.net>
14242         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14243         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14244         alias.
14245         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14246         __sqrtl_finite.
14248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14250 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
14252         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14253         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14254         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14256 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14258         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14259         (thread_func): Use new function to simplify barrier check.
14260         (do_test): Use new function to simplify checking barrier exit
14261         code, and actually join the child thread.
14263 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14265         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14266         semicolon.
14267         (__libc_tend): Likewise.
14268         (__libc_tabort): Likewise.
14270 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
14272         * sysdeps/nios2/libm-test-ulps: Update.
14273         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14274         (__gtsf2): Likewise.
14275         (__unorddf2): Likewise.
14276         (__unordsf2): Likewise.
14277         (__ledf2): Likewise.
14279 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
14281         * nis/nis_table.c (__follow_path): Disable diagnostic for
14282         uninitialized variable that is a false positive for gcc 4.7.
14283         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14285 2016-01-20  Roland McGrath  <roland@hack.frob.com>
14287         * sysdeps/nacl/lowlevellock-futex.h
14288         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14289         Always evaluate PRIVATE argument.
14291 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
14293         [BZ #19490]
14294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14295         (pthread_cond_broadcast): Use ENTRY/END
14296         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14297         (pthread_cond_signal): Likewise.
14298         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14299         Likewise.
14300         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14301         Likewise.
14302         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14303         Likewise.
14305 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
14307         * sysdeps/ieee754/dbl-64/s_finite.c
14308         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14309         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14310         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14311         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14312         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14315         (__gtsf2): Add as optional for libc.so.
14316         (__unordsf2): Likewise.
14317         (__signbit): Remove for libc.so.
14318         (__signbitl): Likewise.
14320 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14322         * iconvdata/bug-iconv11.c (test_ibm93x):
14323         Use %zu printf format specifier for size_t argument.
14325 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
14327         * math/gen-libm-test.pl (parse_ulps): Do not reduce
14328         already-recorded ulps.
14329         * sysdeps/arm/libm-test-ulps: Regenerated.
14330         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14331         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14332         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14334 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14335             Paul Pluzhnikov  <ppluzhnikov@google.com>
14337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14338         assembler not supporting AVX-512.
14340 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14342         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14344 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
14346         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14347         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14349         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14351         * sysdeps/arm/libm-test-ulps: Regenerated.
14353 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14355         [BZ #19451]
14356         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14358 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14360         [BZ #19486]
14361         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14362         * sysdeps/generic/fix-fp-int-convert-overflow.h
14363         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14364         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14365         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14366         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14367         Likewise.
14368         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14369         Avoid conversions to long int where inexact exceptions
14370         could be raised.
14371         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14372         Likewise.
14373         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14374         Avoid conversions to long long int where inexact exceptions
14375         could be raised.
14376         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14377         Likewise.
14379 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
14381         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14382         * configure: Regenerated.
14384 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14386         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14388 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
14390         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14391         outside of comment.
14393 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14395         * nptl/tst-barrier1.c: Add description on first line.
14396         * nptl/tst-barrier2.c: Likewise.
14397         * nptl/tst-barrier3.c: Likewise.
14398         * nptl/tst-barrier4.c: Likewise.
14399         * nptl/tst-barrier5.c: Likewise.
14401 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14403         [BZ #18868]
14404         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14406 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14410         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14411         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14412         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14413         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14414         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14415         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14416         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14417         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14418         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14420 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14422         [BZ #13065]
14423         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14424         new implementation.
14425         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14426         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14427         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14428         (BARRIER_IN_THRESHOLD): New macro.
14429         * nptl/pthread_barrierattr_setpshared.c
14430         (pthread_barrierattr_setpshared): Clean up.
14431         * nptl/tst-barrier4.c: Correct comment.
14432         * nptl/tst-barrier5.c: New file.
14433         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14434         (gen-as-const-headers): Remove lowlevelbarrier.sym.
14435         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14436         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14437         * nptl/lowlevelbarrier.sym: Remove.
14438         * nptl/DESIGN-barrier.txt: Remove.
14439         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14440         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14441         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14442         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14443         error.
14444         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14445         implementation.
14447 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14449         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14450         (do_child): Mask SIGRTMIN while thr is running.
14452 2016-01-15  Martin Sebor  <msebor@redhat.com>
14454         [BZ #19432]
14455         * iconvdata/Makefile: Add bug-iconv11.
14456         * iconvdata/bug-iconv11.c: New test.
14457         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14458         * iconvdata/ibm933.c: Same.
14459         * iconvdata/ibm935.c: Same.
14460         * iconvdata/ibm937.c: Same.
14461         * iconvdata/ibm939.c: Same.
14463 2016-01-15  Martin Sebor  <msebor@redhat.com>
14465         [BZ #19443]
14466         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14467         [DEBUG] (_ufc_set_bits): Declare used.
14468         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14469         [DEBUG] (print_all): Declare used.
14470         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14471         operands of the ternary ?: expression to target type.
14472         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14473         calling the undeclared abort.
14474         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14476 2016-01-15  Martin Sebor  <msebor@redhat.com>
14478         [BZ #18755]
14479         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14480         warnings.
14481         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14482         (__gai_create_helper_thread): Same.
14483         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14484         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14485         to suppress -Wmaybe-uninitialized warnings.
14487 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
14489         [BZ #19465]
14490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14491         inside if.
14492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14493         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14494         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14496 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
14498         [BZ #19466]
14499         * time/tst-mktime2.c (time_t_max): Removed.
14500         (time_t_min): Likewise.
14501         (TYPE_SIGNED): New.
14502         (TYPE_MINIMUM): Likewise.
14503         (TYPE_MAXIMUM): Likewise.
14504         (TIME_T_MIN): Likewise.
14505         (TIME_T_MAX): Likewise.
14506         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14507         and TIME_T_MIN.
14508         (do_test): Likewise.
14510 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
14512         [BZ #19467]
14513         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14514         index_Fast_Unaligned_Load flag for Excavator family CPUs.
14516 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
14518         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14520 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
14522         * benchtests/Makefile (PYTHON): Define.
14523         (bench-func): Use $(PYTHON) to run python scripts.
14524         ($(objpfx)bench-%.c): Likewise.
14526 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
14528         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14529         leading slash when `file_name' is "/".
14531 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
14533         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14534         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14535         Likewise.
14536         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14537         Likewise.
14538         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14539         Likewise.
14540         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14541         enum constant and macro.
14542         (PTRACE_SETSIGMASK): Likewise.
14543         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14544         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14545         (PTRACE_GETSIGMASK): Likewise.
14546         (PTRACE_SETSIGMASK): Likewise.
14547         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14548         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14549         Likewise.
14550         (PTRACE_SETSIGMASK): Likewise.
14551         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14552         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14553         (PTRACE_GETSIGMASK): Likewise.
14554         (PTRACE_SETSIGMASK): Likewise.
14555         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14556         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14557         Likewise.
14558         (PTRACE_SETSIGMASK): Likewise.
14559         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14560         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14561         Likewise.
14562         (PTRACE_SETSIGMASK): Likewise.
14563         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14564         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14565         Likewise.
14566         (PTRACE_SETSIGMASK): Likewise.
14567         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14569 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
14570             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14572         [BZ #19439]
14573         * math/bits/mathcalls.h
14574         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14575         prototype.
14576         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14578 2016-01-11  Andreas Schwab  <schwab@suse.de>
14580         [BZ #19253]
14581         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14582         cache when TZDEFRULES was used.
14583         * time/tst-tzname.c: New file.
14584         * time/Makefile (test): Add tst-tzname.
14585         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14586         * timezone/Makefile (test-zones): Add $(posixrules-file).
14587         ($(testdata)/$(posixrules-file)): New rule.
14589 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
14591         Fix doc quoting problems with Texinfo 5
14592         Without this change, in the info file output, Texinfo 5 quotes code
14593         in text with undirected single quotes 'like this' and generates
14594         code examples that with many PDF readers cannot be cut out of PDFs
14595         and pasted into code.
14596         * manual/libc.texinfo: Configure the libc manual like the GNU
14597         Emacs manual, by using @documentencoding and setting
14598         txicodequoteundirected and txicodequotebacktick.  This way,
14599         Texinfo 5 quotes code in text with directed single quotes ‘like
14600         this’ and produces examples that can be cut out of PDFs.  This
14601         change causes Texinfo 5 to generate info files that contain UTF-8
14602         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14603         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14605 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14607         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14608         __libc_tabort, __libc_tend): New wrappers that enforce compiler
14609         barriers to their respective compiler built-ins.
14610         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14611         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14612         * sysdeps/powerpc/sysdep.h: Likewise.
14613         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14614         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14615         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14617 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
14619         * scripts/config.guess: Revert previous shebang change.
14620         * scripts/config.sub: Likewise.
14621         * scripts/mkinstalldirs: Likewise.
14623 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14625         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14626         PPC_FEATURE2_HAS_IEEE128.
14627         * sysdeps/powerpc/dl-procinfo.c:
14628         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14630 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
14632         [BZ #19415]
14633         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14634         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
14635         (_dl_lookup_address): Rewrite using function resolver trampoline.
14636         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14637         two bits in address.
14639 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14641         * longlong.h: Change !__SHMEDIA__ to
14642         (!defined (__SHMEDIA__) || !__SHMEDIA__).
14643         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14645 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
14646             Joseph Myers  <joseph@codesourcery.com>
14647             Mark Shinwell  <shinwell@codesourcery.com>
14648             Andrew Stubbs  <ams@codesourcery.com>
14649             Rich Felker <dalias@libc.org>
14651         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14653 2016-01-07  Richard Henderson  <rth@redhat.com>
14655         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14657 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14659         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14660         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14661         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14662         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14663         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14665 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
14666             Joseph Myers  <joseph@codesourcery.com>
14668         * timezone/private.h: Update from tzcode 2015g.
14669         * timezone/tzfile.h: Likewise.
14670         * timezone/tzselect.ksh: Likewise.
14671         * timezone/zdump.c: Likewise.
14672         * timezone/zic.c: Likewise.
14673         * timezone/ialloc.c: Remove file.
14674         * timezone/scheck.c: Likewise.
14675         * timezone/Makefile (extra-objs): Remove variable.
14676         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14677         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14678         -Wno-maybe-uninitialized.
14679         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14680         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14681         (CFLAGS-ialloc.c): Remove variable.
14682         (CFLAGS-scheck.c): Likewise.
14683         * timezone/README: Update list of files from tzcode.
14685 2016-01-07  Khem Raj  <raj.khem@gmail.com>
14687         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14688         instead of __fxprintf when _LIBC is undefined.
14690 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
14692         * catgets/test-gencat.sh: Remove space after shebang.
14693         * conform/GlibcConform.pm: Likewise.
14694         * conform/check-header-lists.sh: Likewise.
14695         * conform/conformtest.pl: Likewise.
14696         * conform/linknamespace.pl: Likewise.
14697         * conform/list-header-symbols.pl: Likewise.
14698         * debug/catchsegv.sh: Likewise.
14699         * elf/genrtldtbl.awk: Likewise.
14700         * elf/tst-pathopt.sh: Likewise.
14701         * elf/tst-rtld-load-self.sh: Likewise.
14702         * grp/tst_fgetgrent.sh: Likewise.
14703         * iconvdata/gen-8bit-gap-1.sh: Likewise.
14704         * iconvdata/gen-8bit-gap.sh: Likewise.
14705         * iconvdata/gen-8bit.sh: Likewise.
14706         * iconvdata/run-iconv-test.sh: Likewise.
14707         * intl/tst-gettext.sh: Likewise.
14708         * intl/tst-gettext2.sh: Likewise.
14709         * intl/tst-gettext4.sh: Likewise.
14710         * intl/tst-gettext6.sh: Likewise.
14711         * intl/tst-translit.sh: Likewise.
14712         * io/ftwtest-sh: Likewise.
14713         * libio/test-freopen.sh: Likewise.
14714         * locale/gen-translit.pl: Likewise.
14715         * malloc/tst-mtrace.sh: Likewise.
14716         * manual/check-safety.sh: Likewise.
14717         * manual/libc-texinfo.sh: Likewise.
14718         * manual/tsort.awk: Likewise.
14719         * manual/xtract-typefun.awk: Likewise.
14720         * nptl/tst-cancel-wrappers.sh: Likewise.
14721         * nptl/tst-tls6.sh: Likewise.
14722         * posix/globtest.sh: Likewise.
14723         * posix/tst-getconf.sh: Likewise.
14724         * posix/wordexp-tst.sh: Likewise.
14725         * scripts/check-c++-types.sh: Likewise.
14726         * scripts/check-local-headers.sh: Likewise.
14727         * scripts/config.guess: Likewise.
14728         * scripts/config.sub: Likewise.
14729         * scripts/cpp: Likewise.
14730         * scripts/cross-test-ssh.sh: Likewise.
14731         * scripts/documented.sh: Likewise.
14732         * scripts/evaluate-test.sh: Likewise.
14733         * scripts/gen-libc-abis: Likewise.
14734         * scripts/gen-sorted.awk: Likewise.
14735         * scripts/list-fixed-bugs.py: Likewise.
14736         * scripts/merge-test-results.sh: Likewise.
14737         * scripts/mkinstalldirs: Likewise.
14738         * scripts/rellns-sh: Likewise.
14739         * scripts/test-installation.pl: Likewise.
14740         * scripts/update-copyrights: Likewise.
14741         * stdio-common/tst-printf.sh: Likewise.
14742         * stdio-common/tst-unbputc.sh: Likewise.
14743         * stdlib/tst-fmtmsg.sh: Likewise.
14744         * stdlib/tst-setcontext3.sh: Likewise.
14745         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14746         * sysdeps/unix/make-syscalls.sh: Likewise.
14748 2016-01-06  John David Anglin  <dave.anglin@bell.net>
14750         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14751         asm stw with atomic_exchange_rel.  Add explanatory comment.
14752         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14753         Likewise.
14755 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14757         [BZ #19122]
14758         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14759         * sysdeps/generic/dl-unistd.h: New file.
14760         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14762 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14764          [BZ #19122]
14765          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14766          * sysdeps/generic/dl-mman.h: New file.
14767          * sysdeps/mach/hurd/dl-mman.h: Likewise.
14769 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
14771         * manual/texinfo.tex: Update to version 2016-01-04.21 with
14772         trailing whitespace removed.
14773         * scripts/config.guess: Update to version 2016-01-01.
14774         * scripts/config.sub: Update to version 2016-01-01.
14775         * scripts/move-if-change: Update from gnulib.
14777 2016-01-04  Anton Blanchard  <anton@samba.org>
14779         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14780         for array indices.
14781         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14783 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
14785         * NEWS: Update copyright dates.
14786         * catgets/gencat.c (print_version): Likewise.
14787         * csu/version.c (banner): Likewise.
14788         * debug/catchsegv.sh: Likewise.
14789         * debug/pcprofiledump.c (print_version): Likewise.
14790         * debug/xtrace.sh (do_version): Likewise.
14791         * elf/ldconfig.c (print_version): Likewise.
14792         * elf/ldd.bash.in: Likewise.
14793         * elf/pldd.c (print_version): Likewise.
14794         * elf/sotruss.sh: Likewise.
14795         * elf/sprof.c (print_version): Likewise.
14796         * iconv/iconv_prog.c (print_version): Likewise.
14797         * iconv/iconvconfig.c (print_version): Likewise.
14798         * locale/programs/locale.c (print_version): Likewise.
14799         * locale/programs/localedef.c (print_version): Likewise.
14800         * login/programs/pt_chown.c (print_version): Likewise.
14801         * malloc/memusage.sh (do_version): Likewise.
14802         * malloc/memusagestat.c (print_version): Likewise.
14803         * malloc/mtrace.pl: Likewise.
14804         * manual/libc.texinfo: Likewise.
14805         * nptl/version.c (banner): Likewise.
14806         * nscd/nscd.c (print_version): Likewise.
14807         * nss/getent.c (print_version): Likewise.
14808         * nss/makedb.c (print_version): Likewise.
14809         * posix/getconf.c (main): Likewise.
14810         * scripts/test-installation.pl: Likewise.
14811         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14813         * All files with FSF copyright notices: Update copyright dates
14814         using scripts/update-copyrights.
14815         * intl/plural.c: Regenerated.
14816         * locale/programs/charmap-kw.h: Likewise.
14817         * locale/programs/locfile-kw.h: Likewise.
14819 2016-01-02  Helge Deller  <deller@gmx.de>
14821         [BZ #19285]
14822         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14823         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14824         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14825         (MADV_xxK_PAGES): Remove.
14827 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
14829         [BZ #15421]
14830         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14831         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
14832         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14833         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14835 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
14837         [BZ #19408]
14838         * sysdeps/unix/sysv/linux/personality.c: New file.
14839         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14840         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14841         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14842         (sysdep_routines): Add personality.
14843         (tests): Add tst-personality.
14844         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14845         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14846         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14847         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14848         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14849         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14850         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14851         Likewise.
14852         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14853         Likewise.
14854         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14855         Likewise.
14856         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14857         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14858         Likewise.
14860 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
14862         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14863         (PATH_ARM_SYSTYPE): Remove.
14864         (PATH_CPUINFO): Likewise.
14865         (IO_BASE_FOOTBRIDGE): Likewise.
14866         (IO_SHIFT_FOOTBRIDGE): Likewise.
14867         (struct platform): Likewise.
14868         (init_iosys): Remove compatibility code for 2.4 kernels.
14869         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14871 2015-12-29  Florian Weimer  <fweimer@redhat.com>
14873         * malloc/tst-malloc-thread-fail.c: New file.
14874         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14875         (tst-malloc-thread-fail): Link against libpthread.
14877 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
14879         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
14880         (get_parser): New function.
14881         (main): New function.
14883 2015-12-29  Rob Wu  <rob@robwu.nl>
14885         [BZ #19369]
14886         * resolv/res_init.c (__res_vinit): Reset defdname before use.
14888 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14890         [BZ #19270]
14891         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14893 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
14895         [BZ #15421]
14896         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14898 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14900         [BZ #13690]
14901         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14902         after releasing it.
14903         (__lll_robust_unlock): Likewise.
14904         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14905         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14906         (lll_robust_unlock): Likewise.
14907         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14908         Prevent warnings in callers.
14910 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14912         * malloc/arena.c (list_lock): Update comment.
14914 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14916         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14917         __parse_hwcap_and_convert_at_platform to libc.a.
14919 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14921         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14922         platform and feature support for POWER9.
14923         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14924         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14925         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14926         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14927         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14928         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14929         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14930         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14932 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14934         Harmonize generic stdio-lock support with nptl
14936         This fixes build when _IO_funlockfile is a macro, fixes build where
14937         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14938         stack unwind.
14940         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14941         _IO_release_lock ): Use cleanup attribute on new
14942         _IO_acquire_lock_file variable instead of assuming that
14943         _IO_release_lock will be called.
14944         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14945         _IO_acquire_lock_needs_exceptions_enabled.
14946         (_IO_acquire_lock_clear_flags2): New macro.
14948 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14950         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14952 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14954         [BZ #19182]
14955         * malloc/arena.c (list_lock): Document lock ordering requirements.
14956         (free_list_lock): New lock.
14957         (ptmalloc_lock_all): Comment on free_list_lock.
14958         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14959         (detach_arena): Update comment.  free_list_lock is now needed.
14960         (_int_new_arena): Use free_list_lock around detach_arena call.
14961         Acquire arena lock after list_lock.  Add comment, including FIXME
14962         about incorrect synchronization.
14963         (get_free_list): Switch to free_list_lock.
14964         (reused_arena): Acquire free_list_lock around detach_arena call
14965         and attached threads counter update.  Add two FIXMEs about
14966         incorrect synchronization.
14967         (arena_thread_freeres): Switch to free_list_lock.
14968         * malloc/malloc.c (struct malloc_state): Update comments to
14969         mention free_list_lock.
14971 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14973         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14974         Remove functions.
14975         (sloww, sloww1): Accept argument to offset quadrant.
14976         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14977         quadrant.
14978         (__sin, __cos): Consolidate common code into new functions.
14979         (reduce_sincos_1, do_sincos_1): New functions.
14980         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14983         code to new functions.
14984         (reduce_sincos_2, do_sincos_2): New functions.
14985         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14987         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14988         common code for sincos.
14989         (__cos) [!IN_SINCOS]: Likewise.
14990         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14991         New function.
14992         (__sincos): Use it.
14994 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14996         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14997         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14998         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15000 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15002         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
15003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
15004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
15005         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
15006         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15007         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
15008         index_Prefer_No_VZEROUPPER): New feature.
15009         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
15010         Prefer_No_VZEROUPPER for Knights Landing.
15012 015-12-18  Torvald Riegel  <triegel@redhat.com>
15014         * math/atest-exp2.c (mp_exp_m1): Remove.
15016 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15018         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
15019         syscalls.
15020         (__SYSCALL0): New macro.
15021         (__SYSCALL1): Likewise.
15022         (__SYSCALL2): Likewise.
15023         (__SYSCALL3): Likewise.
15024         (__SYSCALL4): Likewise.
15025         (__SYSCALL5): Likewise.
15026         (__SYSCALL6): Likewise.
15027         (__SYSCALL_CONCAT_X): Likewise.
15028         (__SYSCALL_CONCAT): Likewise.
15029         (__SYSCALL_DIST): Likewise.
15030         (__SYSCALL_CALL): Likewise.
15032 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
15034         [BZ #19363]
15035         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
15037 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15039         [BZ #19375]
15040         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
15041         negative subnormals.
15043 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
15045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15046         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
15047         (INTERNAL_SYSCALL_NCS): Use it.
15048         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15050 2015-12-16  Florian Weimer  <fweimer@redhat.com>
15052         [BZ #19243]
15053         * malloc/arena.c (get_free_list): Remove assert and adjust
15054         reference count handling.  Add comment about reused_arena
15055         interaction.
15056         (reused_arena): Add comments abount get_free_list interaction.
15057         * malloc/tst-malloc-thread-exit.c: New file.
15058         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
15059         (tst-malloc-thread-exit): Link against libpthread.
15061 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15063         [BZ #19367]
15064         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
15065         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
15066         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
15067         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
15068         (index_Prefer_MAP_32BIT_EXEC): Likewise.
15070 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15072         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
15073         Silvermont optimizations for Knights Landing.
15075 2015-12-15  Andreas Schwab  <schwab@suse.de>
15077         [BZ #17197]
15078         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
15079         immediately after emitting SI.
15080         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
15081         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
15082         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
15083         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
15084         * iconvdata/bug-iconv10.c: New file.
15085         * iconvdata/Makefile (tests): Add bug-iconv10.
15086         ($(objpfx)bug-iconv10.out): New rule.
15088 2015-12-15  Florian Weimer  <fweimer@redhat.com>
15090         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
15091         aliasing violation.
15093 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
15095         [BZ #18472]
15096         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
15097         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
15098         conditionals for them.
15099         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
15100         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
15101         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
15102         sys/kdaemon.h.
15103         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
15104         compat-only syscall, obsoleted in glibc 2.23.
15105         (create_module): Likewise.
15106         (get_kernel_syms): Likewise.
15107         (query_module): Likewise.
15108         (uselib): Likewise.
15109         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
15111 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
15113         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15114         <linux/version.h>.
15115         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15116         conditional code.
15117         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15118         and ioshift_name initialization.
15120 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15122         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15123         Fix indentation.
15125 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15127         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15129 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15131         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15133 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
15134             Jakub Wilk  <jwilk@debian.org>
15136         [BZ #19347]
15137         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15138         to change the group of the device to the tty group.
15140 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
15142         Split large string section; add truncation advice
15143         * manual/examples/strncat.c: Remove.
15144         This example was misleading, as the code would have undefined
15145         behavior if "hello" was longer than SIZE.  Anyway, the manual
15146         shouldn't encourage strncpy+strncat for this sort of thing.
15147         * manual/string.texi (Copying Strings and Arrays): Split into
15148         three sections Copying Strings and Arrays, Concatenating Strings,
15149         and Truncating Strings, as this section was way too long.  All
15150         cross-referenced changed.  Add advice about string-truncation
15151         functions.  Remove misleading strncat example.
15153 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
15155         * manual/nss.texi (NSS Modules Interface): Document
15156         NSS_STATUS_NOTFOUND and SUCCESS.
15158 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15160         [BZ 18568]
15161         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15162         201505L, for Unicode 8.
15164 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
15166         * locale/C-translit.h: Regenerate.
15168 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15170         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15171         and U+0153.
15173 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
15175         [BZ #19351]
15176         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15177         expanding log(1+z), compare z rather than its square with epsilon
15178         to determine when to avoid evaluating the expansion.
15180         [BZ #19350]
15181         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15182         Increase overflow threshold.
15184         [BZ #19349]
15185         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15186         when small.
15188         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15190         New macro.
15191         [__LINUX_KERNEL_VERSION >= 0x040300]
15192         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15194         Likewise.
15195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15196         Likewise.
15197         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15198         Likewise.
15199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15200         Likewise.
15201         [__LINUX_KERNEL_VERSION >= 0x040300]
15202         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15203         [__LINUX_KERNEL_VERSION >= 0x040300]
15204         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15205         [__LINUX_KERNEL_VERSION >= 0x040300]
15206         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15207         [__LINUX_KERNEL_VERSION >= 0x040300]
15208         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15209         [__LINUX_KERNEL_VERSION >= 0x040300]
15210         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15211         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15212         Likewise.
15213         [__LINUX_KERNEL_VERSION >= 0x040300]
15214         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15215         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15216         Likewise.
15217         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15218         Likewise.
15219         [__LINUX_KERNEL_VERSION >= 0x040300]
15220         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15221         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15222         Likewise.
15223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15224         Likewise.
15225         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15226         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15227         Likewise.
15228         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15229         Likewise.
15230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15231         Likewise.
15232         [__LINUX_KERNEL_VERSION >= 0x040300]
15233         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15234         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15235         Likewise.
15236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15237         Likewise.
15238         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15239         Likewise.
15240         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15241         Likewise.
15242         [__LINUX_KERNEL_VERSION >= 0x040300]
15243         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15244         [__LINUX_KERNEL_VERSION >= 0x040300]
15245         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15246         [__LINUX_KERNEL_VERSION >= 0x040300]
15247         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15248         [__LINUX_KERNEL_VERSION >= 0x040300]
15249         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15250         [__LINUX_KERNEL_VERSION >= 0x040300]
15251         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15252         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15253         Likewise.
15254         [__LINUX_KERNEL_VERSION >= 0x040300]
15255         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15256         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15257         Likewise.
15258         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15259         Likewise.
15260         [__LINUX_KERNEL_VERSION >= 0x040300]
15261         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15263         Likewise.
15264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15265         Likewise.
15266         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15267         (__ASSUME_SOCKET_SYSCALL): Likewise.
15268         (__ASSUME_BIND_SYSCALL): Likewise.
15269         (__ASSUME_CONNECT_SYSCALL): Likewise.
15270         (__ASSUME_LISTEN_SYSCALL): Likewise.
15271         (__ASSUME_ACCEPT_SYSCALL): Likewise.
15272         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15273         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15274         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15275         (__ASSUME_SEND_SYSCALL): Likewise.
15276         (__ASSUME_SENDTO_SYSCALL): Likewise.
15277         (__ASSUME_RECV_SYSCALL): Likewise.
15278         (__ASSUME_RECVFROM_SYSCALL): Likewise.
15279         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15280         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15281         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15282         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15283         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15284         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15285         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15286         Likewise.
15287         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15288         Likewise.
15289         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15290         Likewise.
15291         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15292         Likewise.
15293         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15294         Likewise.
15295         [__LINUX_KERNEL_VERSION >= 0x020625]
15296         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15297         [__LINUX_KERNEL_VERSION >= 0x020625]
15298         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15299         [__LINUX_KERNEL_VERSION >= 0x020625]
15300         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15301         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15302         Likewise.
15303         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15304         Likewise.
15305         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15306         Likewise.
15307         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15308         Likewise.
15309         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15310         Likewise.
15311         [__LINUX_KERNEL_VERSION >= 0x020625]
15312         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15313         [__LINUX_KERNEL_VERSION >= 0x020625]
15314         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15315         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15316         Likewise.
15317         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15318         Likewise.
15320 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15322         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15323         record the current if the current ABI and CPU support the FP64
15324         extension.
15325         (has-modd-spreg): Define to record the current if the current ABI and
15326         CPU support 32-bit floating point values in odd FPU registers.
15327         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15328         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15329         $(has-modd-spreg) equals yes.
15330         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15331         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15332         $(has-modd-spreg) equal yes.
15334 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15336         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15337         basename.
15339 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
15341         * benchtests/Makefile (bench-math): Move ffs and ffsll...
15342         (bench-string): ... here.
15343         (bench): Add bench-string.
15344         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15345         to *-benchset to reflect what they are.
15346         (benchset): Adjust.
15348         * benchtests/sincos-inputs: Add inputs from sin-inputs and
15349         cos-inputs.
15351 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
15353         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15354         __attribute__ ((__simd__)) for vector math function declarations.
15356 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15358         Fix typo in strncat, wcsncat manual entries
15359         * manual/string.texi (Copying and Concatenation): Fix typos in
15360         sample implementations of strncat and wcsncat, by having them use
15361         the old value of the destination length, not the new one.
15363 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
15365         [BZ #16961]
15366         [BZ #16962]
15367         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15368         string on the stack for strtod.
15369         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15370         a string on the stack for strtof.
15371         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15372         constructing a string on the stack for strtold.
15373         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15374         __strtold_nan to GLIBC_PRIVATE.
15375         * math/test-nan-overflow.c: New file.
15376         * math/test-nan-payload.c: Likewise.
15377         * math/Makefile (tests): Add test-nan-overflow and
15378         test-nan-payload.
15380 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15382         Consistency about byte vs character in string.texi
15383         * manual/string.texi (String and Array Utilities):
15384         Distinguish more carefully among bytes, multibyte characters,
15385         and wide characters.  Use "byte" when talking about C 'char',
15386         to distinguish it more clearly from multibyte characters.
15387         Say "wide character" or "multibyte character" instead of
15388         "character", when a wide or multibyte character is intended.
15389         Similarly for "multibyte string" versus "string".
15390         Define these terms more carefully.
15392 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
15394         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15395         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15396         Likewise.
15397         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15398         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15399         * sysdeps/sh/math_private.h: New file.
15400         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15401         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15402         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15403         long double function name.
15404         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15405         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15408         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15410         Remove __finitel, __isinfl, and __isnanl.
15411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15412         Likewise.
15413         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15415         Remove __finitel.
15416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15417         Likewise.
15418         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15420 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
15422         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15423         installed libmvec_nonshared.a.
15425 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15427         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15428         (sysdep_routines): Likewise.
15429         (sysdep-rtld-routines): Likewise.
15430         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15431         [$(subdir) = nptl](tests-static): test-get_hwcap-static
15432         * sysdeps/powerpc/Versions: Added new
15433         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15434         * sysdeps/powerpc/hwcapinfo.c: New file.
15435         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15436         and parse hwcap, hwcap2 and platform number information.
15437         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
15438         to store HWCAP+HWCAP2 and platform number.
15439         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15440         for HWCAP+HWCAP2 and platform number in the TCB.
15441         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
15442         the HWCAP, HWCAP2 and platform number in the TCB.
15443         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15444         (TLS_INIT_TP): Included calls to add the hwcap and
15445         at_platform values in the TCB in TP initialization.
15446         (TLS_DEFINE_INIT_TP): Likewise.
15447         (THREAD_GET_HWCAP): New macro.
15448         (THREAD_SET_HWCAP): Likewise.
15449         (THREAD_GET_AT_PLATFORM): Likewise.
15450         (THREAD_SET_AT_PLATFORM): Likewise.
15451         * sysdeps/powerpc/powerpc32/dl-machine.h:
15452         (dl_platform_init): New function that calls
15453         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15454         powerpc32.
15455         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15456         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
15457         this functionality, static linking case.
15458         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
15459         linking case.
15460         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15461         __parse_hwcap_and_convert_at_platform for the static linking case.
15462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15463         Included the new __parse_hwcap_and_convert_at_platform symbol in the
15464         ABI list for GLIBC 2.23.
15465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15466         Likewise.
15467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15468         Likewise.
15470 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
15472         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15473         * configure: Regenerate.
15474         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15475         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
15477 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
15479         * iconvdata/ibm930.c: Add comment explaining encoding uses.
15480         * iconvdata/ibm933.c: Likewise.
15481         * iconvdata/ibm935.c: Likewise.
15482         * iconvdata/ibm937.c: Likewise.
15483         * iconvdata/ibm939.c: Likewise.
15485 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15487         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15488         pthread_join.
15489         * nptl/tst-cancel21.c (tf): Likewise.
15491 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15493         [BZ #19313]
15494         * bits/typesizes.h (__CPU_MASK_TYPE): New.
15495         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15496         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15497         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15498         Likewise.
15499         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15500         Likewise.
15501         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15502         Likewise.
15503         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15504         Likewise.
15505         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15506         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15507         unsigned long int with __CPU_MASK_TYPE.
15509 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15511         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15513 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
15515         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15516         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15517         t512.x.
15518         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15520 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
15522         [BZ #19214]
15523         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15524         argument to return extended model.  Update family and model
15525         with extended family and model when family == 0x0f.
15526         (init_cpu_features): Updated.
15528 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15530         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15531         signed off_t, so 32bit bigger than 2GiB values are fine actually.
15533         * sysdeps/mach/hurd/mmap64.c: New file.
15535 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
15537         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15538         rights for its main user thread in NEWTASK.
15540 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
15542         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15543         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15545 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
15547         [BZ #14259]
15548         * Makeconfig: Rename localedir to complocaledir.
15549         Rename inst_localedir to inst_complocaledir.
15550         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15551         * config.make.in: Use complocaledir and libc_cv_complocaledir.
15552         * configure.ac: Use libc_cv_complocaledir.
15553         * configure: Regenerate.
15554         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15555         -DCOMPLOCALEDIR.
15556         * locale/findlocale.c: Use COMPLOCALEDIR.
15557         * locale/loadarchive.c: Likewise.
15558         * locale/programs/locale.c: Likewise.
15559         * locale/programs/localedef.c: Likewise.
15560         * locale/programs/locarchive.c: Likewise.
15561         * localedata/Makefile: Use inst_complocaledir.
15562         * sysdeps/gnu/configure: Regenerate.
15563         * sysdeps/hppa/configure: Regenerate.
15564         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15565         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15567         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15568         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15569         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15570         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15572 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
15574         [BZ #19058]
15575         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15576         AS_NEEDED.
15577         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15578         workaround.
15579         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15580         libmvec-static-only-routines): Added new file.
15581         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15583 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15585         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15586         of interrupted RPC instead of restoring it.
15588         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15589         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15590         libc_hidden_def.
15591         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15592         into initialized data instead of common. Define rtld_hidden_data_def.
15593         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15594         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15595         libc_hidden_def.
15596         (if_freenameindex): Add libc_hidden_weak.
15597         (if_nameindex): Add libc_hidden_weak.
15598         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15599         __open64.
15600         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15601         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15602         * sysdeps/mach/nanosleep.c: Include <time.h>
15603         (__nanosleep): Rename to __libc_nanosleep.
15604         (__nanosleep): Add weak_alias.
15605         (nanosleep): Update alias.
15607 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
15609         * stdlib/strtod_nan.c: New file.
15610         * stdlib/strtod_nan_double.h: Likewise.
15611         * stdlib/strtod_nan_float.h: Likewise.
15612         * stdlib/strtod_nan_main.c: Likewise.
15613         * stdlib/strtod_nan_narrow.h: Likewise.
15614         * stdlib/strtod_nan_wide.h: Likewise.
15615         * stdlib/strtof_nan.c: Likewise.
15616         * stdlib/strtold_nan.c: Likewise.
15617         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15618         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15619         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15620         * wcsmbs/wcstod_nan.c: Likewise.
15621         * wcsmbs/wcstof_nan.c: Likewise.
15622         * wcsmbs/wcstold_nan.c: Likewise.
15623         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15624         strtold_nan.
15625         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15626         wcstof_nan.
15627         * include/stdlib.h (__strtof_nan): Declare and use
15628         libc_hidden_proto.
15629         (__strtod_nan): Likewise.
15630         (__strtold_nan): Likewise.
15631         (__wcstof_nan): Likewise.
15632         (__wcstod_nan): Likewise.
15633         (__wcstold_nan): Likewise.
15634         * include/wchar.h (____wcstoull_l_internal): Declare.
15635         * stdlib/strtod_l.c: Do not include <ieee754.h>.
15636         (____strtoull_l_internal): Remove declaration.
15637         (STRTOF_NAN): Define macro.
15638         (SET_MANTISSA): Remove macro.
15639         (STRTOULL): Likewise.
15640         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15641         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15642         (STRTOF_NAN): Define macro.
15643         (SET_MANTISSA): Remove macro.
15644         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15645         (SET_MANTISSA): Remove macro.
15646         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15647         macro.
15648         (SET_MANTISSA): Remove macro.
15649         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15650         macro.
15651         (SET_MANTISSA): Remove macro.
15652         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15653         (SET_MANTISSA): Remove macro.
15654         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15655         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15656         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15658         [BZ #19266]
15659         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15660         upper case and lower case letters inside NAN(), not using TOLOWER.
15661         * stdlib/tst-strtod-nan-locale-main.c: New file.
15662         * stdlib/tst-strtod-nan-locale.c: Likewise.
15663         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15664         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15665         Depend on $(gen-locales).
15666         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15667         * wcsmbs/tst-wcstod-nan-locale.c: New file.
15668         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15669         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15670         Depend on $(gen-locales).
15671         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15673 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
15675         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15677         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15679         __finitel, __isinfl, and __isnanl.
15680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15681         Likewise.
15682         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15684         __finitel.
15685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15686         Likewise.
15687         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15689 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15691         * malloc/memusage.c (me): Remove redundant getenv call.
15693 2015-10-24  Florian Weimer  <fweimer@redhat.com>
15695         [BZ #19143]
15696         [BZ #19164]
15697         * nptl/check-cpuset.h: Remove.
15698         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15699         Remove CPU set size check.
15700         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15701         Likewise.
15702         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15703         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15704         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15705         (__pthread_setaffinity_new): Remove CPU set size check.
15706         * sysdeps/unix/sysv/linux/sched_setaffinity.c
15707         (__kernel_cpumask_size): Remove.
15708         (__sched_setaffinity_new): Remove CPU set size check.
15709         * manual/threads.texi (Default Thread Attributes): Remove stale
15710         reference to check_cpuset_attr, determine_cpumask_size in comment.
15711         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15712         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
15713         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15714         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15715         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15716         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15717         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15718         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15719         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15720         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15721         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15722         skeleton test file.
15723         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
15724         tst-affinity-pid.
15726 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15728         * scripts/update-abilist.sh: New file.
15729         * Makefile (+subdir_targets): Add subdir_update-all-abi.
15730         * Makerules (update-all-abi-%, update-all-abi)
15731         (subdir_update-all-abi): New targets.
15732         * elf/Makefile (update-all-abi): New target.
15734 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15736         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15737         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15738         (__libc_lock_define_initialized): Use it.
15739         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15740         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15741         * malloc/malloc.c (main_arena): Likewise.
15742         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15743         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15745 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
15747         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15748         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15749         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15750         (PTRACE_O_MASK): Update value.
15751         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15752         New value in enum __ptrace_setoptions.
15753         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15754         (PTRACE_O_MASK): Update value.
15755         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15756         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15757         (PTRACE_O_MASK): Update value.
15758         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15759         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15760         (PTRACE_O_MASK): Update value.
15761         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15762         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15763         (PTRACE_O_MASK): Update value.
15764         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15765         New value in enum __ptrace_setoptions.
15766         (PTRACE_O_MASK): Update value.
15767         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15768         New value in enum __ptrace_setoptions.
15769         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15770         (PTRACE_O_MASK): Update value.
15772         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15773         New macro.
15774         (PACKET_AUXDATA): Likewise.
15775         (PACKET_ORIGDEV): Likewise.
15776         (PACKET_VERSION): Likewise.
15777         (PACKET_HDRLEN): Likewise.
15778         (PACKET_RESERVE): Likewise.
15779         (PACKET_TX_RING): Likewise.
15780         (PACKET_LOSS): Likewise.
15781         (PACKET_VNET_HDR): Likewise.
15782         (PACKET_TX_TIMESTAMP): Likewise.
15783         (PACKET_TIMESTAMP): Likewise.
15784         (PACKET_FANOUT): Likewise.
15785         (PACKET_TX_HAS_OFF): Likewise.
15786         (PACKET_QDISC_BYPASS): Likewise.
15787         (PACKET_ROLLOVER_STATS): Likewise.
15788         (PACKET_FANOUT_DATA): Likewise.
15789         (PACKET_MR_UNICAST): Likewise.
15791         [BZ #19242]
15792         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15793         (TOUPPER): Likewise.
15794         * stdlib/tst-strtol-locale-main.c: New file.
15795         * stdlib/tst-strtol-locale.c: Likewise.
15796         * stdlib/Makefile (tests): Add tst-strtol-locale.
15797         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15798         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15799         Depend on $(gen-locales).
15800         * wcsmbs/tst-wcstol-locale.c: New file.
15801         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15802         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15803         tr_TR.ISO-8859-9.
15804         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15805         Depend on $(gen-locales).
15807 2015-11-20  Roland McGrath  <roland@hack.frob.com>
15809         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15810         __glibc_likely instead of __builtin_expect.  After falling back to
15811         dyncode_create in a non-ET_DYN case, use the allocate_code_data
15812         system interface to register the code pages as occupied.
15814 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
15816         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15817         [!ARM_MATH_PRIVATE_H].
15818         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15819         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15820         [!HPPA_MATH_PRIVATE_H].
15821         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15822         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15823         to [!I386_MATH_PRIVATE_H].
15824         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15825         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15826         Change guard to [!M68K_MATH_PRIVATE_H].
15827         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15828         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15829         guard to [!MICROBLAZE_MATH_PRIVATE_H].
15830         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15831         macro.
15832         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15833         [!MIPS_MATH_PRIVATE_H].
15834         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15835         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15836         [!NIO2_MATH_PRIVATE_H].
15837         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15838         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15839         [!TILE_MATH_PRIVATE_H].
15840         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15842         [BZ #15421]
15843         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15844         initialize with 0 and define as weak alias of __signgam.
15845         * include/math.h [!_ISOMAC] (__signgam): Declare.
15846         * math/Makefile (libm-calls): Add w_lgamma_compat.
15847         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15848         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15849         test-signgam-ullong-init.
15850         (tests-static): Add test-signgam-uchar-static,
15851         test-signgam-uchar-init-static, test-signgam-uint-static,
15852         test-signgam-uint-init-static, test-signgam-ullong-static and
15853         test-signgam-ullong-init-static.
15854         (CFLAGS-test-signgam-uchar.c): New variable.
15855         (CFLAGS-test-signgam-uchar-init.c): Likewise.
15856         (CFLAGS-test-signgam-uchar-static.c): Likewise.
15857         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15858         (CFLAGS-test-signgam-uint.c): Likewise.
15859         (CFLAGS-test-signgam-uint-init.c): Likewise.
15860         (CFLAGS-test-signgam-uint-static.c): Likewise.
15861         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15862         (CFLAGS-test-signgam-ullong.c): Likewise.
15863         (CFLAGS-test-signgam-ullong-init.c): Likewise.
15864         (CFLAGS-test-signgam-ullong-static.c): Likewise.
15865         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15866         * math/Versions (libm): Add GLIBC_2.23.
15867         * math/lgamma-compat.h: New file.
15868         * math/test-signgam-main.c: Likewise.
15869         * math/test-signgam-uchar-init-static.c: Likewise.
15870         * math/test-signgam-uchar-init.c: Likewise.
15871         * math/test-signgam-uchar-static.c: Likewise.
15872         * math/test-signgam-uchar.c: Likewise.
15873         * math/test-signgam-uint-init-static.c: Likewise.
15874         * math/test-signgam-uint-init.c: Likewise.
15875         * math/test-signgam-uint-static.c: Likewise.
15876         * math/test-signgam-uint.c: Likewise.
15877         * math/test-signgam-ullong-init-static.c: Likewise.
15878         * math/test-signgam-ullong-init.c: Likewise.
15879         * math/test-signgam-ullong-static.c: Likewise.
15880         * math/test-signgam-ullong.c: Likewise.
15881         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15882         wrapper of w_lgamma_main.c.
15883         * math/w_lgamma_compat.c: New file.
15884         * math/w_lgamma_compatf.c: Likewise.
15885         * math/w_lgamma_compatl.c: Likewise.
15886         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
15887         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15888         defining compatibility symbols.
15889         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
15890         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15891         wrapper of w_lgammaf_main.c.
15892         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
15893         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15894         defining compatibility symbols.
15895         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
15896         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15897         wrapper of w_lgammal_main.c.
15898         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
15899         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15900         defining compatibility symbols.
15901         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15902         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15903         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15904         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15905         <lgamma-compat.h>.
15906         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15907         (__ieee754_gamma): Define as alias.
15908         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15909         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15910         <lgamma-compat.h>.
15911         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15912         (__ieee754_gammaf): Define as alias.
15913         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15914         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15915         <lgamma-compat.h>.
15916         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15917         (__ieee754_gammal): Define as alias.
15918         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15919         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15920         <math/w_lgamma_compat.c>.
15921         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15922         Define as alias of __lgamma_compat and use in defining lgammal.
15923         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15924         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15925         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15926         (USE_AS_COMPAT): New macro.
15927         (LGAMMA_OLD_VER): Undefine and redefine.
15928         (lgammal): Do not define here.
15929         (gammal): Only define here if [GAMMA_ALIAS].
15930         * conform/linknamespace.pl (@whitelist): Remove signgam.
15931         * sysdeps/nacl/libm.abilist: Update.
15932         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15933         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15934         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15935         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15936         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15937         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15938         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15939         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15940         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15941         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15942         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15943         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15945         Likewise.
15946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15947         Likewise.
15948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15949         Likewise.
15950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15951         Likewise.
15952         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15953         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15954         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15955         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15956         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15958         Likewise.
15959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15960         Likewise.
15961         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15962         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15963         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15965 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15967         [BZ #16364]
15968         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15969         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15971 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15973         * sysdeps/s390/fpu/bits/mathinline.h:
15974         Use __asm__ [__volatile__] instead of asm [volatile].
15975         * sysdeps/s390/abort-instr.h: Likewise.
15976         * sysdeps/s390/atomic-machine.h: Likewise.
15977         * sysdeps/s390/bits/string.h: Likewise.
15978         * sysdeps/s390/dl-tls.h: Likewise.
15979         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15980         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15981         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15982         * sysdeps/s390/fpu/fesetround.c: Likewise.
15983         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15984         * sysdeps/s390/fpu/s_fma.c: Likewise.
15985         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15986         * sysdeps/s390/memusage.h: Likewise.
15987         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15988         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15989         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15990         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15991         * sysdeps/s390/nptl/tls.h: Likewise.
15992         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15993         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15994         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15995         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15996         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15997         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15998         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15999         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16000         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16001         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
16002         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16003         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16004         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16005         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
16006         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16007         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16008         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
16009         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16010         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
16011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16012         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
16013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16014         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
16016 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16017             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16019         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16020         Add lwarx hint, and use macro for acquire instruction.
16021         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16022         Likewise.
16023         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
16024         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
16025         update to use new atomic macros.
16027 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16029         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16030         (__lll_trylock_elision): Fix setting of adapt_count.
16031         * sysdeps/unix/sysv/linux/powerpc/htm.h
16032         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
16033         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
16034         (_ABORT_SYSCALL): Renumber, and clarify definition.
16035         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
16037 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16039         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
16040         after system headers to prevent MIN/MAX redefinition.  Define
16041         HAVE_ALLOCA to preserve builtin alloca usage.
16043 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16045         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
16046         static and don't set or restore rounding.
16047         (__cos)[IN_SINCOS]: Likewise.
16048         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
16049         (__sincos): Set and restore rounding mode.  Remove check for infinite
16050         or NaN input.
16052         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
16054         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
16055         as used.
16057 2015-11-16  Florian Weimer  <fweimer@redhat.com>
16059         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
16061 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16063         * config.make.in (have-glob-dat-reloc): New.
16064         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
16065         target supports GLOB_DAT relocaton. AC_SUBST.
16066         * configure: Regenerated.
16067         * elf/Makefile (tests): Add tst-prelink.
16068         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16069         (tst-prelink-ENV): New.
16070         ($(objpfx)tst-prelink-conflict.out): Likewise.
16071         ($(objpfx)tst-prelink-cmp.out): Likewise.
16072         * sysdeps/x86/tst-prelink.c: Moved to ...
16073         * elf/tst-prelink.c: Here.
16074         * sysdeps/x86/tst-prelink.exp: Moved to ...
16075         * elf/tst-prelink.exp: Here.
16076         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
16077         (tst-prelink-ENV): Removed.
16078         ($(objpfx)tst-prelink-conflict.out): Likewise.
16079         ($(objpfx)tst-prelink-cmp.out): Likewise.
16080         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
16082 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
16084         [BZ #14551]
16085         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
16086         (__mpn_construct_long_double): If high part overflows to infinity,
16087         set errno and recompute overflowed result of the correct sign.
16088         * sysdeps/ieee754/ldbl-128ibm/Makefile
16089         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
16090         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
16091         $(libm).
16092         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
16094 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
16096         [BZ #15479]
16097         [BZ #19238]
16098         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
16099         floating-point state after first operation on input.  Restore full
16100         state rather than just rounding mode.
16101         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16102         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16103         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16105         [BZ #19235]
16106         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
16107         add 0.5 to integer arguments.
16108         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
16109         Likewise.
16110         (.LC2): New object.
16112 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
16114         * scripts/pylintrc (reports): Set to no.
16116 2015-11-10  Roland McGrath  <roland@hack.frob.com>
16118         * elf/dl-load.c (open_verify): Take new argument FD.
16119         Skip __open call if passed FD is not -1.
16120         (_dl_map_object, open_path): Update callers.
16121         * elf/dl-sysdep-open.h: New file.
16122         * elf/dl-load.c: Include it.
16123         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16124         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16125         * sysdeps/nacl/dl-sysdep-open.h: New file.
16126         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16127         from libc to rtld.
16129 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16131         [BZ #19228]
16132         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16133         and restore full floating-point state.
16134         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16135         Likewise.
16136         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16137         Likewise.
16138         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16139         Likewise.
16140         * math/test-nearbyint-except-2.c: New file.
16141         * math/Makefile (tests): Add test-nearbyint-except-2.
16143 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
16145         [BZ #19178]
16146         * sysdeps/x86/Makefile (tests): Add tst-prelink.
16147         (tst-prelink-ENV): New.
16148         ($(objpfx)tst-prelink-conflict.out): Likewise.
16149         ($(objpfx)tst-prelink-cmp.out): Likewise.
16150         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16151         * sysdeps/x86/tst-prelink.c: New file.
16152         * sysdeps/x86/tst-prelink.exp: Likewise.
16154 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16156         * math/auto-libm-test-in: Add another test of pow.
16157         * math/auto-libm-test-out: Regenerated.
16158         * math/libm-test.inc (pow_test_data): Add another test.
16160 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16162         [BZ #19219]
16163         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16164         weak_alias to nearbyintl.
16166 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16168         * sysdeps/aarch64/bits/string.h: New file.
16169         (_STRING_ARCH_unaligned): Define.
16171 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16173         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16174         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16175         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16176         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16179 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
16181         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16182         for original name of the DSO.  Add it to the name list of the DSO
16183         if it is actually given.
16184         (_dl_map_object): Keep track of whether an audit module rewrote
16185         the file name.  If yes, pass the original name to
16186         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
16187         debugging is enabled, log the change of the file name.
16188         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16189         _dl_map_object_from_fd.
16190         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16191         * elf/tst-audit11.c: New file
16192         * elf/tst-auditmod11.c: New file.
16193         * elf/tst-audit11mod1.c: New file.
16194         * elf/tst-audit11mod2.c: New file.
16195         * elf/tst-audit11mod2.map: New file.
16196         * elf/tst-audit12.c: New file
16197         * elf/tst-auditmod12.c: New file.
16198         * elf/tst-audit12mod1.c: New file.
16199         * elf/tst-audit12mod2.c: New file.
16200         * elf/tst-audit12mod2.map: New file.
16201         * elf/tst-audit12mod3.c: New file.
16203 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16205         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16206         Don't create weak aliases,
16207         because versioned symbols are created later.
16208         * sysdeps/s390/s390-32/setjmp.S
16209         (setjmp, _setjmp): Remove weak and rename to an unique name
16210         in SHARED case due to existing versioned symbols.
16211         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16212         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16213         (getcontext): Create weak alias only in non SHARED case.
16214         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16216 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16218         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16219         (__ASSUME_*_SYSCALL) Define new macros.
16220         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16221         Remove socketcall syscalls.
16222         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16223         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16224         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16225         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16226         * sysdeps/unix/sysv/linux/send.c (__libc_send):
16227         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16229 2015-11-09  Florian Weimer  <fweimer@redhat.com>
16231         [BZ #12926]
16232         Terminate process on invalid netlink response.
16233         * sysdeps/unix/sysv/linux/netlinkaccess.h
16234         (__netlink_assert_response): Declare.
16235         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16236         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16237         (sysdep_routines): Add netlink_assert_response.
16238         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16239         __netlink_assert_response.
16240         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16241         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16242         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16243         __netlink_assert_response.
16245 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16247         [BZ #19178]
16248         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16249         (RTYPE_CLASS_PLT): Likewise.
16250         (RTYPE_CLASS_COPY): Likewise.
16251         (RTYPE_CLASS_TLS): Likewise.
16252         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16253         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
16254         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16255         DL_DEBUG_PRELINK.
16257 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
16259         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16260         calls with argument -0.5.
16261         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16263         * configure.ac (libc_cv_z_nodelete): Remove configure test.
16264         (libc_cv_z_nodlopen): Likewise.
16265         (libc_cv_z_initfirst): Likewise.
16266         * configure: Regenerated.
16268 2015-11-06  Florian Weimer  <fweimer@redhat.com>
16270         Simplify abilist format to be line-based.
16271         * scripts/abilist.awk: Collect descriptors in the descs variable.
16272         (emit): Write descs variable and sort it
16273         externally, with sort.
16274         * sysdeps/**/*.abilist: Convert to new format.
16276 2015-11-06  Mark Wielaard  <mjw@redhat.com>
16278         [BZ #11460]
16279         * io/Makefile (routines): Add fts64.
16280         (tests): Add tst-fts and tst-fts-lfs.
16281         (CFLAGS-fts64.c): New.
16282         * io/Versions (GLIBC_2.23): New.
16283         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16284         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16285         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16286         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16287         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16288         (FTSENT64): Likewise.
16289         (fts64_children): Likewise.
16290         (fts64_close): Likewise.
16291         (fts64_open): Likewise.
16292         (fts64_read): Likewise.
16293         (fts64_set): Likewise.
16294         * io/fts64.c: New file.
16295         * io/tst-fts.c: New test.
16296         * io/tst-fts-lfs.c: Likewise.
16297         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16298         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16299         fts64_set.
16300         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16301         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16302         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16303         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16304         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16305         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16306         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16307         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16308         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16309         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16310         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16311         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16312         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16314         Likewise.
16315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16316         Likewise.
16317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16319         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16320         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16321         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16322         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16323         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16326         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16327         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16328         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16329         * sysdeps/wordsize-64/fts.c: New file.
16330         * sysdeps/wordsize-64/fts64.c: Likewise.
16331         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16332         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16333         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16334         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16336 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16338         * math/libm-test.inc (NON_FINITE): New macro.
16339         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16340         * math/gen-libm-test.pl (show_exceptions): Add argument
16341         $non_finite.
16342         (parse_args): Update call to show_exceptions.
16343         * math/test-math-finite.h: New file.
16344         * math/test-math-no-finite.h: Likewise.
16345         * math/test-double-finite.c: Likewise.
16346         * math/test-float-finite.c: Likewise.
16347         * math/test-ldouble-finite.c: Likewise.
16348         * math/test-double.c: Include "test-math-no-finite.h".
16349         * math/test-float.c: Include "test-math-no-finite.h".
16350         * math/test-ldouble.c: Include "test-math-no-finite.h".
16351         * math/test-math-inline.h (TEST_FINITE): New macro.
16352         * math/test-math-vector.h (TEST_FINITE): Likewise.
16353         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16354         (libm-tests): Add test-float-finite and test-double-finite.
16355         ($(objpfx)test-float-finite.o): New dependency on
16356         $(objpfx)libm-test.stmp.
16357         ($(objpfx)test-double-finite.o): Likewise.
16358         ($(objpfx)test-ldouble-finite.o): Likewise.
16359         (libm-test-no-inline-cflags): New variable.
16360         (libm-test-finite-cflags): Likewise.
16361         (CFLAGS-test-float-finite.c): Likewise.
16362         (CFLAGS-test-double-finite.c): Likewise.
16363         (CFLAGS-test-ldouble-finite.c): Likewise.
16364         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16365         (CFLAGS-test-double.c): Likewise.
16366         (CFLAGS-test-ldouble.c): Likewise.
16368 2015-11-05  Roland McGrath  <roland@hack.frob.com>
16370         * io/fcntl.c (__fcntl): Add ... to prototype.
16371         * misc/ioctl.c (__ioctl): Likewise.
16372         * misc/syscall.c (syscall): Likewise.
16374 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16376         * scripts/list-fixed-bugs.py: New file.
16378         [BZ #19213]
16379         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16380         returned for argument 1.
16381         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16382         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16383         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16384         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16385         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16386         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16388         [BZ #19211]
16389         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16390         __USE_XOPEN], not if [!__USE_ISOC99].
16391         (lgammaf): Likewise.
16392         (lgammal): Likewise.
16393         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16394         (gammaf): Likewise.
16395         (gammal): Likewise.
16396         * math/test-signgam-finite-c11.c: New file.
16397         * math/test-signgam-finite-c99.c: Likewise.
16398         * math/test-signgam-finite.c: Likewise.
16399         * math/Makefile (tests): Add test-signgam-finite,
16400         test-signgam-finite-c99 and test-signgam-finite-c11.
16401         (CFLAGS-test-signgam-finite.c): New variable.
16402         (CFLAGS-test-signgam-finite-c99.c): Likewise.
16403         (CFLAGS-test-signgam-finite-c11.c): Likewise.
16405         [BZ #19212]
16406         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16407         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16408         500].
16409         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16410         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16411         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16412         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16413         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16414         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16415         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16416         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16417         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16418         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16420         [BZ #19209]
16421         * math/bits/math-finite.h (ldexp): Remove declaration.
16422         (ldexpf): Likewise.
16423         (ldexpl): Likewise.
16425         [BZ #19205]
16426         * math/bits/math-finite.h (acosf): Condition declaration on
16427         [__USE_ISOC99].
16428         (acosl): Likewise.
16429         (acoshf): Likewise.
16430         (acoshl): Likewise.
16431         (asinf): Likewise.
16432         (asinl): Likewise.
16433         (atan2f): Likewise.
16434         (atan2l): Likewise.
16435         (atanhf): Likewise.
16436         (atanhl): Likewise.
16437         (coshf): Likewise.
16438         (coshl): Likewise.
16439         (expf): Likewise.
16440         (expl): Likewise.
16441         (fmodf): Likewise.
16442         (fmodl): Likewise.
16443         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16444         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16445         (j0l): Likewise.
16446         (y0f): Likewise.
16447         (y0l): Likewise.
16448         (j1f): Likewise.
16449         (j1l): Likewise.
16450         (y1f): Likewise.
16451         (y1l): Likewise.
16452         (jnf): Likewise.
16453         (jnl): Likewise.
16454         (ynf): Likewise.
16455         (ynl): Likewise.
16456         (lgammaf_r): Condition declaration on [__USE_ISOC99].
16457         (lgammal_r): Likewise.
16458         (__lgamma_r_finite): New declaration.
16459         (__lgammaf_r_finite): Likewise.
16460         (__lgammal_r_finite): Likewise.
16461         (lgamma): Use __lgamma_r_finite.
16462         (lgammaf): Condition definition on [__USE_ISOC99].  Use
16463         __lgammaf_r_finite.
16464         (lgammal): Condition definition on [__USE_ISOC99].  Use
16465         __lgammal_r_finite.
16466         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
16467         __lgamma_r_finite.
16468         (gammaf): Condition definition on [__USE_ISOC99].  Use
16469         __lgammaf_r_finite.
16470         (gammal): Condition definition on [__USE_ISOC99].  Use
16471         __lgammal_r_finite.
16472         (logf): Condition declaration on [__USE_ISOC99].
16473         (logl): Likewise.
16474         (log10f): Likewise.
16475         (log10l): Likewise.
16476         (ldexpf): Likewise.
16477         (ldexpl): Likewise.
16478         (powf): Likewise.
16479         (powl): Likewise.
16480         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16481         __USE_ISOC99].
16482         (remainderf): Condition declaration on [__USE_ISOC99].
16483         (remainderl): Likewise.
16484         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16485         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16486         (scalbl): Likewise.
16487         (sinhf): Condition declaration on [__USE_ISOC99].
16488         (sinhl): Likewise.
16489         (sqrtf): Likewise.
16490         (sqrtl): Likewise.
16492 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16494         * sysdeps/arm/atomic-machine.h
16495         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16496         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16497         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16498         Remove conditional code.
16499         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16500         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16501         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16502         Change conditional to [__ASSEMBLER__].
16503         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16504         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16505         [!__ASSEMBLER__].
16506         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16507         code.
16508         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16509         conditional macro definitions.
16510         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16511         (__arch_compare_and_exchange_val_16_acq): Likewise.
16512         (__arch_compare_and_exchange_val_32_acq): Likewise.
16513         (atomic_exchange_and_add): Likewise.
16514         (atomic_add): Likewise.
16515         (atomic_add_negative): Likewise.
16516         (atomic_add_zero): Likewise.
16517         (atomic_bit_set): Likewise.
16518         (atomic_bit_test_set): Likewise.
16519         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16520         code unconditional.
16521         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16523         * math/test-math-errno.h: New file.
16524         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16525         empty.
16526         (TEST_ERRNO): New macro.
16527         (TEST_EXCEPTIONS): Likewise.
16528         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16529         (TEST_EXCEPTIONS): Likewise.
16530         * math/test-math-vector.h (TEST_ERRNO): Likewise.
16531         * math/test-double.c: Include "test-math-errno.h".
16532         * math/test-float.c: Likewise.
16533         * math/test-ldouble.c: Likewise.
16534         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16535         code unconditional.
16536         (test_exceptions): Only run code if TEST_EXCEPTIONS.
16537         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16538         unconditional.
16539         (test_errno): Only run code if TEST_ERRNO.
16540         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16542 2015-11-04  Florian Weimer  <fweimer@redhat.com>
16544         * nptl/tst-once5.cc: Remove attribution.
16546 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16548         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16549         sqrt, tan, tanh, y0, y1 and yn.
16550         * math/auto-libm-test-out: Regenerated.
16551         * math/libm-test.inc (scalb_test_data): Add more tests.
16552         (scalbn_test_data): Likewise.
16553         (scalbln_test_data): Likewise.
16554         (signbit_test_data): Likewise.
16555         (sin_test_data): Likewise.
16556         (sincos_test_data): Likewise.
16557         (sinh_test_data): Likewise.
16558         (sqrt_test_data): Likewise.
16559         (tan_test_data): Likewise.
16560         (tanh_test_data): Likewise.
16561         (tgamma_test_data): Likewise.
16562         (y0_test_data): Likewise.
16563         (y1_test_data): Likewise.
16564         (yn_test_data): Likewise.
16565         (significand_test_data): Likewise.
16566         * sysdeps/i386/fpu/libm-test-ulps: Update.
16568 2015-11-03  David Kastrup  <dak@gnu.org>
16570         [BZ #18604]
16571         * assert/assert.h (assert): Don't macro-expand failed assertion
16572         expression in error message.
16573         * malloc/malloc.c (assert): Likewise.
16575 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
16577         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16578         test.
16579         * configure: Regenerated.
16581 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
16583         * math/libm-test.inc (modf_test_data): Add more tests.
16584         (nearbyint_test_data): Likewise.
16585         (nextafter_test_data): Likewise.
16586         (nexttoward_test_data): Likewise.
16587         (pow_test_data): Likewise.
16588         (remainder_test_data): Likewise.
16589         (remquo_test_data): Likewise.
16590         (rint_test_data): Likewise.
16592         [BZ #19201]
16593         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16594         Check for zero remainder in case of large exponents and ensure
16595         correct sign of result in that case.
16596         * math/libm-test.inc (remainder_test_data): Add more tests.
16598         [BZ #6799]
16599         * math/s_nextafter.c: Include <errno.h>.
16600         (__nextafter): Set errno on overflow and underflow.
16601         * math/s_nexttowardf.c: Include <errno.h>.
16602         (__nexttowardf): Set errno on overflow and underflow.
16603         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16604         (__nextafterl): Set errno on overflow and underflow.
16605         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16606         (__nexttoward): Set errno on overflow and underflow.
16607         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16608         (__nexttowardf): Set errno on overflow and underflow.
16609         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16610         (__nextafterf): Set errno on overflow and underflow.
16611         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16612         (__nextafterl): Set errno on overflow and underflow.
16613         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16614         (__nexttoward): Set errno on overflow and underflow.
16615         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16616         (__nexttowardf): Set errno on overflow and underflow.
16617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16618         (__nextafterl): Set errno on overflow and underflow.
16619         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16620         (__nexttoward): Set errno on overflow and underflow.
16621         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16622         (__nexttowardf): Set errno on overflow and underflow.
16623         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16624         (__nexttoward): Set errno on overflow and underflow.
16625         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16626         (__nexttowardf): Set errno on overflow and underflow.
16627         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16628         (__nldbl_nexttowardf): Set errno on overflow and underflow.
16629         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16630         (__nextafterl): Set errno on overflow and underflow.
16631         * math/libm-test.inc (nextafter_test_data): Do not allow errno
16632         setting to be missing on overflow.  Add more tests.
16633         (nexttoward_test_data): Likewise.
16635         * configure.ac (libc_cv_initfini_array): Remove configure test.
16636         * configure: Regenerated.
16638 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
16640         [BZ #19189]
16641         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16642         non-finite argument handle arguments with negative sign.
16644         * math/libm-test.inc (j0_test_data): Do not test sign of zero
16645         result from infinite argument.
16646         (j1_test_data): Likewise.
16647         (jn_test_data): Likewise.
16648         (y0_test_data): Likewise.
16649         (y1_test_data): Likewise.
16650         (yn_test_data): Likewise.
16652         [BZ #16171]
16653         * math/w_remainder.c (drem): Define as weak alias of __remainder.
16654         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16655         * math/w_remainderf.c (dremf): Define as weak alias of
16656         __remainderf.
16657         * math/w_remainderl.c (dreml): Define as weak alias of
16658         __remainderl.
16659         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16660         __remainder.
16661         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16662         __remainderf.
16663         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16664         __remainderl.
16665         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16666         weak alias of remainderl.
16667         * sysdeps/ieee754/ldbl-opt/w_remainder.c
16668         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16669         alias of __remainder.
16670         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16671         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16672         strong alias of __remainderl.
16673         (dreml): Use long_double_symbol.
16674         * math/Makefile (libm-calls): Remove w_drem.
16675         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16676         (CFLAGS-nldbl-drem.c): Remove variable.
16677         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16678         * math/w_drem.c: Remove file.
16679         * math/w_dremf.c: Likewise.
16680         * math/w_dreml.c: Likewise.
16681         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16682         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16683         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16685         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16686         * sysdeps/i386/configure: Regenerated.
16687         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16688         * sysdeps/x86_64/configure: Regenerated.
16690         * configure.ac (libc_cv_asm_protected_directive): Remove configure
16691         test.
16692         (libc_cv_visibility_attribute): Likewise.
16693         (libc_cv_protected_data): Test unconditionally.
16694         (libc_cv_broken_visibility_attribute): Remove configure test.
16695         (libc_cv_have_sdata_section): Test unconditionally.
16696         * configure: Regenerated.
16698         * include/libc-internal.h (libc_max_align_t): Remove typedef.
16699         * include/scratch_buffer.h: Include <stddef.h> instead of
16700         <libc-internal.h>.
16701         (struct scratch_buffer): Use max_align_t instead of
16702         libc_max_align_t.
16704 2015-10-29  Florian Weimer  <fweimer@redhat.com>
16706         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16707         instead of extend_alloca.  Change control flow to avoid a goto.
16708         Remove assert which is trivially always true.
16710 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16712         [BZ #16068]
16713         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16714         (FE_ALL_EXCEPT_X86): New macro.
16715         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16716         FE_ALL_EXCEPT.  Ensure precision control is included in
16717         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16718         handle "denormal operand exception" and clear FZ and DAZ bits.
16719         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16720         (FE_ALL_EXCEPT_X86): New macro.
16721         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16722         FE_ALL_EXCEPT.  Ensure precision control is included in
16723         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16724         handle "denormal operand exception" and clear FZ and DAZ bits.
16725         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16726         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16727         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16728         test-fenv-x87 and test-fenv-sse-2.
16729         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16731         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16732         * math/test-double.h (BUILD_COMPLEX): New macro.
16733         * math/test-float.h (BUILD_COMPLEX): Likewise.
16734         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16736         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16737         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16738         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16740         instead of DBL_DENORM_MIN in comment.
16741         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16742         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16743         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16744         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16746         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16748 2015-10-28  Florian Weimer  <fweimer@redhat.com>
16750         [BZ# 19048]
16751         * malloc/malloc.c (struct malloc_state): Update comment.  Add
16752         attached_threads member.
16753         (main_arena): Initialize attached_threads.
16754         * malloc/arena.c (list_lock): Update comment.
16755         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16756         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16757         (deattach_arena): New function.
16758         (_int_new_arena): Initialize arena reference count and deattach
16759         replaced arena.
16760         (get_free_list, reused_arena): Update reference count and deattach
16761         replaced arena.
16762         (arena_thread_freeres): Update arena reference count and only put
16763         unreferenced arenas on the free list.
16765 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16767         [BZ #19181]
16768         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16769         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16770         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16771         * math/test-fenv-clear-main.c: New file.
16772         * math/test-fenv-clear.c: Likewise.
16773         * math/Makefile (tests): Add test-fenv-clear.
16774         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16775         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16776         test-fenv-clear-sse.
16777         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16779         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16780         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16781         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16783 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16785         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16786         static libc.
16788 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16790         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16791         test.
16792         * sysdeps/i386/configure: Regenerated.
16793         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16794         test.
16795         * sysdeps/x86_64/configure: Regenerated.
16796         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16798         memset-avx2 unconditionally instead of conditionally on
16799         [$(config-cflags-avx2) = yes].
16800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16801         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16802         unconditional.
16803         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16804         * sysdeps/x86_64/multiarch/memset_chk.S
16805         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16806         to [IS_IN (libc) && SHARED].
16808 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16810         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16811         configure test.
16812         * sysdeps/arm/configure: Regenerated.
16813         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16814         Define variable if not already defined.
16816         [BZ #17404]
16817         * sysdeps/mips/atomic-machine.h
16818         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16819         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16820         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16822         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16823         unconditional.
16824         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16825         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16826         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16827         unconditional.
16828         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16829         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16830         unconditional.
16831         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16832         * stdlib/setenv.c
16833         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16834         code unconditional.
16835         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16836         Remove conditional code.
16837         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16838         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16839         unconditional.
16840         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16841         code.
16842         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16843         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16844         unconditional.
16845         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16846         code.
16847         * sysdeps/ieee754/ldbl-128/k_tanl.c
16848         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16849         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16850         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16851         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16852         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16853         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16854         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16855         unconditional.
16856         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16857         code.
16858         * sysdeps/ieee754/ldbl-96/k_tanl.c
16859         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16860         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16862         * nptl/tst-initializers1-c11.c: New file.
16863         * nptl/tst-initializers1-gnu11.c: Likewise.
16864         * nptl/Makefile (tests): Add these new tests.
16865         (CFLAGS-tst-initializers1-c11.c): New variable.
16866         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16868         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16869         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16870         instead of -std=gnu99.
16871         * configure.ac (systemtap): Test with -std=gnu11 instead of
16872         -std=gnu99.
16873         * configure: Regenerated.
16874         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16875         in compilation command in comment.
16877         * sysdeps/nptl/configure.ac: Remove file.
16878         * sysdeps/nptl/configure: Remove generated file.
16879         * configure.ac (libc_cv_forced_unwind): Do not substitute.
16880         * configure: Regenerated.
16881         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16882         * config.make.in (have-forced-unwind): Remove variable.
16883         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16884         unconditional.
16885         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16886         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16887         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16888         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16889         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16890         unconditional.
16892 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16894         [BZ #19174]
16895         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16896         .skip_lock_out_of_tbegin_retries.
16897         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16898         (__lll_lock_elision): Likewise, and respect a value of
16899         try_tbegin <= 0.
16901 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16903         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16904         statement.
16906 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16908         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16909         variable.
16910         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16911         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16913         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16914         of -std=c1x -D_ISOC11_SOURCE.
16916         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16917         * configure: Regenerated.
16918         * manual/install.texi (Tools for Compilation): Document
16919         requirement for GCC 4.7 or later.
16920         * INSTALL: Regenerated.
16922 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16924         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16925         on CNT to a conditional jump to 'puntdata'.
16927 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16929         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16930         (libc_cv_gcc_tls_model_attr): Likewise.
16931         * configure: Regenerated.
16933         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16934         * configure: Regenerated.
16935         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16937 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16939         * configure.ac (old_glibc_headers): Remove configure test.
16940         * configure: Regenerated.
16941         * config.make.in (old-glibc-headers): Remove variable.
16942         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16943         (install): Remove dependency on remove-old-headers.
16944         (headers2_0): Remove variable.
16945         (remove-old-headers): Remove rule.
16947         * configure.ac (libc_cv_dot_text): Remove configure test.
16948         (libc_cv_asm_set_directive): Use .text instead of
16949         ${libc_cv_dot_text} in configure test.
16950         * configure: Regenerated.
16952 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16954         [BZ #19168]
16955         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16957 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16959         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16960         not support static linking.
16961         * configure: Regenerate.
16963 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16965         * math/libm-test.inc (check_float_internal): Do not special-case
16966         errors up to 0.5 ulp.
16968         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16969         log2.
16970         * math/auto-libm-test-out: Regenerated.
16971         * math/libm-test.inc (MAX_EXP): New macro.
16972         (ilogb_test_data): Add more tests.
16973         (isfinite_test_data): Likewise.
16974         (isgreater_test_data): Likewise.
16975         (isgreaterequal_test_data): Likewise.
16976         (isinf_test_data): Likewise.
16977         (isless_test_data): Likewise.
16978         (islessequal_test_data): Likewise.
16979         (islessgreater_test_data): Likewise.
16980         (isnan_test_data): Likewise.
16981         (isnormal_test_data): Likewise.
16982         (issignaling_test_data): Likewise.
16983         (isunordered_test_data): Likewise.
16984         (j0_test_data): Likewise.
16985         (j1_test_data): Likewise.
16986         (jn_test_data): Likewise.
16987         (lgamma_test_data): Likewise.
16988         (log_test_data): Likewise.
16989         (log10_test_data): Likewise.
16990         (log1p_test_data): Likewise.
16991         (log2_test_data): Likewise.
16992         (logb_test_data): Likewise.
16993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16995         [BZ #18611]
16996         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16997         avoid excess range and precision on underflow.
16998         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16999         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17000         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17001         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
17002         underflow.
17003         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17004         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17005         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17006         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17007         * math/auto-libm-test-in: Do not allow missing errno setting for
17008         tests of j1 and jn.
17009         * math/auto-libm-test-out: Regenerated.
17011 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
17013         [BZ #15491]
17014         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
17015         floating-point environment instead of clearing all exceptions.
17016         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17017         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
17018         merging in "invalid" exceptions from frndint.
17019         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17020         * math/test-nearbyint-except.c: New file.
17021         * math/Makefile (tests): Add test-nearbyint-except.
17023 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
17025         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
17027         * sysdeps/tile/libm-test-ulps: Regenerated.
17029 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
17032         (__NR_sync_file_range2): Assume it is always defined.
17033         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17034         (__NR_sync_file_range): Assume it is always defined.
17036 2015-10-22  Andreas Schwab  <schwab@suse.de>
17038         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17039         INTERNAL_SYSCALL_ERRNO.
17040         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17041         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17042         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17043         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17044         Likewise.
17045         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17047 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17049         * io/tst-fcntl.c (fd): New static variable.
17050         (do_prepare): Open temporary file here....
17051         (do_test): ...not here.
17053         * io/ftwtest-sh: Also trap on exit to remove temporary files.
17055 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
17057         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
17058         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17059         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17060         Moved before "#ifdef __ASSEMBLER__".
17062 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17064         [BZ #19156]
17065         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
17066         arguments very close to 0.
17068 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
17070         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
17071         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
17073 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
17075         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17076         New.  Defined for GCC 5 and above when not compiling for
17077         profiling.
17078         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17080         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17081         Renamed to ...
17082         (CFLAGS-epoll_pwait.o): This.
17083         (CFLAGS-mmap.c): Renamed to ...
17084         (CFLAGS-mmap.o): This.
17085         (CFLAGS-mmap64.c): Renamed to ...
17086         (CFLAGS-mmap64.o): This.
17087         (CFLAGS-epoll_pwait.os): New.
17088         (CFLAGS-mmap.os): Likewise.
17089         (CFLAGS-mmap64.os): Likewise.
17090         (CFLAGS-semtimedop.os): Likewise.
17091         (CFLAGS-semtimedop.c): Renamed to ...
17092         (CFLAGS-semtimedop.o): This.
17094 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17096         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
17097         warning message.
17099 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17101         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
17102         * Makefile ($(objpfx)c++-types-check.out): Filter out
17103         $(+gccwarn-c) instead of -Wstrict-prototypes.
17105         * io/fts.c (fts_open): Convert to prototype-style function
17106         definition.
17107         * malloc/mcheck.c (mcheck): Likewise.
17108         (mcheck_pedantic): Likewise.
17109         * posix/regexec.c (re_search_2_stub): Likewise.  Use
17110         internal_function.
17111         (re_search_internal): Likewise.
17112         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
17113         prototype-style function definition.
17114         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17115         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17116         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17117         (xdr_utmpptr): Likewise.
17118         (xdr_utmparr): Likewise.
17119         (xdr_utmpidle): Likewise.
17120         (xdr_utmpidleptr): Likewise.
17121         (xdr_utmpidlearr): Likewise.
17123         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17124         log, log10 and log2.
17125         * math/auto-libm-test-out: Regenerated.
17126         * math/libm-test.inc (fmod_test_data): Add more tests.
17127         (fpclassify_test_data): Likewise.
17128         (frexp_test_data): Likewise.
17129         (hypot_test_data): Likewise.
17130         (ilogb_test_data): Likewise.
17132 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
17134         * debug/fortify_fail.c (__fortify_fail): Convert to
17135         prototype-style function definition.  Use internal_function.
17136         * libio/genops.c (save_for_backup): Convert to prototype-style
17137         function definition.
17138         * libio/wgenops.c (save_for_wbackup): Likewise.
17139         * login/grantpt.c (grantpt): Likewise.
17140         * login/ptsname.c (ptsname): Likewise.
17141         (__ptsname_r): Likewise.
17142         * login/unlockpt.c (unlockpt): Likewise.
17143         * mach/msgserver.c (__mach_msg_server): Likewise.
17144         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17145         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17146         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17147         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17148         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17149         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17150         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17151         Likewise.
17152         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
17153         internal_function.
17154         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17155         prototype-style function definition.
17156         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17157         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17158         (__pthread_create_2_0): Likewise.
17159         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17160         * nptl/register-atfork.c (__register_atfork): Likewise.
17161         * posix/glob.c (glob): Likewise.
17162         * posix/regcomp.c (re_comp): Likewise.
17163         * posix/regexec.c (re_exec): Likewise.
17164         * stdlib/add_n.c [__STDC__]: Make code unconditional.
17165         [!__STDC__]: Remove conditional code.
17166         * stdlib/cmp.c [__STDC__]: Make code unconditional.
17167         [!__STDC__]: Remove conditional code.
17168         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17169         [!__STDC__]: Remove conditional code.
17170         * stdlib/divrem.c [__STDC__]: Make code unconditional.
17171         [!__STDC__]: Remove conditional code.
17172         * stdlib/lshift.c [__STDC__]: Make code unconditional.
17173         [!__STDC__]: Remove conditional code.
17174         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17175         [!__STDC__]: Remove conditional code.
17176         * stdlib/mul.c [__STDC__]: Make code unconditional.
17177         [!__STDC__]: Remove conditional code.
17178         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17179         [!__STDC__]: Remove conditional code.
17180         * stdlib/rshift.c [__STDC__]: Make code unconditional.
17181         [!__STDC__]: Remove conditional code.
17182         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17183         function definition.
17184         (STRTOF): Likewise.
17185         * stdlib/strtod_l.c (__STRTOF): Likewise.
17186         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17187         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17188         (__strtol_l): Likewise.
17189         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17190         [!__STDC__]: Remove conditional code.
17191         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17192         definition.
17193         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17194         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17195         type.
17196         (__strcasecmp): Convert to prototype-style function definition.
17197         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17198         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17199         type.
17200         (__strncasecmp): Convert to prototype-style function definition.
17201         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17202         * sunrpc/xdr.c (xdr_union): Likewise.
17203         * sunrpc/xdr_array.c (xdr_array): Likewise.
17204         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17205         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17206         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17207         Likewise.
17208         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17209         Likewise.
17210         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17211         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17212         Likewise.
17213         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17214         (LOCALE_PARAM_PROTO): Likewise.
17215         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17216         argument type.
17217         (ut_argument_spec): Remove macro.
17218         (ut_argument_spec_iso): Rename to ut_argument_spec.
17219         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
17220         prototype-style function definition.
17221         (memcpy_uppcase): Likewise.
17222         (__strftime_internal): Likewise.
17223         (my_strftime): Likewise.
17224         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17225         (LOCALE_PARAM_DECL): Likewise.
17226         [_LIBC] (LOCALE_PARAM): Include argument type.
17227         (__strptime_internal): Convert to prototype-style function
17228         definition.
17229         (strptime): Likewise.
17230         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17231         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17232         type.
17233         (__wcscasecmp): Convert to prototype-style function definition.
17234         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17235         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17236         type.
17237         (__wcsncasecmp): Convert to prototype-style function definition.
17239         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17240         function definition.
17241         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17242         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17243         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17244         * elf/dl-minimal.c (_itoa): Likewise.
17245         * hurd/hurdmalloc.c (malloc): Likewise.
17246         (free): Likewise.
17247         (realloc): Likewise.
17248         * inet/inet6_option.c (inet6_option_space): Likewise.
17249         (inet6_option_init): Likewise.
17250         (inet6_option_append): Likewise.
17251         (inet6_option_alloc): Likewise.
17252         (inet6_option_next): Likewise.
17253         (inet6_option_find): Likewise.
17254         * io/ftw.c (FTW_NAME): Likewise.
17255         (NFTW_NAME): Likewise.
17256         (NFTW_NEW_NAME): Likewise.
17257         (NFTW_OLD_NAME): Likewise.
17258         * libio/iofwide.c (_IO_fwide): Likewise.
17259         * libio/strops.c (_IO_str_init_static_internal): Likewise.
17260         (_IO_str_init_static): Likewise.
17261         (_IO_str_init_readonly): Likewise.
17262         (_IO_str_overflow): Likewise.
17263         (_IO_str_underflow): Likewise.
17264         (_IO_str_count): Likewise.
17265         (_IO_str_seekoff): Likewise.
17266         (_IO_str_pbackfail): Likewise.
17267         (_IO_str_finish): Likewise.
17268         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17269         (_IO_wstr_overflow): Likewise.
17270         (_IO_wstr_underflow): Likewise.
17271         (_IO_wstr_count): Likewise.
17272         (_IO_wstr_seekoff): Likewise.
17273         (_IO_wstr_pbackfail): Likewise.
17274         (_IO_wstr_finish): Likewise.
17275         * locale/programs/localedef.c (normalize_codeset): Likewise.
17276         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17277         (add_locales_to_archive): Likewise.
17278         (delete_locales_from_archive): Likewise.
17279         * malloc/malloc.c (__libc_mallinfo): Likewise.
17280         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17281         * misc/tsearch.c (__tfind): Likewise.
17282         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17283         * nptl/pthread_attr_getdetachstate.c
17284         (__pthread_attr_getdetachstate): Likewise.
17285         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17286         Likewise.
17287         * nptl/pthread_attr_getinheritsched.c
17288         (__pthread_attr_getinheritsched): Likewise.
17289         * nptl/pthread_attr_getschedparam.c
17290         (__pthread_attr_getschedparam): Likewise.
17291         * nptl/pthread_attr_getschedpolicy.c
17292         (__pthread_attr_getschedpolicy): Likewise.
17293         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17294         Likewise.
17295         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17296         Likewise.
17297         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17298         Likewise.
17299         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17300         Likewise.
17301         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17302         (__pthread_attr_init_2_0): Likewise.
17303         * nptl/pthread_attr_setdetachstate.c
17304         (__pthread_attr_setdetachstate): Likewise.
17305         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17306         Likewise.
17307         * nptl/pthread_attr_setinheritsched.c
17308         (__pthread_attr_setinheritsched): Likewise.
17309         * nptl/pthread_attr_setschedparam.c
17310         (__pthread_attr_setschedparam): Likewise.
17311         * nptl/pthread_attr_setschedpolicy.c
17312         (__pthread_attr_setschedpolicy): Likewise.
17313         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17314         Likewise.
17315         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17316         Likewise.
17317         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17318         Likewise.
17319         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17320         Likewise.
17321         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17322         Likewise.
17323         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17324         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17325         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17326         use internal_function.
17327         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17328         prototype-style function definition.
17329         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17330         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
17331         internal_function.
17332         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17333         Convert to prototype-style function definition.
17334         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17335         Likewise.
17336         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17337         Likewise.
17338         (__pthread_mutex_unlock): Likewise.
17339         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17340         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17341         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17342         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17343         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17344         * nss/makedb.c (process_input): Likewise.
17345         * posix/fnmatch.c (__strchrnul): Likewise.
17346         (__wcschrnul): Likewise.
17347         (fnmatch): Likewise.
17348         * posix/fnmatch_loop.c (FCT): Likewise.
17349         * posix/glob.c (globfree): Likewise.
17350         (__glob_pattern_type): Likewise.
17351         (__glob_pattern_p): Likewise.
17352         * posix/regcomp.c (re_compile_pattern): Likewise.
17353         (re_set_syntax): Likewise.
17354         (re_compile_fastmap): Likewise.
17355         (regcomp): Likewise.
17356         (regerror): Likewise.
17357         (regfree): Likewise.
17358         * posix/regexec.c (regexec): Likewise.
17359         (re_match): Likewise.
17360         (re_search): Likewise.
17361         (re_match_2): Likewise.
17362         (re_search_2): Likewise.
17363         (re_search_stub): Likewise.  Use internal_function
17364         (re_copy_regs): Likewise.
17365         (re_set_registers): Convert to prototype-style function
17366         definition.
17367         (prune_impossible_nodes): Likewise.  Use internal_function.
17368         * resolv/inet_net_pton.c (inet_net_pton): Convert to
17369         prototype-style function definition.
17370         (inet_net_pton_ipv4): Likewise.
17371         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17372         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17373         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17374         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17375         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17376         Make variadic.
17377         * time/strptime_l.c (localtime_r): Convert to prototype-style
17378         function definition.
17379         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17380         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17381         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17382         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17384         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17385         definition.
17386         (_ufc_doit_r): Likewise.
17387         * crypt/crypt_util.c (_ufc_copymem): Likewise.
17388         (_ufc_output_conversion_r): Likewise.
17389         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17390         * inet/rcmd.c (rcmd_af): Likewise.
17391         (rcmd): Likewise.
17392         (ruserok_af): Likewise.
17393         (ruserok): Likewise.
17394         (ruserok2_sa): Likewise.
17395         (ruserok_sa): Likewise.
17396         (iruserok_af): Likewise.
17397         (iruserok): Likewise.
17398         (__ivaliduser): Likewise.
17399         (__validuser2_sa): Likewise.
17400         * inet/rexec.c (rexec_af): Likewise.
17401         (rexec): Likewise.
17402         * inet/ruserpass.c (ruserpass): Likewise.
17403         * locale/programs/xmalloc.c (xcalloc): Likewise.
17404         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17405         * math/w_drem.c (__drem): Likewise.
17406         * math/w_dremf.c (__dremf): Likewise.
17407         * math/w_dreml.c (__dreml): Likewise.
17408         * misc/daemon.c (daemon): Likewise.
17409         * resolv/res_debug.c (p_fqnname): Likewise.
17410         * stdlib/div.c (div): Likewise.
17411         * string/memcmp.c (memcmp_bytes): Likewise.
17412         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17413         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17415         * crypt/cert.c (main): Convert to prototype-style function
17416         definition.
17417         * io/pipe.c (__pipe): Likewise.
17418         * io/pipe2.c (__pipe2): Likewise.
17419         * misc/futimesat.c (futimesat): Likewise.
17420         * misc/utimes.c (__utimes): Likewise.
17421         * posix/execve.c (__execve): Likewise.
17422         * posix/execvp.c (execvp): Likewise.
17423         * posix/execvpe.c (__execvpe): Likewise.
17424         * posix/fexecve.c (fexecve): Likewise.
17425         * socket/socketpair.c (socketpair): Likewise.
17426         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17427         * stdlib/erand48.c (erand48): Likewise.
17428         * stdlib/erand48_r.c (__erand48_r): Likewise.
17429         * stdlib/jrand48.c (jrand48): Likewise.
17430         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17431         * stdlib/lcong48.c (lcong48): Likewise.
17432         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17433         * stdlib/nrand48.c (nrand48): Likewise.
17434         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17435         * stdlib/seed48.c (seed48): Likewise.
17436         * stdlib/seed48_r.c (__seed48_r): Likewise.
17437         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17438         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17439         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17441 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17443         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17444         * configure: Regenerated.
17445         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17446         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17447         unconditional.
17448         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17449         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17450         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17451         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17452         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17453         unconditional.
17454         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17456         * posix/Makefile (CFLAGS-regex.c): Remove variable.
17457         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17459         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17460         function definition.
17461         * crypt/crypt_util.c (__encrypt_r): Likewise.
17462         * libio/genops.c (_IO_no_init): Likewise.
17463         * libio/iofopncook.c (_IO_fopencookie): Likewise.
17464         (_IO_old_fopencookie): Likewise.
17465         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17466         * libio/iogetline.c (_IO_getline): Likewise.
17467         (_IO_getline_info): Likewise.
17468         * libio/iogetwline.c (_IO_getwline): Likewise.
17469         (_IO_getwline_info): Likewise.
17470         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17471         * libio/vswprintf.c (_IO_vswprintf): Likewise.
17472         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17473         (find_entry): Likewise.
17474         (iterate_table): Likewise.
17475         (lookup): Likewise.
17476         * login/forkpty.c (forkpty): Likewise.
17477         * misc/hsearch_r.c (__hsearch_r): Likewise.
17478         * misc/select.c (__select): Likewise.
17479         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17480         Likewise.
17481         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17482         Likewise.
17483         * nptl/old_pthread_cond_timedwait.c
17484         (__pthread_cond_timedwait_2_0): Likewise.
17485         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17486         * nptl/pthread_barrierattr_getpshared.c
17487         (pthread_barrierattr_getpshared): Likewise.
17488         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17489         Likewise.
17490         * nptl/pthread_mutex_setprioceiling.c
17491         (pthread_mutex_setprioceiling): Likewise.
17492         * nptl/pthread_mutexattr_getprioceiling.c
17493         (pthread_mutexattr_getprioceiling): Likewise.
17494         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17495         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17496         Likewise.
17497         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17498         Likewise.
17499         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17500         Likewise.
17501         * socket/recvfrom.c (__recvfrom): Likewise.
17502         * socket/sendto.c (__sendto): Likewise.
17503         * socket/setsockopt.c (__setsockopt): Likewise.
17504         * stdio-common/_itoa.c (_itoa): Likewise.
17505         * stdio-common/_itowa.c (_itowa): Likewise.
17506         * stdio-common/reg-printf.c (__register_printf_specifier):
17507         Likewise.
17508         (__register_printf_function): Likewise.
17509         * stdio-common/tempname.c (__path_search): Likewise.
17510         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17511         * stdlib/mul_1.c (mpn_mul_1): Likewise.
17512         * stdlib/random_r.c (__initstate_r): Likewise.
17513         * stdlib/setenv.c (__add_to_environ): Likewise.
17514         * stdlib/submul_1.c (mpn_submul_1): Likewise.
17515         * streams/getpmsg.c (getpmsg): Likewise.
17516         * streams/putmsg.c (putmsg): Likewise.
17517         * streams/putpmsg.c (putpmsg): Likewise.
17518         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17519         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17520         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17521         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17522         * sunrpc/pm_getport.c (pmap_getport): Likewise.
17523         * sunrpc/svc_udp.c (cache_get): Likewise.
17524         * sunrpc/xdr_array.c (xdr_vector): Likewise.
17525         * sysdeps/mach/hurd/getcwd.c
17526         (__canonicalize_directory_name_internal): Likewise.
17527         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17528         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17529         * sysdeps/mach/hurd/select.c (__select): Likewise.
17530         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17531         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17532         * sysdeps/sparc/nptl/pthread_barrier_init.c
17533         (__pthread_barrier_init): Likewise.
17534         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17535         (__pthread_cond_timedwait): Likewise.
17536         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17537         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17538         Likewise.
17539         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17540         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17541         Likewise.
17542         * sysvipc/semtimedop.c (semtimedop): Likewise.
17543         * time/setitimer.c (__setitimer): Likewise.
17544         * time/strftime_l.c (emacs_strftime): Likewise.
17546 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17548         * config.make.in (have-ssp): Delete.
17549         (stack-protector): New variable.
17550         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
17551         cache test for -fstack-protector-strong.  Export stack_protector to
17552         the best ssp flag.
17553         * configure: Regenerated.
17554         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17555         * nscd/Makefile (CFLAGS-nscd): Likewise.
17556         * resolv/Makefile (CFLAGS-libresolv): Likewise.
17558 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
17560         [BZ #19122]
17561         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17562         attribute_hidden.
17564 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17566         [BZ #18743]
17567         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17568         code to...
17569         (ELIDE_LOCK): ...here.
17570         (__get_new_count): New function with part of the code from
17571         __elide_lock that updates the value of adapt_count after a
17572         transaction abort.
17573         (__elided_trylock): Moved this code to...
17574         (ELIDE_TRYLOCK): ...here.
17576 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17578         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17579         * configure: Regenerate.
17580         * INSTALL: Regenerate.
17581         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17582         and tweak grammar.
17584 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
17586         * login/programs/pt_chown.c: Include signal.h
17587         (main): Clear any signal mask from the parent process.
17589 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17591         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17592         * configure: Regenerated.
17593         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17594         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17595         $(gnu89-inline-CFLAGS).
17597         * configure.ac (libc_cv_asm_weak_directive): Remove configure
17598         test.
17599         (libc_cv_asm_weakext_directive): Likewise.
17600         * configure: Regenerated.
17601         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17602         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17603         * include/libc-symbols.h
17604         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17605         #error.
17606         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17607         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17609         * sysdeps/arm/backtrace.c (__backtrace): Convert to
17610         prototype-style function definition.
17611         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17612         * sysdeps/i386/ffs.c (__ffs): Likewise.
17613         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17614         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17615         Likewise.
17616         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17617         Likewise.
17618         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17619         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17620         Likewise.
17621         * sysdeps/m68k/ffs.c (__ffs): Likewise.
17622         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17623         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17624         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17625         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17626         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17627         * sysdeps/mach/hurd/access.c (__access): Likewise.
17628         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17629         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17630         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17631         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17632         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17633         (cthread_getspecific): Likewise.
17634         (cthread_setspecific): Likewise.
17635         (__libc_getspecific): Likewise.
17636         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17637         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17638         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17639         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17640         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17641         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17642         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17643         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17644         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17645         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17646         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17647         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17648         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17649         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17650         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17651         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17652         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17653         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17654         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17655         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17656         * sysdeps/mach/hurd/link.c (__link): Likewise.
17657         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17658         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17659         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17660         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17661         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17662         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17663         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17664         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17665         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17666         * sysdeps/mach/hurd/rename.c (rename): Likewise.
17667         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17668         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17669         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17670         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17671         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17672         * sysdeps/mach/hurd/send.c (__send): Likewise.
17673         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17674         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17675         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17676         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17677         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17678         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17679         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17680         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17681         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17682         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17683         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17684         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17685         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17686         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17687         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17688         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17689         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17690         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17691         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17692         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17693         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17694         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17695         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17696         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17697         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17698         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17699         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17700         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17701         * sysdeps/posix/alarm.c (alarm): Likewise.
17702         * sysdeps/posix/cuserid.c (cuserid): Likewise.
17703         * sysdeps/posix/dirfd.c (dirfd): Likewise.
17704         * sysdeps/posix/dup.c (__dup): Likewise.
17705         * sysdeps/posix/dup2.c (__dup2): Likewise.
17706         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17707         (main): Likewise.
17708         * sysdeps/posix/flock.c (__flock): Likewise.
17709         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17710         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17711         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17712         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17713         * sysdeps/posix/isatty.c (__isatty): Likewise.
17714         * sysdeps/posix/killpg.c (killpg): Likewise.
17715         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17716         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17717         * sysdeps/posix/raise.c (raise): Likewise.
17718         * sysdeps/posix/remove.c (remove): Likewise.
17719         * sysdeps/posix/rename.c (rename): Likewise.
17720         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17721         * sysdeps/posix/seekdir.c (seekdir): Likewise.
17722         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17723         * sysdeps/posix/sigignore.c (sigignore): Likewise.
17724         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17725         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17726         * sysdeps/posix/sigset.c (sigset): Likewise.
17727         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17728         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17729         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17730         * sysdeps/posix/time.c (time): Likewise.
17731         * sysdeps/posix/ttyname.c (getttyname): Likewise.
17732         (ttyname): Likewise.
17733         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17734         * sysdeps/posix/utime.c (utime): Likewise.
17735         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17736         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17737         Likewise.
17738         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17739         (pthread_spin_trylock): Likewise.
17740         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17741         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17742         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17743         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17744         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17745         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17746         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17747         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17748         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17749         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17750         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17751         * sysdeps/s390/ffs.c (__ffs): Likewise.
17752         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17753         Likewise.
17754         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17755         Likewise.
17756         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17757         Likewise.
17758         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17759         (pthread_barrier_destroy): Likewise.
17760         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17761         (__pthread_barrier_wait): Likewise.
17762         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17763         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17764         (__pthread_barrier_wait): Likewise.
17765         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17766         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17767         (memcmp_not_common_alignment): Likewise.
17768         (MEMCMP): Likewise.
17769         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17770         (_wordcopy_fwd_dest_aligned): Likewise.
17771         (_wordcopy_bwd_aligned): Likewise.
17772         (_wordcopy_bwd_dest_aligned): Likewise.
17773         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17774         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17775         * sysdeps/unix/bsd/stty.c (stty): Likewise.
17776         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17777         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17778         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17779         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17780         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17781         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17782         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17783         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17784         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17785         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17786         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17787         * sysdeps/unix/stime.c (stime): Likewise.
17788         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17789         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17790         Likewise.  Use internal_function.
17791         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17792         Convert to prototype-style function definition.
17793         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17794         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17795         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17796         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17797         Likewise.  Use internal_function.
17798         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17799         prototype-style function definition
17800         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17801         Likewise.
17802         (__getlogin_r): Likewise.
17803         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17804         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17805         (__pthread_cond_broadcast): Likewise.
17806         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17807         (__pthread_cond_destroy): Likewise.
17808         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17809         (__pthread_cond_init): Likewise.
17810         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17811         (__pthread_cond_signal): Likewise.
17812         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17813         (__pthread_cond_wait): Likewise.
17814         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17815         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17816         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17817         Likewise.
17818         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17819         Likewise.
17820         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17821         Likewise.
17822         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17823         Likewise.
17824         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17826         (__ftruncate64): Likewise.
17827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17828         (truncate64): Likewise.
17829         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17830         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17831         (pthread_getcpuclockid): Likewise.
17832         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17833         Likewise.
17834         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17835         Likewise.
17836         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17837         Likewise.
17838         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17839         Likewise.
17840         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17841         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17842         (__libc_sigaction): Likewise.
17843         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17844         Likewise.
17845         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17846         (__sigprocmask): Likewise.
17847         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17848         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17849         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17850         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17851         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17852         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17853         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17854         Likewise.
17855         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17856         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17857         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17858         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17859         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17860         Likewise.
17861         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17862         (__sigprocmask): Likewise.
17863         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17864         (cfgetispeed): Likewise.
17865         (cfsetospeed): Likewise.
17866         (cfsetispeed): Likewise.
17867         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17868         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17869         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17870         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17871         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17872         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17873         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17874         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17875         Likewise.
17876         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17877         Likewise.
17878         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17879         Likewise.
17880         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17881         Likewise.
17882         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17884 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17886         sunrpc: Rewrite with explicit TLS access using __thread.
17887         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17888         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17889         directly.
17890         (__rpc_thread_variables): Access thread_rpc_vars directly.
17891         Eliminate redundant assignment of the tvp variable.
17893 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17895         malloc: Rewrite with explicit TLS access using __thread.
17896         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17897         (tsd_setspecific, tsd_getspecific): Remove.
17898         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17899         (tsd_setspecific, tsd_getspecific): Likewise.
17900         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17901         (tsd_setspecific, tsd_getspecific): Likewise.
17902         * malloc/arena.c (thread_arena): New TLS variable.
17903         (arena_key): Remove variable.
17904         (arena_get): Use thread_arena.
17905         (arena_lookup): Remove macro.
17906         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17907         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17908         (_int_new_arena, get_free_list, reused_arena)
17909         (arena_thread_freeres): Use thread_arena.
17910         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17911         tsd_getspecific, tsd_setspecific from safety annotations.
17912         (Allocating Cleared Space): Remove arena_lookup from safety
17913         annotations.
17915 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17917         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17918         struct scratch_buffer instead of extend_alloca.
17920 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17922         * sysdeps/unix/sysv/linux/kernel-features.h
17923         (__ASSUME_SOCK_CLOEXEC): Remove.
17924         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17925         (__have_paccept): Remove unused macro.
17926         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17927         * misc/syslog.c (openlog_internal): Remove fallback code for
17928         !__ASSUME_SOCK_CLOEXEC.
17929         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17930         missing SOCK_CLOEXEC.
17931         * nscd/connections.c (have_sock_cloexec): Remove definition.
17932         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17933         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17934         !__ASSUME_SOCK_CLOEXEC.
17935         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17936         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17937         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17938         definition.
17939         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17940         code for !__ASSUME_SOCK_CLOEXEC.
17942 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17944         [BZ #18982]
17945         * manual/stdio.texi (Variable Arguments Output): Add portability
17946         note, explaining that vfprintf clobbers the va_list pointer.
17948 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17950         * math/libm-test.inc (fabs_test_data): Add more tests.
17951         (fdim_test_data): Likewise.
17952         (fma_test_data): Likewise.
17953         (fmax_test_data): Likewise.
17954         (fmin_test_data): Likewise.
17955         (fmod_test_data): Likewise.
17957 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17959         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17960         data.
17962 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17964         * math/libm-test.inc (ceil_test_data): Add more tests and more
17965         expectations for "inexact".
17966         (floor_test_data): Add more tests.
17967         (round_test_data): Likewise.
17968         (trunc_test_data): Likewise.
17970         * crypt/cert.c (good_bye): Convert to prototype-style function
17971         definition.
17972         (get8): Likewise.
17973         (put8): Likewise.
17974         * crypt/crypt-entry.c (crypt): Likewise.
17975         (__fcrypt): Likewise.
17976         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17977         (_ufc_set_bits): Likewise.
17978         (_ufc_clearmem): Likewise.
17979         (__init_des_r): Likewise.
17980         (shuffle_sb): Likewise.
17981         (shuffle_sb): Likewise.
17982         (_ufc_setup_salt_r): Likewise.
17983         (_ufc_mk_keytab_r): Likewise.
17984         (_ufc_dofinalperm_r): Likewise.
17985         (encrypt): Likewise.
17986         (__setkey_r): Likewise.
17987         (setkey): Likewise.
17988         * crypt/md5.c (md5_init_ctx): Likewise.
17989         (md5_read_ctx): Likewise.
17990         (md5_finish_ctx): Likewise.
17991         (md5_stream): Likewise.
17992         (md5_buffer): Likewise.
17993         (md5_process_bytes): Likewise.
17994         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17995         (__sha256_finish_ctx): Likewise.
17996         (__sha256_process_bytes): Likewise.
17997         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17998         (__sha512_finish_ctx): Likewise.
17999         (__sha512_process_bytes): Likewise.
18000         * ctype/isctype.c (__isctype): Likewise.
18001         * debug/backtrace.c (__backtrace): Likewise.
18002         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
18003         * debug/fgets_chk.c (__fgets_chk): Likewise.
18004         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
18005         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
18006         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18007         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18008         * debug/memset_chk.c (__memset_chk): Likewise.
18009         * debug/strcat_chk.c (__strcat_chk): Likewise.
18010         * debug/strncat_chk.c (__strncat_chk): Likewise.
18011         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
18012         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
18013         * dirent/dirfd.c (dirfd): Likewise.
18014         * dirent/getdents.c (__getdirentries): Likewise.
18015         * dirent/getdents64.c (getdirentries64): Likewise.
18016         * dirent/rewinddir.c (__rewinddir): Likewise.
18017         * dirent/seekdir.c (seekdir): Likewise.
18018         * dirent/telldir.c (telldir): Likewise.
18019         * elf/sln.c (makesymlinks): Likewise.
18020         (makesymlink): Likewise.
18021         * gmon/gmon.c (__moncontrol): Likewise.
18022         (__monstartup): Likewise.
18023         (write_hist): Likewise.
18024         (write_call_graph): Likewise.
18025         (write_bb_counts): Likewise.
18026         * grp/setgroups.c (setgroups): Likewise.
18027         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18028         * inet/inet_net.c (inet_network): Likewise.
18029         * inet/inet_netof.c (inet_netof): Likewise.
18030         * inet/rcmd.c (rresvport_af): Likewise.
18031         (rresvport): Likewise.
18032         * io/access.c (__access): Likewise.
18033         * io/chdir.c (__chdir): Likewise.
18034         * io/chmod.c (__chmod): Likewise.
18035         * io/chown.c (__chown): Likewise.
18036         * io/close.c (__close): Likewise.
18037         * io/creat.c (creat): Likewise.
18038         * io/creat64.c (creat64): Likewise.
18039         * io/dup.c (__dup): Likewise.
18040         * io/dup2.c (__dup2): Likewise.
18041         * io/dup3.c (__dup3): Likewise.
18042         * io/euidaccess.c (__euidaccess): Likewise.
18043         * io/faccessat.c (faccessat): Likewise.
18044         * io/fchmod.c (__fchmod): Likewise.
18045         * io/fchmodat.c (fchmodat): Likewise.
18046         * io/fchown.c (__fchown): Likewise.
18047         * io/fchownat.c (fchownat): Likewise.
18048         * io/fcntl.c (__fcntl): Likewise.
18049         * io/flock.c (__flock): Likewise.
18050         * io/fts.c (fts_load): Likewise.
18051         (fts_close): Likewise.
18052         (fts_read): Likewise.
18053         (fts_set): Likewise.
18054         (fts_children): Likewise.
18055         (fts_build): Likewise.
18056         (fts_stat): Likewise.
18057         (fts_sort): Likewise.
18058         (fts_alloc): Likewise.
18059         (fts_lfree): Likewise.
18060         (fts_palloc): Likewise.
18061         (fts_padjust): Likewise.
18062         (fts_maxarglen): Likewise.
18063         (fts_safe_changedir): Likewise.
18064         * io/getwd.c (getwd): Likewise.
18065         * io/isatty.c (__isatty): Likewise.
18066         * io/lchown.c (__lchown): Likewise.
18067         * io/link.c (__link): Likewise.
18068         * io/linkat.c (linkat): Likewise.
18069         * io/lseek.c (__libc_lseek): Likewise.
18070         * io/mkdir.c (__mkdir): Likewise.
18071         * io/mkdirat.c (mkdirat): Likewise.
18072         * io/mkfifo.c (mkfifo): Likewise.
18073         * io/mkfifoat.c (mkfifoat): Likewise.
18074         * io/open.c (__libc_open): Likewise.
18075         * io/open64.c (__libc_open64): Likewise.
18076         * io/readlink.c (__readlink): Likewise.
18077         * io/readlinkat.c (readlinkat): Likewise.
18078         * io/rmdir.c (__rmdir): Likewise.
18079         * io/symlink.c (__symlink): Likewise.
18080         * io/symlinkat.c (symlinkat): Likewise.
18081         * io/ttyname.c (ttyname): Likewise.
18082         * io/ttyname_r.c (__ttyname_r): Likewise.
18083         * io/umask.c (__umask): Likewise.
18084         * io/unlink.c (__unlink): Likewise.
18085         * io/unlinkat.c (unlinkat): Likewise.
18086         * io/utime.c (utime): Likewise.
18087         * libio/clearerr.c (clearerr): Likewise.
18088         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
18089         * libio/feof.c (_IO_feof): Likewise.
18090         * libio/feof_u.c (feof_unlocked): Likewise.
18091         * libio/ferror.c (_IO_ferror): Likewise.
18092         * libio/ferror_u.c (ferror_unlocked): Likewise.
18093         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18094         * libio/fileno.c (__fileno): Likewise.
18095         * libio/fputc.c (fputc): Likewise.
18096         * libio/fputc_u.c (fputc_unlocked): Likewise.
18097         * libio/fputwc.c (fputwc): Likewise.
18098         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
18099         * libio/freopen.c (freopen): Likewise.
18100         * libio/freopen64.c (freopen64): Likewise.
18101         * libio/fseek.c (fseek): Likewise.
18102         * libio/fseeko.c (fseeko): Likewise.
18103         * libio/fseeko64.c (fseeko64): Likewise.
18104         * libio/ftello.c (__ftello): Likewise.
18105         * libio/ftello64.c (ftello64): Likewise.
18106         * libio/fwide.c (fwide): Likewise.
18107         * libio/genops.c (_IO_un_link): Likewise.
18108         (_IO_link_in): Likewise.
18109         (_IO_least_marker): Likewise.
18110         (_IO_switch_to_main_get_area): Likewise.
18111         (_IO_switch_to_backup_area): Likewise.
18112         (_IO_switch_to_get_mode): Likewise.
18113         (_IO_free_backup_area): Likewise.
18114         (_IO_switch_to_put_mode): Likewise.
18115         (__overflow): Likewise.
18116         (__underflow): Likewise.
18117         (__uflow): Likewise.
18118         (_IO_setb): Likewise.
18119         (_IO_doallocbuf): Likewise.
18120         (_IO_default_underflow): Likewise.
18121         (_IO_default_uflow): Likewise.
18122         (_IO_default_xsputn): Likewise.
18123         (_IO_sgetn): Likewise.
18124         (_IO_default_xsgetn): Likewise.
18125         (_IO_sync): Likewise.
18126         (_IO_default_setbuf): Likewise.
18127         (_IO_default_seekpos): Likewise.
18128         (_IO_default_doallocate): Likewise.
18129         (_IO_init): Likewise.
18130         (_IO_old_init): Likewise.
18131         (_IO_default_sync): Likewise.
18132         (_IO_default_finish): Likewise.
18133         (_IO_default_seekoff): Likewise.
18134         (_IO_sputbackc): Likewise.
18135         (_IO_sungetc): Likewise.
18136         (_IO_set_column): Likewise.
18137         (_IO_set_column): Likewise.
18138         (_IO_adjust_column): Likewise.
18139         (_IO_get_column): Likewise.
18140         (_IO_init_marker): Likewise.
18141         (_IO_remove_marker): Likewise.
18142         (_IO_marker_difference): Likewise.
18143         (_IO_marker_delta): Likewise.
18144         (_IO_seekmark): Likewise.
18145         (_IO_unsave_markers): Likewise.
18146         (_IO_nobackup_pbackfail): Likewise.
18147         (_IO_default_pbackfail): Likewise.
18148         (_IO_default_seek): Likewise.
18149         (_IO_default_stat): Likewise.
18150         (_IO_default_read): Likewise.
18151         (_IO_default_write): Likewise.
18152         (_IO_default_showmanyc): Likewise.
18153         (_IO_default_imbue): Likewise.
18154         (_IO_iter_next): Likewise.
18155         (_IO_iter_file): Likewise.
18156         * libio/getc.c (_IO_getc): Likewise.
18157         * libio/getwc.c (_IO_getwc): Likewise.
18158         * libio/iofclose.c (_IO_new_fclose): Likewise.
18159         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18160         * libio/iofflush.c (_IO_fflush): Likewise.
18161         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18162         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18163         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18164         * libio/iofgets.c (_IO_fgets): Likewise.
18165         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18166         * libio/iofgetws.c (fgetws): Likewise.
18167         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18168         * libio/iofopen64.c (_IO_fopen64): Likewise.
18169         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18170         (_IO_cookie_write): Likewise.
18171         (_IO_cookie_seek): Likewise.
18172         (_IO_cookie_close): Likewise.
18173         (_IO_cookie_seekoff): Likewise.
18174         (_IO_old_cookie_seek): Likewise.
18175         * libio/iofputs.c (_IO_fputs): Likewise.
18176         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18177         * libio/iofputws.c (fputws): Likewise.
18178         * libio/iofputws_u.c (fputws_unlocked): Likewise.
18179         * libio/iofread.c (_IO_fread): Likewise.
18180         * libio/iofread_u.c (__fread_unlocked): Likewise.
18181         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18182         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18183         * libio/ioftell.c (_IO_ftell): Likewise.
18184         * libio/iofwrite.c (_IO_fwrite): Likewise.
18185         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18186         * libio/iogets.c (_IO_gets): Likewise.
18187         * libio/iopadn.c (_IO_padn): Likewise.
18188         * libio/iopopen.c (_IO_new_proc_open): Likewise.
18189         (_IO_new_popen): Likewise.
18190         (_IO_new_proc_close): Likewise.
18191         * libio/ioputs.c (_IO_puts): Likewise.
18192         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18193         (_IO_seekoff): Likewise.
18194         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18195         (_IO_seekpos): Likewise.
18196         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18197         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18198         * libio/ioungetc.c (_IO_ungetc): Likewise.
18199         * libio/ioungetwc.c (ungetwc): Likewise.
18200         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18201         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18202         * libio/iowpadn.c (_IO_wpadn): Likewise.
18203         * libio/libc_fatal.c (__libc_fatal): Likewise.
18204         * libio/memstream.c (__open_memstream): Likewise.
18205         (_IO_mem_sync): Likewise.
18206         (_IO_mem_finish): Likewise.
18207         * libio/oldfileops.c (_IO_old_file_init): Likewise.
18208         (_IO_old_file_close_it): Likewise.
18209         (_IO_old_file_finish): Likewise.
18210         (_IO_old_file_fopen): Likewise.
18211         (_IO_old_file_attach): Likewise.
18212         (_IO_old_file_setbuf): Likewise.
18213         (_IO_old_do_write): Likewise.
18214         (old_do_write): Likewise.
18215         (_IO_old_file_underflow): Likewise.
18216         (_IO_old_file_overflow): Likewise.
18217         (_IO_old_file_sync): Likewise.
18218         (_IO_old_file_seekoff): Likewise.
18219         (_IO_old_file_write): Likewise.
18220         (_IO_old_file_xsputn): Likewise.
18221         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18222         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18223         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18224         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18225         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18226         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18227         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18228         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18229         (_IO_old_popen): Likewise.
18230         (_IO_old_proc_close): Likewise.
18231         * libio/oldpclose.c (__old_pclose): Likewise.
18232         * libio/pclose.c (__new_pclose): Likewise.
18233         * libio/peekc.c (_IO_peekc_locked): Likewise.
18234         * libio/putc.c (_IO_putc): Likewise.
18235         * libio/putc_u.c (putc_unlocked): Likewise.
18236         * libio/putchar.c (putchar): Likewise.
18237         * libio/putchar_u.c (putchar_unlocked): Likewise.
18238         * libio/putwc.c (putwc): Likewise.
18239         * libio/putwc_u.c (putwc_unlocked): Likewise.
18240         * libio/putwchar.c (putwchar): Likewise.
18241         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18242         * libio/rewind.c (rewind): Likewise.
18243         * libio/setbuf.c (setbuf): Likewise.
18244         * libio/setlinebuf.c (setlinebuf): Likewise.
18245         * libio/vasprintf.c (_IO_vasprintf): Likewise.
18246         * libio/vscanf.c (_IO_vscanf): Likewise.
18247         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18248         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18249         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18250         * libio/wgenops.c (_IO_least_wmarker): Likewise.
18251         (_IO_switch_to_main_wget_area): Likewise.
18252         (_IO_switch_to_wbackup_area): Likewise.
18253         (_IO_wsetb): Likewise.
18254         (_IO_wdefault_pbackfail): Likewise.
18255         (_IO_wdefault_finish): Likewise.
18256         (_IO_wdefault_uflow): Likewise.
18257         (__woverflow): Likewise.
18258         (__wuflow): Likewise.
18259         (__wunderflow): Likewise.
18260         (_IO_wdefault_xsputn): Likewise.
18261         (_IO_wdefault_xsgetn): Likewise.
18262         (_IO_wdoallocbuf): Likewise.
18263         (_IO_wdefault_doallocate): Likewise.
18264         (_IO_switch_to_wget_mode): Likewise.
18265         (_IO_free_wbackup_area): Likewise.
18266         (_IO_switch_to_wput_mode): Likewise.
18267         (_IO_sputbackwc): Likewise.
18268         (_IO_sungetwc): Likewise.
18269         (_IO_adjust_wcolumn): Likewise.
18270         (_IO_init_wmarker): Likewise.
18271         (_IO_wmarker_delta): Likewise.
18272         (_IO_seekwmark): Likewise.
18273         (_IO_unsave_wmarkers): Likewise.
18274         * libio/wmemstream.c (open_wmemstream): Likewise.
18275         (_IO_wmem_sync): Likewise.
18276         (_IO_wmem_finish): Likewise.
18277         * locale/nl_langinfo.c (nl_langinfo): Likewise.
18278         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18279         * locale/programs/simple-hash.c (init_hash): Likewise.
18280         (delete_hash): Likewise.
18281         (insert_entry): Likewise.
18282         (set_entry): Likewise.
18283         (next_prime): Likewise.
18284         (is_prime): Likewise.
18285         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18286         (xmalloc): Likewise.
18287         (xrealloc): Likewise.
18288         * locale/programs/xstrdup.c (xstrdup): Likewise.
18289         * localedata/collate-test.c (xstrcoll): Likewise.
18290         * localedata/xfrm-test.c (xstrcmp): Likewise.
18291         * login/getlogin_r.c (__getlogin_r): Likewise.
18292         * login/getpt.c (__posix_openpt): Likewise.
18293         * login/login_tty.c (login_tty): Likewise.
18294         * login/setlogin.c (setlogin): Likewise.
18295         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18296         (mach_msg_destroy_port): Likewise.
18297         (mach_msg_destroy_memory): Likewise.
18298         * malloc/mcheck.c (flood): Likewise.
18299         * misc/acct.c (acct): Likewise.
18300         * misc/brk.c (__brk): Likewise.
18301         * misc/chflags.c (chflags): Likewise.
18302         * misc/chroot.c (chroot): Likewise.
18303         * misc/fchflags.c (fchflags): Likewise.
18304         * misc/fstab.c (getfsspec): Likewise.
18305         (getfsfile): Likewise.
18306         * misc/fsync.c (fsync): Likewise.
18307         * misc/ftruncate.c (__ftruncate): Likewise.
18308         * misc/ftruncate64.c (__ftruncate64): Likewise.
18309         * misc/getdomain.c (getdomainname): Likewise.
18310         (getdomainname): Likewise.
18311         * misc/gethostname.c (__gethostname): Likewise.
18312         * misc/getpass.c (getpass): Likewise.
18313         * misc/getttyent.c (skip): Likewise.
18314         (value): Likewise.
18315         * misc/gtty.c (gtty): Likewise.
18316         * misc/hsearch.c (hsearch): Likewise.
18317         (hcreate): Likewise.
18318         * misc/hsearch_r.c (__hcreate_r): Likewise.
18319         (__hdestroy_r): Likewise.
18320         * misc/ioctl.c (__ioctl): Likewise.
18321         * misc/mkdtemp.c (mkdtemp): Likewise.
18322         * misc/mkostemp.c (mkostemp): Likewise.
18323         * misc/mkostemp64.c (mkostemp64): Likewise.
18324         * misc/mkostemps.c (mkostemps): Likewise.
18325         * misc/mkostemps64.c (mkostemps64): Likewise.
18326         * misc/mkstemp.c (mkstemp): Likewise.
18327         * misc/mkstemp64.c (mkstemp64): Likewise.
18328         * misc/mkstemps.c (mkstemps): Likewise.
18329         * misc/mkstemps64.c (mkstemps64): Likewise.
18330         * misc/mktemp.c (__mktemp): Likewise.
18331         * misc/preadv.c (preadv): Likewise.
18332         * misc/preadv64.c (preadv64): Likewise.
18333         * misc/pwritev.c (pwritev): Likewise.
18334         * misc/pwritev64.c (pwritev64): Likewise.
18335         * misc/readv.c (__readv): Likewise.
18336         * misc/revoke.c (revoke): Likewise.
18337         * misc/setdomain.c (setdomainname): Likewise.
18338         * misc/setegid.c (setegid): Likewise.
18339         * misc/seteuid.c (seteuid): Likewise.
18340         * misc/sethostid.c (sethostid): Likewise.
18341         * misc/sethostname.c (sethostname): Likewise.
18342         * misc/setregid.c (__setregid): Likewise.
18343         * misc/setreuid.c (__setreuid): Likewise.
18344         * misc/sstk.c (sstk): Likewise.
18345         * misc/stty.c (stty): Likewise.
18346         * misc/syscall.c (syscall): Likewise.
18347         * misc/syslog.c (setlogmask): Likewise.
18348         * misc/truncate.c (__truncate): Likewise.
18349         * misc/truncate64.c (truncate64): Likewise.
18350         * misc/ualarm.c (ualarm): Likewise.
18351         * misc/usleep.c (usleep): Likewise.
18352         * misc/ustat.c (ustat): Likewise.
18353         * misc/writev.c (__writev): Likewise.
18354         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18355         * nptl/old_pthread_cond_broadcast.c
18356         (__pthread_cond_broadcast_2_0): Likewise.
18357         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18358         Likewise.
18359         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18360         Likewise.
18361         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18362         Likewise.
18363         * nptl/pt-raise.c (raise): Likewise.
18364         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18365         Likewise.
18366         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18367         * nptl/pthread_barrierattr_destroy.c
18368         (pthread_barrierattr_destroy): Likewise.
18369         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18370         Likewise.
18371         * nptl/pthread_barrierattr_setpshared.c
18372         (pthread_barrierattr_setpshared): Likewise.
18373         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18374         Likewise.
18375         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18376         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18377         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18378         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18379         Likewise.
18380         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18381         Likewise.
18382         * nptl/pthread_condattr_getpshared.c
18383         (pthread_condattr_getpshared): Likewise.
18384         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18385         Likewise.
18386         * nptl/pthread_condattr_setpshared.c
18387         (pthread_condattr_setpshared): Likewise.
18388         * nptl/pthread_detach.c (pthread_detach): Likewise.
18389         * nptl/pthread_equal.c (__pthread_equal): Likewise.
18390         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18391         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18392         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18393         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18394         Likewise.
18395         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18396         Likewise.
18397         * nptl/pthread_mutex_getprioceiling.c
18398         (pthread_mutex_getprioceiling): Likewise.
18399         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18400         Likewise.
18401         * nptl/pthread_mutexattr_getprotocol.c
18402         (pthread_mutexattr_getprotocol): Likewise.
18403         * nptl/pthread_mutexattr_getpshared.c
18404         (pthread_mutexattr_getpshared): Likewise.
18405         * nptl/pthread_mutexattr_getrobust.c
18406         (pthread_mutexattr_getrobust): Likewise.
18407         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18408         Likewise.
18409         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18410         Likewise.
18411         * nptl/pthread_mutexattr_setprioceiling.c
18412         (pthread_mutexattr_setprioceiling): Likewise.
18413         * nptl/pthread_mutexattr_setprotocol.c
18414         (pthread_mutexattr_setprotocol): Likewise.
18415         * nptl/pthread_mutexattr_setpshared.c
18416         (pthread_mutexattr_setpshared): Likewise.
18417         * nptl/pthread_mutexattr_setrobust.c
18418         (pthread_mutexattr_setrobust): Likewise.
18419         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18420         Likewise.
18421         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18422         Likewise.
18423         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18424         Likewise.
18425         * nptl/pthread_rwlockattr_getkind_np.c
18426         (pthread_rwlockattr_getkind_np): Likewise.
18427         * nptl/pthread_rwlockattr_getpshared.c
18428         (pthread_rwlockattr_getpshared): Likewise.
18429         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18430         Likewise.
18431         * nptl/pthread_rwlockattr_setkind_np.c
18432         (pthread_rwlockattr_setkind_np): Likewise.
18433         * nptl/pthread_rwlockattr_setpshared.c
18434         (pthread_rwlockattr_setpshared): Likewise.
18435         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18436         Likewise.
18437         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18438         Likewise.
18439         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18440         Likewise.
18441         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18442         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18443         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18444         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18445         * nptl/sem_close.c (sem_close): Likewise.
18446         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18447         * nptl/sem_init.c (__old_sem_init): Likewise.
18448         * nptl/sigaction.c (__sigaction): Likewise.
18449         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18450         * posix/_exit.c (_exit): Likewise.
18451         * posix/alarm.c (alarm): Likewise.
18452         * posix/confstr.c (confstr): Likewise.
18453         * posix/fpathconf.c (__fpathconf): Likewise.
18454         * posix/getgroups.c (__getgroups): Likewise.
18455         * posix/getpgid.c (__getpgid): Likewise.
18456         * posix/group_member.c (__group_member): Likewise.
18457         * posix/pathconf.c (__pathconf): Likewise.
18458         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18459         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18460         * posix/setgid.c (__setgid): Likewise.
18461         * posix/setpgid.c (__setpgid): Likewise.
18462         * posix/setuid.c (__setuid): Likewise.
18463         * posix/sleep.c (__sleep): Likewise.
18464         * posix/sysconf.c (__sysconf): Likewise.
18465         * posix/times.c (__times): Likewise.
18466         * posix/uname.c (__uname): Likewise.
18467         * posix/waitid.c (__waitid): Likewise.
18468         * pwd/getpw.c (__getpw): Likewise.
18469         * resolv/base64.c (b64_pton): Likewise.
18470         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18471         * resolv/gethnamaddr.c (Dprintf): Likewise.
18472         (gethostbyname): Likewise.
18473         (gethostbyname2): Likewise.
18474         (gethostbyaddr): Likewise.
18475         (_sethtent): Likewise.
18476         (_gethtbyname): Likewise.
18477         (_gethtbyname2): Likewise.
18478         (_gethtbyaddr): Likewise.
18479         (map_v4v6_address): Likewise.
18480         (map_v4v6_hostent): Likewise.
18481         (addrsort): Likewise.
18482         (ht_sethostent): Likewise.
18483         (ht_gethostbyname): Likewise.
18484         (ht_gethostbyaddr): Likewise.
18485         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18486         (inet_net_ntop_ipv4): Likewise.
18487         * resolv/inet_neta.c (inet_neta): Likewise.
18488         * resolv/inet_ntop.c (inet_ntop): Likewise.
18489         (inet_ntop4): Likewise.
18490         (inet_ntop6): Likewise.
18491         * resolv/inet_pton.c (__inet_pton): Likewise.
18492         (inet_pton4): Likewise.
18493         (inet_pton6): Likewise.
18494         * resolv/res_debug.c (loc_aton): Likewise.
18495         (loc_ntoa): Likewise.
18496         * resource/getpriority.c (__getpriority): Likewise.
18497         * resource/getrusage.c (__getrusage): Likewise.
18498         * resource/nice.c (nice): Likewise.
18499         * resource/setpriority.c (__setpriority): Likewise.
18500         * resource/setrlimit64.c (setrlimit64): Likewise.
18501         * resource/vlimit.c (vlimit): Likewise.
18502         * resource/vtimes.c (vtimes): Likewise.
18503         * rt/aio_error.c (aio_error): Likewise.
18504         * rt/aio_return.c (aio_return): Likewise.
18505         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18506         * signal/kill.c (__kill): Likewise.
18507         * signal/killpg.c (killpg): Likewise.
18508         * signal/raise.c (raise): Likewise.
18509         * signal/sigaction.c (__sigaction): Likewise.
18510         * signal/sigaddset.c (sigaddset): Likewise.
18511         * signal/sigaltstack.c (sigaltstack): Likewise.
18512         * signal/sigandset.c (sigandset): Likewise.
18513         * signal/sigblock.c (__sigblock): Likewise.
18514         * signal/sigdelset.c (sigdelset): Likewise.
18515         * signal/sigempty.c (sigemptyset): Likewise.
18516         * signal/sigfillset.c (sigfillset): Likewise.
18517         * signal/sighold.c (sighold): Likewise.
18518         * signal/sigignore.c (sigignore): Likewise.
18519         * signal/sigintr.c (siginterrupt): Likewise.
18520         * signal/sigisempty.c (sigisemptyset): Likewise.
18521         * signal/sigismem.c (sigismember): Likewise.
18522         * signal/signal.c (signal): Likewise.
18523         * signal/sigorset.c (sigorset): Likewise.
18524         * signal/sigpause.c (__sigpause): Likewise.
18525         * signal/sigpending.c (sigpending): Likewise.
18526         * signal/sigprocmask.c (__sigprocmask): Likewise.
18527         * signal/sigrelse.c (sigrelse): Likewise.
18528         * signal/sigreturn.c (__sigreturn): Likewise.
18529         * signal/sigset.c (sigset): Likewise.
18530         * signal/sigsetmask.c (__sigsetmask): Likewise.
18531         * signal/sigstack.c (sigstack): Likewise.
18532         * signal/sigsuspend.c (__sigsuspend): Likewise.
18533         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18534         * signal/sysv_signal.c (__sysv_signal): Likewise.
18535         * socket/accept.c (accept): Likewise.
18536         * socket/accept4.c (__libc_accept4): Likewise.
18537         * socket/bind.c (__bind): Likewise.
18538         * socket/connect.c (__connect): Likewise.
18539         * socket/getpeername.c (getpeername): Likewise.
18540         * socket/getsockname.c (__getsockname): Likewise.
18541         * socket/getsockopt.c (getsockopt): Likewise.
18542         * socket/listen.c (__listen): Likewise.
18543         * socket/recv.c (__recv): Likewise.
18544         * socket/recvmsg.c (__recvmsg): Likewise.
18545         * socket/send.c (__send): Likewise.
18546         * socket/sendmsg.c (__sendmsg): Likewise.
18547         * socket/shutdown.c (shutdown): Likewise.
18548         * socket/sockatmark.c (sockatmark): Likewise.
18549         * socket/socket.c (__socket): Likewise.
18550         * stdio-common/ctermid.c (ctermid): Likewise.
18551         * stdio-common/cuserid.c (cuserid): Likewise.
18552         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18553         * stdio-common/remove.c (remove): Likewise.
18554         * stdio-common/rename.c (rename): Likewise.
18555         * stdio-common/renameat.c (renameat): Likewise.
18556         * stdio-common/tempname.c (__gen_tempname): Likewise.
18557         * stdio-common/xbug.c (InitBuffer): Likewise.
18558         (AppendToBuffer): Likewise.
18559         (ReadFile): Likewise.
18560         * stdlib/a64l.c (a64l): Likewise.
18561         * stdlib/drand48_r.c (drand48_r): Likewise.
18562         * stdlib/getcontext.c (getcontext): Likewise.
18563         * stdlib/getenv.c (getenv): Likewise.
18564         * stdlib/l64a.c (l64a): Likewise.
18565         * stdlib/llabs.c (llabs): Likewise.
18566         * stdlib/lldiv.c (lldiv): Likewise.
18567         * stdlib/lrand48_r.c (lrand48_r): Likewise.
18568         * stdlib/mrand48_r.c (mrand48_r): Likewise.
18569         * stdlib/putenv.c (putenv): Likewise.
18570         * stdlib/random.c (__srandom): Likewise.
18571         (__initstate): Likewise.
18572         (__setstate): Likewise.
18573         * stdlib/random_r.c (__srandom_r): Likewise.
18574         (__setstate_r): Likewise.
18575         (__random_r): Likewise.
18576         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18577         * stdlib/setcontext.c (setcontext): Likewise.
18578         * stdlib/setenv.c (setenv): Likewise.
18579         (unsetenv): Likewise.
18580         * stdlib/srand48.c (srand48): Likewise.
18581         * stdlib/srand48_r.c (__srand48_r): Likewise.
18582         * stdlib/swapcontext.c (swapcontext): Likewise.
18583         * stdlib/system.c (__libc_system): Likewise.
18584         * stdlib/tst-strtod.c (expand): Likewise.
18585         * stdlib/tst-strtol.c (expand): Likewise.
18586         * stdlib/tst-strtoll.c (expand): Likewise.
18587         * streams/fattach.c (fattach): Likewise.
18588         * streams/fdetach.c (fdetach): Likewise.
18589         * streams/getmsg.c (getmsg): Likewise.
18590         * streams/isastream.c (isastream): Likewise.
18591         * string/ffs.c (__ffs): Likewise.
18592         * string/ffsll.c (ffsll): Likewise.
18593         * string/memcmp.c (memcmp_common_alignment): Likewise.
18594         (memcmp_not_common_alignment): Likewise.
18595         (MEMCMP): Likewise.
18596         * string/memcpy.c (memcpy): Likewise.
18597         * string/memmove.c (MEMMOVE): Likewise.
18598         * string/memset.c (memset): Likewise.
18599         * string/rawmemchr.c (RAWMEMCHR): Likewise.
18600         * string/strchrnul.c (STRCHRNUL): Likewise.
18601         * string/strerror.c (strerror): Likewise.
18602         * string/strndup.c (__strndup): Likewise.
18603         * string/strverscmp.c (__strverscmp): Likewise.
18604         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18605         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18606         (clnttcp_freeres): Likewise.
18607         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18608         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18609         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18610         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18611         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18612         (xdr_callhdr): Likewise.
18613         * sunrpc/rpcinfo.c (udpping): Likewise.
18614         (tcpping): Likewise.
18615         (pstatus): Likewise.
18616         (pmapdump): Likewise.
18617         (brdcst): Likewise.
18618         (deletereg): Likewise.
18619         (getprognum): Likewise.
18620         (getvers): Likewise.
18621         (get_inet_address): Likewise.
18622         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18623         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18624         (svcudp_stat): Likewise.
18625         (svcudp_recv): Likewise.
18626         (svcudp_reply): Likewise.
18627         (svcudp_getargs): Likewise.
18628         (svcudp_freeargs): Likewise.
18629         (svcudp_destroy): Likewise.
18630         * sunrpc/xdr.c (xdr_bytes): Likewise.
18631         (xdr_netobj): Likewise.
18632         (xdr_string): Likewise.
18633         (xdr_wrapstring): Likewise.
18634         * sunrpc/xdr_float.c (xdr_float): Likewise.
18635         (xdr_double): Likewise.
18636         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18637         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18638         * sysvipc/ftok.c (ftok): Likewise.
18639         * sysvipc/msgctl.c (msgctl): Likewise.
18640         * sysvipc/msgget.c (msgget): Likewise.
18641         * sysvipc/msgrcv.c (msgrcv): Likewise.
18642         * sysvipc/msgsnd.c (msgsnd): Likewise.
18643         * sysvipc/semget.c (semget): Likewise.
18644         * sysvipc/semop.c (semop): Likewise.
18645         * sysvipc/shmat.c (shmat): Likewise.
18646         * sysvipc/shmctl.c (shmctl): Likewise.
18647         * sysvipc/shmdt.c (shmdt): Likewise.
18648         * sysvipc/shmget.c (shmget): Likewise.
18649         * termios/cfmakeraw.c (cfmakeraw): Likewise.
18650         * termios/speed.c (cfgetospeed): Likewise.
18651         (cfgetispeed): Likewise.
18652         (cfsetospeed): Likewise.
18653         (cfsetispeed): Likewise.
18654         * termios/tcflow.c (tcflow): Likewise.
18655         * termios/tcflush.c (tcflush): Likewise.
18656         * termios/tcgetattr.c (__tcgetattr): Likewise.
18657         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18658         * termios/tcgetsid.c (tcgetsid): Likewise.
18659         * termios/tcsendbrk.c (tcsendbreak): Likewise.
18660         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18661         * time/adjtime.c (__adjtime): Likewise.
18662         * time/dysize.c (dysize): Likewise.
18663         * time/ftime.c (ftime): Likewise.
18664         * time/getitimer.c (__getitimer): Likewise.
18665         * time/gettimeofday.c (__gettimeofday): Likewise.
18666         * time/gmtime.c (__gmtime_r): Likewise.
18667         (gmtime): Likewise.
18668         * time/localtime.c (__localtime_r): Likewise.
18669         (localtime): Likewise.
18670         * time/offtime.c (__offtime): Likewise.
18671         * time/settimeofday.c (__settimeofday): Likewise.
18672         * time/stime.c (stime): Likewise.
18673         * time/strftime_l.c (tm_diff): Likewise.
18674         (iso_week_days): Likewise.
18675         * time/strptime.c (strptime): Likewise.
18676         * time/time.c (time): Likewise.
18677         * time/timespec_get.c (timespec_get): Likewise.
18678         * time/tzset.c (tzset_internal): Likewise.
18679         (compute_change): Likewise.
18680         (__tz_compute): Likewise.
18681         * wcsmbs/btowc.c (__btowc): Likewise.
18682         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18683         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18684         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18685         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18686         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18687         * wcsmbs/wcscat.c (__wcscat): Likewise.
18688         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18689         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18690         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18691         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18692         * wcsmbs/wcsdup.c (wcsdup): Likewise.
18693         * wcsmbs/wcslen.c (__wcslen): Likewise.
18694         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18695         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18696         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18697         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18698         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18699         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18700         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18701         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18702         * wcsmbs/wcstok.c (wcstok): Likewise.
18703         * wcsmbs/wctob.c (wctob): Likewise.
18704         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18705         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18706         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18707         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18708         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18709         * wcsmbs/wmemset.c (__wmemset): Likewise.
18710         * wctype/wcfuncs.c (__towlower): Likewise.
18711         (__towupper): Likewise.
18713         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18714         (lll_unlock_elision): Add adapt_count parameter.
18716 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18718         * sysdeps/nptl/configure.ac: Do not give errors based on the
18719         results of top-level configure tests.
18720         * sysdeps/nptl/configure: Regenerated.
18722         * configure.ac (libc_cv_Bgroup): Remove configure test.
18723         * configure: Regenerated.
18724         * config.make.in (have-Bgroup): Remove variable.
18726         * configure.ac (sizeof_long_double): Remove configure test.
18727         * configure: Regenerated.
18728         * config.make.in (sizeof-long-double): Remove variable.
18730         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18731         * configure: Regenerated.
18732         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18733         variable.
18734         (exceptions): Likewise.
18735         * sysdeps/arm/configure: Regenerated.
18736         * config.make.in (exceptions): Remove variable.
18737         * Makeconfig (uses-callbacks): Use -fexceptions instead of
18738         $(exceptions).
18739         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18740         (CFLAGS-vdprintf_chk.c): Likewise.
18741         (CFLAGS-printf_chk.c): Likewise.
18742         (CFLAGS-fprintf_chk.c): Likewise.
18743         (CFLAGS-vprintf_chk.c): Likewise.
18744         (CFLAGS-vfprintf_chk.c): Likewise.
18745         (CFLAGS-gets_chk.c): Likewise.
18746         (CFLAGS-fgets_chk.c): Likewise.
18747         (CFLAGS-fgets_u_chk.c): Likewise.
18748         (CFLAGS-fread_chk.c): Likewise.
18749         (CFLAGS-fread_u_chk.c): Likewise.
18750         (CFLAGS-wprintf_chk.c): Likewise.
18751         (CFLAGS-fwprintf_chk.c): Likewise.
18752         (CFLAGS-vwprintf_chk.c): Likewise.
18753         (CFLAGS-vfwprintf_chk.c): Likewise.
18754         (CFLAGS-fgetws_chk.c): Likewise.
18755         (CFLAGS-fgetws_u_chk.c): Likewise.
18756         * libio/Makefile (CFLAGS-fileops.c): Likewise.
18757         (CFLAGS-fputc.c): Likewise.
18758         (CFLAGS-fputwc.c): Likewise.
18759         (CFLAGS-freopen64.c): Likewise.
18760         (CFLAGS-freopen.c): Likewise.
18761         (CFLAGS-fseek.c): Likewise.
18762         (CFLAGS-fseeko64.c): Likewise.
18763         (CFLAGS-fseeko.c): Likewise.
18764         (CFLAGS-ftello64.c): Likewise.
18765         (CFLAGS-ftello.c): Likewise.
18766         (CFLAGS-fwide.c): Likewise.
18767         (CFLAGS-genops.c): Likewise.
18768         (CFLAGS-getc.c): Likewise.
18769         (CFLAGS-getchar.c): Likewise.
18770         (CFLAGS-getwc.c): Likewise.
18771         (CFLAGS-getwchar.c): Likewise.
18772         (CFLAGS-iofclose.c): Likewise.
18773         (CFLAGS-iofflush.c): Likewise.
18774         (CFLAGS-iofgetpos64.c): Likewise.
18775         (CFLAGS-iofgetpos.c): Likewise.
18776         (CFLAGS-iofgets.c): Likewise.
18777         (CFLAGS-iofgetws.c): Likewise.
18778         (CFLAGS-iofputs.c): Likewise.
18779         (CFLAGS-iofputws.c): Likewise.
18780         (CFLAGS-iofread.c): Likewise.
18781         (CFLAGS-iofsetpos64.c): Likewise.
18782         (CFLAGS-iofsetpos.c): Likewise.
18783         (CFLAGS-ioftell.c): Likewise.
18784         (CFLAGS-iofwrite.c): Likewise.
18785         (CFLAGS-iogetdelim.c): Likewise.
18786         (CFLAGS-iogetline.c): Likewise.
18787         (CFLAGS-iogets.c): Likewise.
18788         (CFLAGS-iogetwline.c): Likewise.
18789         (CFLAGS-ioputs.c): Likewise.
18790         (CFLAGS-ioseekoff.c): Likewise.
18791         (CFLAGS-ioseekpos.c): Likewise.
18792         (CFLAGS-iosetbuffer.c): Likewise.
18793         (CFLAGS-iosetvbuf.c): Likewise.
18794         (CFLAGS-ioungetc.c): Likewise.
18795         (CFLAGS-ioungetwc.c): Likewise.
18796         (CFLAGS-oldfileops.c): Likewise.
18797         (CFLAGS-oldiofclose.c): Likewise.
18798         (CFLAGS-oldiofgetpos64.c): Likewise.
18799         (CFLAGS-oldiofgetpos.c): Likewise.
18800         (CFLAGS-oldiofsetpos64.c): Likewise.
18801         (CFLAGS-oldiofsetpos.c): Likewise.
18802         (CFLAGS-peekc.c): Likewise.
18803         (CFLAGS-putc.c): Likewise.
18804         (CFLAGS-putchar.c): Likewise.
18805         (CFLAGS-putwc.c): Likewise.
18806         (CFLAGS-putwchar.c): Likewise.
18807         (CFLAGS-rewind.c): Likewise.
18808         (CFLAGS-wfileops.c): Likewise.
18809         (CFLAGS-wgenops.c): Likewise.
18810         (CFLAGS-oldiofopen.c): Likewise.
18811         (CFLAGS-iofopen.c): Likewise.
18812         (CFLAGS-iofopen64.c): Likewise.
18813         (CFLAGS-oldtmpfile.c): Likewise.
18814         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18815         (CFLAGS-fprintf.c): Likewise.
18816         (CFLAGS-printf.c): Likewise.
18817         (CFLAGS-vfwprintf.c): Likewise.
18818         (CFLAGS-vfscanf.c): Likewise.
18819         (CFLAGS-vfwscanf.c): Likewise.
18820         (CFLAGS-fscanf.c): Likewise.
18821         (CFLAGS-scanf.c): Likewise.
18822         (CFLAGS-isoc99_vfscanf.c): Likewise.
18823         (CFLAGS-isoc99_vscanf.c): Likewise.
18824         (CFLAGS-isoc99_fscanf.c): Likewise.
18825         (CFLAGS-isoc99_scanf.c): Likewise.
18826         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18827         (CFLAGS-isoc99_fwscanf.c): Likewise.
18828         (CFLAGS-isoc99_vwscanf.c): Likewise.
18829         (CFLAGS-isoc99_vfwscanf.c): Likewise.
18831         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18832         after mkstemp64.
18833         * login/tst-utmp.c (do_prepare): Likewise.
18834         * rt/tst-aio.c (do_prepare): Likewise.
18835         * rt/tst-aio64.c (do_prepare): Likewise.
18837 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18839         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18840         (__lll_lock_elision): Remove adapt_count decrement...
18841         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18842         (__lll_trylock_elision): Likewise.
18843         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18844         (__lll_unlock_elision): ... to here. And utilize
18845         new adapt_count parameter.
18846         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18847         (__lll_unlock_elision): Update to include adapt_count
18848         parameter.
18849         (lll_unlock_elision): Pass pointer to adapt_count
18850         variable.
18852 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18854         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18855         Add elision adapt_count parameter to list of arguments.
18856         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18857         (lll_unlock_elision): Update with new parameter list
18858         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18859         (lll_unlock_elision): Likewise.
18860         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18861         (lll_unlock_elision): Likewise.
18863 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18865         [BZ #19122]
18866         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18867         attribute_hidden.
18869         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18870         attribute_hidden.
18871         [IS_IN (rtld)] (__strdup): Likewise.
18872         [IS_IN (rtld)] (__strerror_r): Likewise.
18873         [IS_IN (rtld)] (__strsep_g): Likewise.
18874         [IS_IN (rtld)] (memchr): Likewise.
18875         [IS_IN (rtld)] (memcmp): Likewise.
18876         [IS_IN (rtld)] (memcpy): Likewise.
18877         [IS_IN (rtld)] (memmove): Likewise.
18878         [IS_IN (rtld)] (memset): Likewise.
18879         [IS_IN (rtld)] (rawmemchr): Likewise.
18880         [IS_IN (rtld)] (stpcpy): Likewise.
18881         [IS_IN (rtld)] (strchr): Likewise.
18882         [IS_IN (rtld)] (strcmp): Likewise.
18883         [IS_IN (rtld)] (strlen): Likewise.
18884         [IS_IN (rtld)] (strnlen): Likewise.
18885         [IS_IN (rtld)] (strsep): Likewise.
18887         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18888         attribute_hidden.
18889         [IS_IN (rtld)] (__strtoul_internal): Likewise.
18891         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18892         attribute_hidden.
18893         [IS_IN (rtld)] (__libc_sigaction): Likewise.
18895         * include/setjmp.h (__longjmp): Add attribute_hidden.
18896         [IS_IN (rtld)] (__sigsetjmp): Likewise.
18898         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18899         Add attribute_hidden.
18901         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18902         [IS_IN (rtld)] (__open): Likewise.
18903         [IS_IN (rtld)] (__fcntl): Likewise.
18905         * include/dirent.h (__opendirat): Add attribute_hidden.
18906         (__getdents): Likewise.
18907         (__getdents64): Likewise.
18908         (__alloc_dir): Likewise.
18909         [IS_IN (rtld)] (__closedir): Likewise.
18910         [IS_IN (rtld)] (__fdopendir): Likewise.
18911         [IS_IN (rtld)] (__readdir): Likewise.
18912         [IS_IN (rtld)] (__readdir64): Likewise.
18913         [IS_IN (rtld)] (__rewinddir): Likewise.
18915         * include/dlfcn.h (_dl_catch_error): Moved to ...
18916         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18917         attribute_hidden.
18919         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18920         (_itoa_word): Likewise.
18922         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18923         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18924         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18925         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18926         (_dl_higher_prime_number): Likewise.
18927         (_dl_debug_printf_c): Likewise.
18928         (_dl_signal_cerror): Likewise.
18929         (_dl_receive_error): Likewise.
18930         (_dl_reloc_bad_type): Likewise.
18931         (_dl_resolve_conflicts): Likewise.
18932         (_dl_check_all_versions): Likewise.
18933         (_dl_check_map_versions): Likewise.
18934         (_dl_sort_fini): Likewise.
18935         (_dl_debug_initialize): Likewise.
18936         (_dl_init_paths): Likewise.
18937         (_dl_show_auxv): Likewise.
18938         (_dl_next_ld_env_entry): Likewise.
18939         (_dl_important_hwcaps): Likewise.
18940         (_dl_load_cache_lookup): Likewise.
18941         (_dl_update_slotinfo): Likewise.
18942         (_dl_show_scope): Likewise.
18944         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18945         attribute_hidden.
18946         (_wordcopy_fwd_dest_aligned): Likewise.
18947         (_wordcopy_bwd_aligned): Likewise.
18948         (_wordcopy_bwd_dest_aligned): Likewise.
18950         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18951         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18952         Likewise.
18953         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18954         Likewise.
18955         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18957 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18959         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18960         GCC 5 requirement.
18962 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18964         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18965         test.
18966         * sysdeps/i386/configure: Regenerated.
18967         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18968         code unconditional.
18970         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18971         test.
18972         (libc_cv_asm_popsection_directive): Likewise.
18973         * configure: Regenerated.
18974         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18975         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18976         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18977         (__make_section_unallocated): Make definition unconditional.
18978         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18979         Remove conditional definition.
18980         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18981         (__make_section_unallocated): Likewise.
18983         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18984         * configure: Regenerated.
18985         * config.make.in (static-libgcc): Remove variable.
18986         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18987         $(static-libgcc).
18988         (build-module-helper): Likewise.
18990         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18991         * configure: Regenerated.
18993 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18995         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18996         (struct char_buffer): New type.
18997         (char_buffer_start, char_buffer_size, char_buffer_error)
18998         (char_buffer_rewind, char_buffer_add): New functions.
18999         (ADDW): Remove macro, replaced by the char_buffer_add function.
19000         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
19001         of extend_alloca.  Make control flow more explicit.
19003 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19005         [BZ #19137]
19006         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19007         Add -fomit-frame-pointer.
19008         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
19010 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19012         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
19013         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
19014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
19015         only if !__GNUC_PREREQ (5,0).
19016         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
19017         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
19018         (INTERNAL_SYSCALL_NCS): Likewise.
19019         (LOADREGS_0): New macro for GCC 5.
19020         (ASMARGS_0): Likewise.
19021         (LOADREGS_1): Likewise.
19022         (ASMARGS_1): Likewise.
19023         (LOADREGS_2): Likewise.
19024         (ASMARGS_2): Likewise.
19025         (LOADREGS_3): Likewise.
19026         (ASMARGS_3): Likewise.
19027         (LOADREGS_4): Likewise.
19028         (ASMARGS_4): Likewise.
19029         (LOADREGS_5): Likewise.
19030         (ASMARGS_5): Likewise.
19031         (LOADREGS_6): Likewise.
19032         (ASMARGS_6): Likewise.
19034 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19036         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
19037         -fomit-frame-pointer.
19038         (CFLAGS-mmap64.c): Likewise.
19039         (CFLAGS-semtimedop.c): Likewise.
19040         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
19041         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
19042         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19043         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19045 2015-10-15  Florian Weimer  <fweimer@redhat.com>
19047         [BZ #18928]
19048         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
19049         _dl_pointer_guard member.
19050         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
19051         initializer.
19052         (security_init): Always set up pointer guard.
19053         (process_envvars): Do not process LD_POINTER_GUARD.
19055 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
19057         [BZ #19134]
19058         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
19059         (.LC2): Likewise.
19060         (.LC3): Likewise.
19061         (__lround): Do not add 0.5 to integer or out-of-range arguments.
19063 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19065         [BZ #19129]
19066         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
19067         r0 and r1.
19069 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
19071         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
19073 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
19075         * include/stap-probe.h: Fix macro definition formatting.
19077 2015-10-14  Florian Weimer  <fweimer@redhat.com>
19079         [BZ #19074]
19080         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
19081         load and store num_ifs.
19083 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19085         [BZ #18822]
19086         * sysdeps/unix/sysv/linux/sched_getaffinity.c
19087         (__sched_getaffinity_new): Add libc_hidden_proto and
19088         libc_hidden_def.
19090 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19092         [BZ #19007]
19093         * scripts/localplt.awk: Also allow GOT references.
19094         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
19095         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
19096         with "+ REL R_386_GLOB_DAT".
19097         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
19098         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
19100 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19102         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
19103         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19104         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
19105         Likewise.
19106         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19107         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
19108         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19109         INTERNAL_SYSCALLINTERNAL_SYSCALL and
19110         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19111         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19112         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19113         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19114         Likewise.
19115         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19117 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19119         [BZ #19125]
19120         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19121         <math_private.h> and <stdint.h>.
19122         (__llround): Avoid conversions to and from long long int, and
19123         subtractions, where those might raise spurious exceptions.
19124         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19125         <math_private.h> and <stdint.h>.
19126         (__llroundf): Avoid conversions to and from long long int, and
19127         subtractions, where those might raise spurious exceptions.
19129 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19131         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19132         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19133         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19134         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19135         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19136         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19137         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19138         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19139         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19140         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19141         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19142         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19143         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19144         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19145         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19146         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19147         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19148         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19149         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19150         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19151         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19152         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19153         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19154         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19155         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19156         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19157         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19158         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19159         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19160         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19161         (__xstat64_conv): Likewise.
19162         (__xstat32_conv): Likewise.
19164 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19166         * sysdeps/unix/sysv/linux/sysdep.h: New file.
19167         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19168         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19169         <sysdeps/unix/sysv/linux/sysdep.h>.
19170         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19171         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19172         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19173         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19174         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19175         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19176         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19177         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19178         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19182         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19183         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19184         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19186         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19187         (sysdep-dl-routines): Add sysdep.
19188         [$(subdir) == nptl] (libpthread-routines): Likewise.
19189         [$(subdir) == rt] (librt-routines): Likewise.
19190         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19191         PIC when branching to SYSCALL_ERROR_LABEL.
19192         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19193         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19194         <sysdeps/unix/sysv/linux/sysdep.h>.
19195         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19196         (SYSCALL_ERROR_ERRNO): Removed.
19197         (SYSCALL_ERROR_HANDLER): Changed to empty.
19198         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19199         (__syscall_error): New prototype.
19200         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19201         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19203 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19205         [BZ #19124]
19206         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19207         (_dl_runtime_resolve_avx512): Make it a hidden alias of
19208         _dl_runtime_resolve_avx.
19209         (_dl_runtime_profile_avx512): Make it a hidden alias of
19210         _dl_runtime_profile_avx.
19212 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19214         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19215         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19216         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19217         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19219         [BZ #16422]
19220         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19221         New configure test.
19222         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19223         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19224         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19225         <math_private.h> and <stdint.h>.
19226         (__llrint): Avoid conversions to long long int where those might
19227         raise spurious exceptions.
19228         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19229         <math_private.h> and <stdint.h>.
19230         (__llrintf): Avoid conversions to long long int where those might
19231         raise spurious exceptions.
19233 2015-10-12  Andreas Schwab  <schwab@suse.de>
19235         [BZ #18969]
19236         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
19237         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19238         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
19239         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19240         $(gen-locales).
19241         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
19242         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19243         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19244         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19245         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19246         $(gen-locales).
19247         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
19248         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19249         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19250         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19251         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19252         ($(objpfx)tst-ftell-active-handler.out)
19253         ($(objpfx)tst-ftell-append.out)
19254         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19255         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19256         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19257         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19258         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
19259         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19260         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19261         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19262         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19263         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19264         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19265         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19266         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19267         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19268         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19269         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19270         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19271         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19272         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
19273         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19274         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19275         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19276         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19277         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
19278         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19279         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19280         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19281         $(gen-locales).
19282         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
19283         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19284         $(gen-locales).
19285         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
19286         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19287         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19288         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19289         $(gen-locales).
19290         * libio/tst_wprintf2.c (main): Use explicit locale.
19291         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19293 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19295         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19296         __msg_sig_post.
19297         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19299 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19301         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19302         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19304         * sysdeps/arm/libm-test-ulps: Regenerated.
19306         [BZ #15470]
19307         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19309         [BZ #16399]
19310         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19311         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19312         and <fix-fp-int-convert-overflow.h>.
19313         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19314         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19315         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19316         and <fix-fp-int-convert-overflow.h>.
19317         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19318         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19319         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19320         <fix-fp-int-convert-overflow.h>.
19321         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19322         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19323         * sysdeps/ieee754/dbl-64/s_lround.c: Include
19324         <fix-fp-int-convert-overflow.h>.
19325         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19326         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19327         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19328         and <fix-fp-int-convert-overflow.h>.
19329         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19330         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19331         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19332         <limits.h> and <fix-fp-int-convert-overflow.h>.
19333         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19334         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19335         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19336         and <fix-fp-int-convert-overflow.h>.
19337         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19338         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19339         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19340         and <fix-fp-int-convert-overflow.h>.
19341         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19342         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19343         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19345 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
19347         [BZ #18589]
19348         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19349         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19350         $(gen-locales).
19352 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19353             Phil Blundell <pb@pbcl.net>
19355         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19356         * nptl/tst-cancel26.c: New file.
19357         * nptl/tst-cancel27.c: Likewise.
19359 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
19361         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19362         __ILP32__ isn't defined.
19363         (lrint): Likewise.
19364         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19365         (lrintf): Likewise.
19366         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19367         (lrintl): Likewise.
19368         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19369         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19370         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19372 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19374         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19375         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19377         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19378         file.
19379         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19380         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19382 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19384         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19385         configure test.
19386         * sysdeps/i386/configure: Regenerated.
19387         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19388         configure test.
19389         * sysdeps/x86_64/configure: Regenerated.
19390         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19391         Make code unconditional.
19393         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19394         test.
19395         * sysdeps/i386/configure: Regenerated.
19396         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19397         test.
19398         * sysdeps/x86_64/configure: Regenerated.
19399         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19400         Make code unconditional.
19401         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19402         Likewise.
19403         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19404         Likewise.
19405         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19406         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19407         code unconditional.
19408         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19409         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19410         code unconditional.
19411         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19412         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19413         code unconditional.
19414         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19415         code unconditional.
19416         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19417         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19418         code unconditional.
19419         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19420         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19421         code unconditional.
19422         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19423         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19424         code unconditional.
19425         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19426         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19427         code unconditional.
19428         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19429         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19431         [BZ #19095]
19432         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19433         mantissa to long int before shifting left.
19435 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19437         [BZ #19094]
19438         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19439         <limits.h>.
19440         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19441         when result overflows but exception would not result from cast.
19442         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19443         <limits.h>.
19444         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19445         when result overflows but exception would not result from cast.
19446         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19447         <limits.h>.
19448         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19449         when result overflows but exception would not result from cast.
19450         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19451         <limits.h>.
19452         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19453         when result overflows but exception would not result from cast.
19454         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19455         <limits.h>.
19456         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19457         when result overflows but exception would not result from cast.
19458         * math/libm-test.inc (lrint_test_data): Add more tests.
19459         (llrint_test_data): Likewise.
19461 2015-10-08  Roland McGrath  <roland@hack.frob.com>
19463         [BZ #18872]
19464         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19465         Move out from under [$(run-built-tests) = yes] conditional.
19466         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19467         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19469 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
19471         [BZ #18589]
19472         * string/Makefile (tests): Add bug-strcoll2.
19473         (LOCALES): Add cs_CZ.UTF-8.
19474         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19476         [BZ #18589]
19477         * string/bug-strcoll2.c: New file.
19478         * locale/categories.def: Revert commit
19479         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19480         * locale/langinfo.h: Likewise.
19481         * locale/localeinfo.h: Likewise.
19482         * locale/C-collate.c: Likewise.
19483         * locale/programs/ld-collate.c (collate_output): Likewise.
19484         * string/strcoll_l.c (STRDIFF): Likewise.
19485         (STRCOLL): Likewise.
19486         * wcsmbs/wcscoll_l.c: Likewise.
19488 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19490         * math/libm-test.inc (lround_test_data): Do not expect the absence
19491         of "inexact" for some tests with non-integer arguments.
19492         (llround_test_data): Likewise.
19494         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19495         test.
19496         (libc_cv_cc_sse2avx): Likewise.
19497         * sysdeps/i386/configure: Regenerated.
19498         * sysdeps/i386/i686/multiarch/Makefile
19499         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19500         [$(subdir) = math].
19501         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19502         code unconditional.
19503         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19504         Likewise.
19505         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19506         Likewise.
19507         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19508         Likewise.
19509         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19510         test.
19511         (libc_cv_cc_sse2avx): Likewise.
19512         * sysdeps/x86_64/configure: Regenerated.
19513         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19514         unconditional.
19515         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19516         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19517         unconditional.
19518         (_dl_runtime_profile)
19519         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19520         conditional code.
19521         * sysdeps/x86_64/fpu/multiarch/Makefile
19522         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19523         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19524         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19525         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19526         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19527         * sysdeps/x86_64/fpu/multiarch/e_log.c
19528         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19529         * sysdeps/x86_64/fpu/multiarch/s_atan.c
19530         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19531         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19532         Likewise.
19533         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19534         Likewise.
19535         * sysdeps/x86_64/fpu/multiarch/s_sin.c
19536         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19537         * sysdeps/x86_64/fpu/multiarch/s_tan.c
19538         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19539         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19540         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19541         (HAVE_SSE2AVX_SUPPORT): Likewise.
19543 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
19545         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19546         instead of #pragma optimize.
19548 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19550         [BZ #17195]
19551         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19552         as is similarly done in systrim and _int_free already.
19554 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19556         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19558 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19560         [BZ #19088]
19561         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19562         <limits.h>.
19563         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19564         overflows but exception would not result from cast.
19565         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19566         and <limits.h>.
19567         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19568         overflows but exception would not result from cast.
19569         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19570         <limits.h>.
19571         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19572         overflows but exception would not result from cast.
19573         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19574         <limits.h>.
19575         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19576         overflows but exception would not result from cast.
19577         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19578         <limits.h>.
19579         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19580         overflows but exception would not result from cast.
19581         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19582         <limits.h>.
19583         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19584         overflows but exception would not result from cast.
19585         * math/libm-test.inc (lround_test_data): Add more tests.
19586         (llround_test_data): Likewise.
19588 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
19590         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19591         (CFLAGS-ialloc.c): Ditto.
19592         (CFLAGS-scheck.c): Ditto.
19594 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19596         [BZ #19086]
19597         * manual/filesys.texi (Storage Allocation): Fix argument order for
19598         posix_fallocate64.
19600 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19602         [BZ #19085]
19603         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19604         exponent below 48 inside case for non-overflowing exponent.
19605         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19607 2015-10-07  Florian Weimer  <fweimer@redhat.com>
19609         * iconvdata/cp737.h (from_idx): Add const.
19610         * iconvdata/cp775.h (from_idx): Likewise.
19612 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19614         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19615         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19616         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19618         [BZ #19079]
19619         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19620         file, conditioned on [!_LP64].
19621         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19622         [!_LP64] (__lround): Do not define as function or alias.
19623         [!_LP64] (lround): Likewise.
19624         [!_LP64] (__lroundl): Likewise.
19625         [!_LP64] (lroundl): Likewise.
19626         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19627         macro.
19628         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19629         Likewise.
19631 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19633         * math/libm-test.inc (lrint_test_data): Add more tests.
19634         (llrint_test_data): Likewise.
19635         (lround_test_data): Likewise.
19636         (llround_test_data): Likewise.
19638         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19639         (llrint_test_data): Add tests used for lrint.
19641         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19642         test.
19643         * sysdeps/i386/configure: Regenerated.
19644         * sysdeps/i386/i686/multiarch/Makefile
19645         [$(config-cflags-sse4) = yes]: Make code unconditional.
19646         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19647         Likewise.
19648         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19649         Likewise.
19650         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19651         test.
19652         * sysdeps/x86_64/configure: Regenerated.
19653         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19654         Make code unconditional.
19655         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19656         Likewise.
19657         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19658         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19660         * scripts/rpm2dynsym.sh: Remove file.
19662 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19664         * configure.ac (libc_cv_cxx_thread_local): Define.
19665         * configure: Regenerate.
19666         * config.make.in (have-cxx-thread_local): Define.
19667         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19668         (LDLIBS-tst-thread_local1): Define.
19669         (tests): Add tst-thread_local1.
19670         [have-cxx-thread_local != yes] (tests-unsupported): Add
19671         tst-thread_local1.
19672         * nptl/tst-thread_local1.cc: New file.
19674 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19676         [BZ #19078]
19677         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19678         (u_thres): Likewise.
19679         (__expl): Determine whether to call __kernel_standard_l based on
19680         value of result, not argument.
19682         * math/libm-test.inc (scalb_test_data): Add more expectations for
19683         the "inexact" exception.
19685         [BZ #19077]
19686         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19687         0.0L for argument 1.0L.
19689         [BZ #19076]
19690         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19691         constant 0.0L when computing infinite result.
19693 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19695         [BZ #10432]
19696         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19697         malloc_usable_size.
19699 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19701         [BZ #19018]
19702         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19703         Mangle function pointer before storing it.
19704         (__call_tls_dtors): Demangle function pointer before calling it.
19706 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19708         [BZ #19012]
19709         * iconv/gconv_db.c (gen_steps): Check for additional errors.
19710         Clean up on failure.
19712 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
19714         [BZ #19071]
19715         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19716         long int variable to store possibly incremented high part of
19717         mantissa.
19718         * math/libm-test.inc (lround_test_data): Add tests used for
19719         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
19720         for tests requiring 64-bit long.  Do not condition tests on
19721         [TEST_FLOAT] unnecessarily.
19722         (llround_test_data): Add tests used for lround.  Add another
19723         expectation for the "inexact" exception.  Do not condition tests
19724         on [TEST_FLOAT] unnecessarily.
19726         [BZ #887]
19727         [BZ #19049]
19728         [BZ #19050]
19729         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19730         * sysdeps/ieee754/dbl-64/e_log10.c: Include
19731         <fix-int-fp-convert-zero.h>.
19732         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19733         * sysdeps/ieee754/dbl-64/e_log2.c: Include
19734         <fix-int-fp-convert-zero.h>.
19735         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19736         * sysdeps/ieee754/dbl-64/s_erf.c: Include
19737         <fix-int-fp-convert-zero.h>.
19738         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19739         * sysdeps/ieee754/dbl-64/s_logb.c: Include
19740         <fix-int-fp-convert-zero.h>.
19741         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19742         * sysdeps/ieee754/flt-32/e_log10f.c: Include
19743         <fix-int-fp-convert-zero.h>.
19744         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19745         * sysdeps/ieee754/flt-32/e_log2f.c: Include
19746         <fix-int-fp-convert-zero.h>.
19747         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19748         * sysdeps/ieee754/flt-32/s_erff.c: Include
19749         <fix-int-fp-convert-zero.h>.
19750         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19751         * sysdeps/ieee754/flt-32/s_logbf.c: Include
19752         <fix-int-fp-convert-zero.h>.
19753         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19754         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19755         <fix-int-fp-convert-zero.h>.
19756         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19757         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19758         <fix-int-fp-convert-zero.h>.
19759         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19760         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19761         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19762         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19763         file.
19764         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19766 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19770 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
19772         [BZ #19059]
19773         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19774         overflowing computation.
19775         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19776         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19777         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19778         Likewise.
19779         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19780         Likewise.
19781         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19782         Likewise.
19783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19784         Likewise.
19785         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19786         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19787         Likewise.
19788         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19789         Likewise.
19790         * math/libm-test.inc (nexttoward_test_data): Add more tests.
19792         * nss/rewrite_field.c (__nss_rewrite_field): Use
19793         internal_function.
19794         * nss/valid_field.c (__nss_valid_field): Likewise.
19795         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19797 2015-10-02  Florian Weimer  <fweimer@redhat.com>
19799         [BZ #18724]
19800         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19801         (__nss_invalid_field_characters, __nss_valid_field)
19802         (__nss_valid_list_field, __nss_rewrite_field): Declare.
19803         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19804         tst-field.c: New file.
19805         * nss/Makefile (routines): Add valid_field, rewrite_field.
19806         (tests-static): Define unconditionally.
19807         (tests): Include tests-static.
19808         [build-static-nss] (tests-static): Use append.
19809         [build-static-nss] (tests): Remove modification.
19810         * nss/getent.c (print_group): Call putgrent.  Report error.
19811         (print_gshadow): Call putsgent.  Report error.
19812         (print_passwd): Call putpwent.  Report error.
19813         (print_shadow): Call putspent.  Report error.
19814         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19815         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19816         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
19817         name, password, directory, shell fields for valid syntax.  Rewrite
19818         GECOS field to match syntax.
19819         * pwd/Makefile (tests): Add tst-putpwent.
19820         * pwd/tst-putpwent.c: New file.
19821         * grp/putgrent.c (putgrent): Convert to ISO function definition.
19822         Check grName, grpasswd, gr_mem fields for valid syntax.
19823         Change loop variable i to size_t.
19824         * grp/Makefile (tests): Add tst-putgrent.
19825         * grp/tst-putgrent.c: New file.
19826         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19827         valid syntax.
19828         * shadow/Makefile (tests): Add tst-putspent.
19829         * shadow/tst-putspent.c: New file.
19830         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19831         sg_mem fields for valid syntax.
19832         * gshadow/Makefile (tests): Add tst-putsgent.
19833         * gshadow/tst-putsgent.c: New file.
19835 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19837         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19838         assembly instructions.
19840 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19842         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19843         prefix from operands.
19845 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
19847         [BZ #16347]
19848         [BZ #19046]
19849         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19850         <libc-internal.h>.
19851         (MAXLGM): Do not use diagnostic control macros.
19852         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19853         threshold for ldbl-128ibm.
19854         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19855         instead of multiplying by log then subtracting.
19856         * math/auto-libm-test-in: Add more tests of lgamma.
19857         * math/auto-libm-test-out: Regenerated.
19859         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19860         (TYPE_HEX_DIG): Likewise.
19861         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19862         precisions when printing floating-point numbers.
19863         (check_float_internal): Likewise.
19865 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19867         [BZ #16620]
19868         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19869         of log (10) rounded downward to 48 bits.
19870         (log10_low): Use corresponding low part of log (10).
19872         [BZ #19032]
19873         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19874         compute result as (x - x) / (x - x) not as 0 / 0.
19875         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19876         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19878         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19879         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19880         and expm1.
19881         * math/auto-libm-test-out: Regenerated.
19882         * math/libm-test.inc (acos_test_data): Add more tests.
19883         (asin_test_data): Likewise.
19884         (asinh_test_data): Likewise.
19885         (atan_test_data): Likewise.
19886         (atanh_test_data): Likewise.
19887         (atan2_test_data): Likewise.
19888         (cbrt_test_data): Likewise.
19889         (ceil_test_data): Likewise.
19890         (copysign_test_data): Likewise.
19891         (cos_test_data): Likewise.
19892         (cosh_test_data): Likewise.
19893         (erf_test_data): Likewise.
19894         (erfc_test_data): Likewise.
19895         (exp_test_data): Likewise.
19896         (exp10_test_data): Likewise.
19897         (exp2_test_data): Likewise.
19898         (expm1_test_data): Likewise.
19899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19901 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19903         [BZ #19006]
19904         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19905         to ...
19906         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19907         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19908         to ...
19909         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19910         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19911         to ...
19912         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19913         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19914         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19915         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19916         to ...
19917         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19918         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19919         Moved to ...
19920         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19921         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19922         Moved to ...
19923         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19924         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19925         to ...
19926         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19927         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19928         Moved to ...
19929         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19930         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19931         to ...
19932         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19933         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19934         Removed.
19935         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19936         Likewise.
19937         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19938         Likewise.
19939         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19940         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19941         Likewise.
19942         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19943         Likewise.
19944         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19945         Likewise.
19946         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19947         Likewise.
19948         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19949         Likewise.
19950         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19951         Likewise.
19952         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19953         Likewise.
19954         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19955         Likewise.
19956         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19957         Likewise.
19958         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19959         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19960         Likewise.
19961         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19962         Likewise.
19963         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19964         Likewise.
19965         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19966         Likewise.
19967         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19968         Likewise.
19969         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19970         Replace ../i486/pthread_cond_timedwait.S with
19971         ../pthread_cond_timedwait.S.
19973 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19975         * math/libm-test.inc (acos_test_data): Refine expectations for
19976         errno and "inexact" exceptions.
19977         (acosh_test_data): Likewise.
19978         (asin_test_data): Likewise.
19979         (asinh_test_data): Likewise.
19980         (atan_test_data): Likewise.
19981         (atanh_test_data): Likewise.
19982         (atan2_test_data): Likewise.
19983         (cbrt_test_data): Likewise.
19984         (ceil_test_data): Likewise.
19985         (copysign_test_data): Likewise.
19986         (cosh_test_data): Likewise.
19987         (erf_test_data): Likewise.
19988         (erfc_test_data): Likewise.
19989         (exp_test_data): Likewise.
19990         (exp10_test_data): Likewise.
19991         (exp2_test_data): Likewise.
19992         (expm1_test_data): Likewise.
19993         (fabs_test_data): Likewise.
19994         (floor_test_data): Likewise.
19995         (fma_test_data): Likewise.
19996         (fmax_test_data): Likewise.
19997         (fmin_test_data): Likewise.
19998         (fmod_test_data): Likewise.
19999         (fpclassify_test_data): Likewise.
20000         (frexp_test_data): Likewise.
20001         (hypot_test_data): Likewise.
20002         (ilogb_test_data): Likewise.
20003         (isgreater_test_data): Likewise.
20004         (isgreaterequal_test_data): Likewise.
20005         (isinf_test_data): Likewise.
20006         (isless_test_data): Likewise.
20007         (islessequal_test_data): Likewise.
20008         (islessgreater_test_data): Likewise.
20009         (isnan_test_data): Likewise.
20010         (isnormal_test_data): Likewise.
20011         (issignaling_test_data): Likewise.
20012         (isunordered_test_data): Likewise.
20013         (j0_test_data): Likewise.
20014         (j1_test_data): Likewise.
20015         (jn_test_data): Likewise.
20016         (lgamma_test_data): Likewise.
20017         (lrint_test_data): Likewise.
20018         (llrint_test_data): Likewise.
20019         (log_test_data): Likewise.
20020         (log10_test_data): Likewise.
20021         (log1p_test_data): Likewise.
20022         (log2_test_data): Likewise.
20023         (logb_test_data): Likewise.
20024         (lround_test_data): Likewise.
20025         (llround_test_data): Likewise.
20026         (modf_test_data): Likewise.
20027         (nearbyint_test_data): Likewise.
20028         (nextafter_test_data): Likewise.
20029         (nexttoward_test_data): Likewise.
20030         (pow_test_data): Likewise.
20031         (remainder_test_data): Likewise.
20032         (remquo_test_data): Likewise.
20033         (rint_test_data): Likewise.
20034         (round_test_data): Likewise.
20035         (signbit_test_data): Likewise.
20036         (sinh_test_data): Likewise.
20037         (sqrt_test_data): Likewise.
20038         (tanh_test_data): Likewise.
20039         (tgamma_test_data): Likewise.
20040         (trunc_test_data): Likewise.
20041         (y0_test_data): Likewise.
20042         (y1_test_data): Likewise.
20043         (yn_test_data): Likewise.
20044         (significand_test_data): Likewise.
20046 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
20048         * manual/filesys.texi (Storage Allocation): Document that
20049         posix_fallocate emulation fails when fd is open with O_WRONLY.
20051 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
20053         [BZ #19016]
20054         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
20055         allow more cases with X^2 + Y^2 >= 0.5.
20056         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
20057         normal element in sum instead of special-casing based on values of
20058         arguments.
20059         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
20060         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
20061         -1 as normal element in sum instead of special-casing based on
20062         values of arguments.
20063         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
20064         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
20065         (__x2y2m1): Update comment.
20066         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
20067         as normal element in sum instead of special-casing based on values
20068         of arguments.
20069         * math/s_clog.c (__clog): Handle more cases using log1p without
20070         hypot.
20071         * math/s_clog10.c (__clog10): Likewise.
20072         * math/s_clog10f.c (__clog10f): Likewise.
20073         * math/s_clog10l.c (__clog10l): Likewise.
20074         * math/s_clogf.c (__clogf): Likewise.
20075         * math/s_clogl.c (__clogl): Likewise.
20076         * math/auto-libm-test-in: Add more tests of clog and clog10.
20077         * math/auto-libm-test-out: Regenerated.
20078         * sysdeps/i386/fpu/libm-test-ulps: Update.
20079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20081 2015-09-28  Martin Sebor  <msebor@redhat.com>
20083         [BZ #18969]
20084         * string/Makefile (LOCALES): Define.
20085         (gen-locales.mk): Include.
20086         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
20087         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
20088         * string/tst-strxfrm2.c (do_test): Print the name of the locale
20089         on setlocale failure.
20091 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20093         [BZ #18985]
20094         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
20095         (__strftime_internal): Likewise.
20096         * time/tst-strftime.c (do_bz18985): New test.
20097         (do_test): Call it.
20099 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
20101         [BZ #18956]
20102         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
20103         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
20104         extracting high part.
20105         * math/auto-libm-test-in: Add another test of pow.
20106         * math/auto-libm-test-out: Regenerated.
20107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20109 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
20111         [BZ #18825]
20112         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
20113         New macro.
20114         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20115         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20116         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20117         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20118         DBL_NARROW_EVAL, reloading the PIC register as needed.
20119         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20120         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20121         FLT_NARROW_EVAL.  Use separate return path for case when first
20122         argument is NaN.
20123         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
20124         DEFINE_LDBL_MIN.
20125         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20126         PIC register.
20127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20128         math_check_force_underflow_nonneg.
20129         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20130         underflow for subnormal result.
20131         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20132         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20133         math_check_force_underflow_nonneg.
20134         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20135         math_check_force_underflow.
20136         * sysdeps/x86_64/fpu/x86_64-math-asm.h
20137         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20138         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
20139         DEFINE_LDBL_MIN.
20140         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20141         * math/auto-libm-test-in: Add more tests of pow.
20142         * math/auto-libm-test-out: Regenerated.
20144 2015-09-25  Florian Weimer  <fweimer@redhat.com>
20146         * nss/bug17079.c (init_test_items): Add diagnostic for
20147         inconsistent entries.
20148         (test_buffer_size): Skip inconsistent entries.
20150 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
20152         [BZ #13304]
20153         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20154         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20155         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20157         [BZ #13304]
20158         * sysdeps/microblaze/s_fma.c: New file.
20159         * sysdeps/microblaze/s_fmaf.c: Likewise.
20160         * sysdeps/microblaze/sfp-machine.h: Likewise.
20162 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
20164         [BZ #17250]
20165         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20166         member.
20168 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20170         [BZ #18803]
20171         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20172         (MO): New macro.
20173         (__ieee754_hypot) [PIC]: Load PIC register.
20174         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20175         DBL_NARROW_EVAL.
20176         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20177         math_check_force_underflow_nonneg in case where result might be
20178         tiny.
20179         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20180         Likewise.
20181         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20182         Likewise.
20183         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20184         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20185         * math/auto-libm-test-in: Add more tests of hypot.
20186         * math/auto-libm-test-out: Regenerated.
20188 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
20190         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20192 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20194         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20195         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
20196         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20197         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20198         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20199         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20200         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20202         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20203         LOAD_PIC_REG.
20205         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20206         (FLT_CHECK_FORCE_UFLOW): Likewise.
20207         (DBL_CHECK_FORCE_UFLOW): Likewise.
20208         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20209         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20210         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20211         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20212         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20213         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20214         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20215         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20216         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20217         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20218         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20219         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20220         (flt_min): Replace with use of DEFINE_FLT_MIN.
20221         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20222         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20223         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20224         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20225         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20226         (flt_min): Replace with use of DEFINE_FLT_MIN.
20227         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20228         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20229         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20230         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20231         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20232         (flt_min): Replace with use of DEFINE_FLT_MIN.
20233         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20234         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20235         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20236         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20237         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20238         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20239         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20240         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20241         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20242         (__atan): Use DBL_CHECK_FORCE_UFLOW.
20243         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20244         (flt_min): Replace with use of DEFINE_FLT_MIN.
20245         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20246         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20247         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20248         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
20249         main computation.
20250         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20251         (flt_min): Replace with use of DEFINE_FLT_MIN.
20252         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
20253         main computation.
20254         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20255         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20256         (MO): New macro.
20257         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20258         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20259         (flt_min): Replace with use of DEFINE_FLT_MIN.
20260         (MO): New macro.
20261         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20262         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20263         (__log1pl): Use MO.
20265         [BZ #19003]
20266         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20267         $(config-cflags-nofma).
20269 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20271         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20273 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
20275         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20276         (TWO127): Likewise.
20278         * sysdeps/generic/math_private.h (fabs_tg): New macro.
20279         (min_of_type): Likewise.
20280         (math_check_force_underflow): Likewise.
20281         (math_check_force_underflow_nonneg): Likewise.
20282         (math_check_force_underflow_complex): Likewise.
20283         * math/e_exp2l.c (__ieee754_exp2l): Use
20284         math_check_force_underflow_nonneg.
20285         * math/k_casinh.c (__kernel_casinh): Likewise.
20286         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20287         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20288         * math/s_catan.c (__catan): Use
20289         math_check_force_underflow_complex.
20290         * math/s_catanf.c (__catanf): Likewise.
20291         * math/s_catanh.c (__catanh): Likewise.
20292         * math/s_catanhf.c (__catanhf): Likewise.
20293         * math/s_catanhl.c (__catanhl): Likewise.
20294         * math/s_catanl.c (__catanl): Likewise.
20295         * math/s_ccosh.c (__ccosh): Likewise.
20296         * math/s_ccoshf.c (__ccoshf): Likewise.
20297         * math/s_ccoshl.c (__ccoshl): Likewise.
20298         * math/s_cexp.c (__cexp): Likewise.
20299         * math/s_cexpf.c (__cexpf): Likewise.
20300         * math/s_cexpl.c (__cexpl): Likewise.
20301         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20302         * math/s_clog10.c (__clog10): Likewise.
20303         * math/s_clog10f.c (__clog10f): Likewise.
20304         * math/s_clog10l.c (__clog10l): Likewise.
20305         * math/s_clogf.c (__clogf): Likewise.
20306         * math/s_clogl.c (__clogl): Likewise.
20307         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20308         * math/s_csinf.c (__csinf): Likewise.
20309         * math/s_csinh.c (__csinh): Likewise.
20310         * math/s_csinhf.c (__csinhf): Likewise.
20311         * math/s_csinhl.c (__csinhl): Likewise.
20312         * math/s_csinl.c (__csinl): Likewise.
20313         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20314         * math/s_csqrtf.c (__csqrtf): Likewise.
20315         * math/s_csqrtl.c (__csqrtl): Likewise.
20316         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20317         * math/s_ctanf.c (__ctanf): Likewise.
20318         * math/s_ctanh.c (__ctanh): Likewise.
20319         * math/s_ctanhf.c (__ctanhf): Likewise.
20320         * math/s_ctanhl.c (__ctanhl): Likewise.
20321         * math/s_ctanl.c (__ctanl): Likewise.
20322         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20323         instead of volatile.
20324         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20325         math_check_force_underflow.
20326         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20327         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20328         volatile when forcing underflow.
20329         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20330         math_check_force_underflow_nonneg.
20331         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20332         Likewise.
20333         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20334         math_check_force_underflow.
20335         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20336         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20337         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20338         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20339         math_check_force_underflow_nonneg.
20340         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20341         math_check_force_underflow.
20342         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20344         instead of volatile.
20345         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20346         math_check_force_underflow.
20347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20348         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20349         math_check_force_underflow_nonneg.
20350         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20351         math_check_force_underflow.
20352         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20353         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20354         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20355         math_check_force_underflow_nonneg.
20356         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20357         Likewise.
20358         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20359         math_check_force_underflow.
20360         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20361         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20362         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20363         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20364         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20365         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20366         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20367         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20368         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20369         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20370         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20371         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20372         Likewise.
20373         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20374         math_check_force_underflow_nonneg.
20375         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20376         Likewise.
20377         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20378         math_check_force_underflow.
20379         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20380         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20381         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20382         Likewise.
20383         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20384         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20385         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20386         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20387         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20388         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20390         instead of volatile.
20391         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20392         math_check_force_underflow.
20393         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20394         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20395         math_check_force_underflow.
20396         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20397         Likewise.
20398         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20399         Use math_check_force_underflow_nonneg.
20400         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20401         math_check_force_underflow.
20402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20403         Likewise.
20404         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20405         Likewise.
20406         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20407         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20408         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20409         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20411         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20412         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20413         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20414         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20415         math_check_force_underflow_nonneg.
20416         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20417         math_check_force_underflow.
20418         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20419         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20420         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20421         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20422         math_check_force_underflow_nonneg.
20423         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20424         math_check_force_underflow.
20425         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20427         instead of volatile.
20428         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20429         math_check_force_underflow.
20431         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20432         * stdlib/strtod_l.c: Include <math_private.h>.
20433         (overflow_value): Use math_narrow_eval.
20434         (underflow_value): Likewise.
20435         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20436         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20437         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20438         (__ieee754_gamma_r): Likewise.
20439         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20440         Likewise.
20441         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20442         Likewise.
20443         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20444         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20445         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20446         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20447         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20448         (__ieee754_gammaf_r): Likewise.
20449         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20450         Likewise.
20451         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20452         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20453         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20454         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20455         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20456         volatile.
20457         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20458         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20459         math_narrow_eval.
20460         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20461         Likewise.
20462         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20463         Likewise.
20464         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20465         Likewise.
20466         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20467         volatile.
20468         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20469         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20470         math_narrow_eval.
20471         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20472         Likewise.
20473         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20474         Likewise.
20476 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
20478         * nptl/Versions: Remove ignored symbols.
20480 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20482         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
20483         * nss/Makefile (tests): Update.
20485 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20487         * nss/bug18287.c: New file.
20488         * nss/Makefile (tests): Add bug18287.
20490 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20492         * mach/Versions (__mach_host_self_): Add symbol.
20494 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20496         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20497         vm_page_size.
20499 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20501         Really fix sysdeps/i386/fpu/s_scalbn.S build
20503         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20504         (libc: GLIBC_2_22): Remove unused version set.
20506 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20508         * config.make.in (enable-timezone-tools): New variable.
20509         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20510         (enable_timezone_tools): Export to generated files.
20511         * configure: Regenerate.
20512         * INSTALL: Regenerate.
20513         * manual/install.texi (--disable-timezone-tools): Document new flag.
20514         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20515         ifeq ($(enable-timezone-tools),yes) check.
20517 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20519         * timezone/Makefile: Revert previous change.
20521         [BZ #18980]
20522         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20523         (DEFINE_DBL_MIN): Likewise.
20524         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20525         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20526         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20527         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20528         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20529         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20530         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20531         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20532         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20533         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20534         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20535         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20536         (flt_min): Replace with use of DEFINE_FLT_MIN.
20537         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20538         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20539         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20540         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20541         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20542         (flt_min): Replace with use of DEFINE_FLT_MIN.
20543         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20544         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20545         (flt_min): Replace with use of DEFINE_FLT_MIN.
20546         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20547         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20548         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20549         (__ieee754_hypot): Use DBL_NARROW_EVAL.
20550         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20551         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20552         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20553         (__ieee754_pow): Use DBL_NARROW_EVAL.
20554         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20555         (__ieee754_powf): Use FLT_NARROW_EVAL.
20556         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20557         (__ieee754_expf_sse2): Convert double-precision result to single
20558         precision.
20559         * sysdeps/i386/fpu/libm-test-ulps: Update.
20561 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20563         * timezone/Makefile: Ignore unused variable errors due to private.h
20564         (time_t_min) and (time_t_max).
20565         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
20566         Likewise.
20568 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20570         [BZ #18981]
20571         * sysdeps/i386/fpu/i386-math-asm.h: New file.
20572         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20573         (__ieee754_scalb): Use DBL_NARROW_EVAL.
20574         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20575         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20576         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20577         (__scalbn): Use DBL_NARROW_EVAL.
20578         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20579         (__scalbnf): Use FLT_NARROW_EVAL.
20581 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20583         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20584         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20585         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20586         * stdio-common/printf_fp.c (___printf_fp):
20587         Use signbit to get the sign. Use isinf macro to allow inlining.
20588         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20589         * stdio-common/printf_size.c (__printf_size): Likewise.
20591 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20593         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20595 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20597         [BZ #18980]
20598         * sysdeps/generic/math_private.h: Include <float.h>.
20599         (math_narrow_eval): New macro.
20600         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20601         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20602         math_narrow_eval on overflowing return value.
20603         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20604         Likewise.
20605         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20606         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20607         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20608         Likewise.
20609         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20611 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20613         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20614         * math/Makefile: Remove isinf_ns.c.
20615         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20616         * math/multc3.c (__multc3): Likewise.
20617         * math/s_casin.c (__casin): Likewise.
20618         * math/s_casinf.c (__casinf): Likewise.
20619         * math/s_casinl.c (__casinl): Likewise.
20620         * math/s_cproj.c (__cproj): Likewise.
20621         * math/s_cprojf.c (__cprojf): Likewise.
20622         * math/s_cprojl.c (__cprofl): Likewise.
20623         * math/s_ctan.c (__ctan): Likewise.
20624         * math/s_ctanf.c (__ctanf): Likewise.
20625         * math/s_ctanh.c (__ctanh): Likewise.
20626         * math/s_ctanhf.c (__ctanhf): Likewise.
20627         * math/s_ctanhl.c (__ctanhl): Likewise.
20628         * math/s_ctanl.c (__ctanl): Likewise.
20629         * math/w_fmod.c (__fmod): Likewise.
20630         * math/w_fmodf.c (__fmodf): Likewise.
20631         * math/w_fmodl.c (_fmodl): Likewise.
20632         * math/w_remainder.c (__remainder): Likewise.
20633         * math/w_remainderf.c (__remainderf): Likewise.
20634         * math/w_remainderl.c (__remainderl): Likewise.
20635         * math/w_scalb.c (__scalb): Likewise.
20636         * math/w_scalbf.c (__scalbf): Likewise.
20637         * math/w_scalbl.c (__scalbl): Likewise.
20638         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20639         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20640         with isinf.
20641         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20642         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20643         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20644         __isinf_nsf with isinf.
20645         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20646         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20647         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20648         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20649         with isinf.
20650         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20651         __isinf_nsl with isinf.
20652         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20653         with isinf.
20654         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20655         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20656         __isinf_nsl with isinf.
20657         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20658         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20659         with isinf.
20661 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20663         * resolv/base64.c (rcsid): Remove unused static.
20664         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20665         static.  (tqpi1): Likewise.
20666         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20667         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20668         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20669         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20670         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20671         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20672         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20673         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
20674         Likewise.
20676 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
20678         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20679         <nptl/pthreadP.h>.
20680         (_longjmp_unwind): Use __libc_ptf_call.
20681         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20683 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
20685         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20686         * sysdeps/arm/__longjmp.S: Likewise.
20688 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20690         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20691         Use __builtin_signbit.
20692         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20693         Use __builtin_signbitf.
20694         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20695         Use __builtin_signbitl.
20696         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20697         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20699 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20701         [BZ #15367]
20702         [BZ #17441]
20704         * math/Makefile: Build test-snan.c with -fsignaling-nans.
20705         * math/math.h (fpclassify): Use __builtin_fpclassify when
20706         available.  (signbit): Use __builtin_signbit(f/l).
20707         (isfinite): Use__builtin_isfinite.  (isnormal): Use
20708         __builtin_isnormal.  (isnan): Use __builtin_isnan.
20709         (isinf): Use __builtin_isinf_sign.
20711 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20713         * benchtests/Makefile: Add bench-math-inlines, link with libm.
20714         * benchtests/bench-math-inlines.c: New benchmark.
20715         * benchtests/bench-util.h: New file.
20716         * benchtests/bench-util.c: New file.
20717         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20719 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
20721         * elf/tst-dlmopen1.c: Define TEST_SO.
20722         (do_test): Use TEST_SO.
20724         * elf/dl-load.c: Include libc-internal.h.
20725         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20727 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20729         [BZ #17887]
20730         * time/strptime_l.c (__strptime_internal): Make %z accept
20731         [+-]HH:MM time zones.
20733 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20735         [BZ #17886]
20736         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20737         valid time zone.
20739 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
20741         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20742         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20743         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20744         (__ASSUME_FDATASYNC): Delete.
20746 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20748         * conform/linknamespace.pl: Require weak undefined symbols to be
20749         in the standard namespace.
20750         (%strong_syms): Rename to %seen_syms.
20751         (%strong_seen): Rename to %seen_where.
20753 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
20755         [BZ #18970]
20756         * misc/error.c (error): Replace pthread_setcancelstate with
20757         __pthread_setcancelstate.
20758         (error_at_line): Likewise.
20759         * posix/wordexp.c (parse_comm): Likewise.
20760         * stdlib/fmtmsg.c (fmtmsg): Likewise.
20761         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20762         (__pthread_setcancelstate): This.
20763         (pthread_setcancelstate): Add an alias.
20764         * nptl/nptl-init.c (pthread_functions): Replace
20765         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20766         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20767         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20768         hidden_proto.
20769         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20770         it with hidden_def.
20771         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20772         (pthread_setcancelstate): Renamed to ...
20773         (__pthread_setcancelstate): This.
20774         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20775         __libc_ptf_call with __pthread_setcancelstate.
20777 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20778             Andreas Schwab  <schwab@suse.de>
20780         [BZ #17118]
20781         * math/s_ctan.c (__ctan): Determine sign of zero real part of
20782         result when imaginary part of argument is infinite using sine and
20783         cosine.
20784         * math/s_ctanf.c (__ctanf): Likewise.
20785         * math/s_ctanl.c (__ctanl): Likewise.
20786         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20787         of result when real part of argument is infinite using sine and
20788         cosine.
20789         * math/s_ctanhf.c (__ctanhf): Likewise.
20790         * math/s_ctanhl.c (__ctanhl): Likewise.
20791         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20792         (ctanh_test_data): Add more tests of ctanh.
20794 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20796         [BZ #15384]
20797         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20798         bit-mask as in subtraction.
20799         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20800         Likewise.
20801         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20802         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20803         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20805         [BZ #18951]
20806         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20807         underflow exception for small results.
20808         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20809         Likewise.
20810         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20811         Likewise.
20812         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20813         Likewise.
20814         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20815         Likewise.
20816         * math/auto-libm-test-in: Add more tests of tgamma.
20817         * math/auto-libm-test-out: Regenerated.
20819 2015-09-17  Andreas Schwab  <schwab@suse.de>
20821         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20823 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20825         [BZ #18977]
20826         * math/bits/mathcalls.h
20827         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20828         not declare.
20829         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20830         Likewise.
20831         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20832         Likewise.
20833         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20834         Likewise.
20835         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20836         Likewise.
20837         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20838         Likewise.
20839         * conform/data/math.h-data
20840         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20841         function.
20842         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20843         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20844         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20845         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20846         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20847         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20848         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20849         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20850         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20851         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20852         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20854         [BZ #6803]
20855         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20856         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20857         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20858         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20859         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20860         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20861         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20862         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20863         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20864         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20865         Likewise.
20866         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20867         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20868         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20869         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20870         long_double_symbol calls.
20871         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20872         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20873         strong alias of __ldexpl.
20874         (scalbnl): Define using long_double_symbol.
20875         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20876         Remove alias.
20877         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20878         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20879         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20880         (scalbln_test_data): Add more errno expectations.
20882 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
20884         Cache the host port like we cache the task port.  This way we do not
20885         need to call the kernel just to get the port.  Furthermore, we no
20886         longer increase the reference count on every invocation of
20887         `mach_host_self'.
20889         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20890         Protect declarations against the macro expansion.
20891         * mach/mach_init.c (__mach_host_self_): New variable.
20892         (mach_init): Initialize `__mach_host_self_'.
20893         * mach/mach_init.h (__mach_host_self_): New declaration.
20894         (__mach_host_self, mach_host_self): New macros.
20895         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20896         Release reference.
20898 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20900         [BZ #4404]
20901         * po/de.po: Update from Translation Project.
20903         [BZ #16415]
20904         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20905         (__expm1l): Remove code to handle positive infinity and overflow.
20906         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20907         variable.
20908         (__expm1l): Remove code to handle positive infinity and overflow.
20910 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20911             Paul Pluzhnikov  <ppluzhnikov@google.com>
20913         [BZ #18872]
20914         * stdio-common/Makefile (tst-printf-bz18872): New test.
20915         (tst-printf-bz18872-mem.out): Likewise.
20916         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20917         * stdio-common/vfprintf.c: Fix memory leaks.
20919 2015-09-16  Andreas Schwab  <schwab@suse.de>
20921         [BZ #17244]
20922         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20923         Remove extra va_start/va_end calls.
20925         [BZ #17243]
20926         * posix/execl.c (execl): Add missing va_end.
20927         * posix/execle.c (execle): Likewise.
20928         * posix/execlp.c (execlp): Likewise.
20930 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20932         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20933         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20935 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20937         [BZ #18967]
20938         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20939         undefine around includes of <bits/mathcalls.h>.
20940         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20941         not declare function.
20942         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20943         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20944         (scalb): Likewise.
20945         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20946         not define macro.
20947         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20948         variable.
20949         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20950         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20951         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20953         [BZ #18857]
20954         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20955         return non-finite argument without doing ordered comparisons on
20956         it.
20958         [BZ #16296]
20959         * math/fenv.h (fegetround): Use __attribute_pure__.
20960         * include/fenv.h (__fegetround): Likewise.
20962         [BZ #18595]
20963         * math/s_ctan.c (__ctan): Force underflow exception for results
20964         whose real or imaginary part has small absolute value.
20965         * math/s_ctanf.c (__ctanf): Likewise.
20966         * math/s_ctanh.c (__ctanh): Likewise.
20967         * math/s_ctanhf.c (__ctanhf): Likewise.
20968         * math/s_ctanhl.c (__ctanhl): Likewise.
20969         * math/s_ctanl.c (__ctanl): Likewise.
20970         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20971         and ctanh.  Add more tests of ctan and ctanh.
20973         [BZ #15918]
20974         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20975         handling of cases where one argument is an infinity.
20977         [BZ #18875]
20978         [BZ #18966]
20979         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20980         (MO): New macro.
20981         (__ieee754_exp10): For small results, force underflow exception
20982         and remove excess range and precision from return value.
20983         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20984         (MO): New macro.
20985         (__ieee754_exp10f): For small results, force underflow exception
20986         and remove excess range and precision from return value.
20987         * math/auto-libm-test-in: Add more tests of exp10.
20988         * math/auto-libm-test-out: Regenerated.
20990 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20992         [BZ #18875]
20993         [BZ #18961]
20994         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20995         (MO): New macro.
20996         (__ieee754_exp): For small results, force underflow exception and
20997         remove excess range and precision from return value.
20998         (__exp_finite): Likewise.
20999         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
21000         (MO): New macro.
21001         (__ieee754_expf): For small results, force underflow exception and
21002         remove excess range and precision from return value.
21003         (__expf_finite): Likewise.
21004         * math/auto-libm-test-in: Add more tests of exp.
21005         * math/auto-libm-test-out: Regenerated.
21007         [BZ #16521]
21008         [BZ #18875]
21009         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
21010         small results.
21011         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
21012         (MO): New macro.
21013         (__ieee754_exp2): For small results, force underflow exception and
21014         remove excess range and precision from return value.
21015         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
21016         (MO): New macro.
21017         (__ieee754_exp2f): For small results, force underflow exception
21018         and remove excess range and precision from return value.
21019         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
21020         (MO): New macro.
21021         (__ieee754_exp2l): Force underflow exception for small results.
21022         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21023         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21024         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
21025         (MO): New macro.
21026         (__ieee754_exp2l): Force underflow exception for small results.
21027         * math/auto-libm-test-in: Add more tests or exp2.
21028         * math/auto-libm-test-out: Regenerated.
21030 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
21032         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
21034         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
21035         /dev/null.
21037 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21039         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21040         io fs process)): Drop spurious backslash.
21042 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21044         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
21045         Use sysinfo system call instead of parsing /proc/meminfo.
21046         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
21047         Likewise.
21049 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
21051         [BZ #16985]
21052         * programs/localedef.c (main): Display argv[remaining] when
21053         output_path is NULL.
21055 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
21057         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21058         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
21059         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
21060         tanh.
21061         * math/auto-libm-test-out: Regenerated.
21062         * sysdeps/i386/fpu/libm-test-ulps: Update.
21063         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21064         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21067 2015-09-11  Roland McGrath  <roland@hack.frob.com>
21069         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
21070         Use 'override' keyword to freeze the value here, preventing
21071         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
21073 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
21075         [BZ #14912]
21076         * sysdeps/aarch64/bits/atomic.h: Move to ...
21077         * sysdeps/aarch64/atomic-machine.h: ...here.
21078         (_AARCH64_BITS_ATOMIC_H): Rename macro to
21079         _AARCH64_ATOMIC_MACHINE_H.
21080         * sysdeps/alpha/bits/atomic.h: Move to ...
21081         * sysdeps/alpha/atomic-machine.h: ...here.
21082         * sysdeps/arm/bits/atomic.h: Move to ...
21083         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
21084         * bits/atomic.h: Move to ...
21085         * sysdeps/generic/atomic-machine.h: ...here.
21086         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21087         * sysdeps/i386/bits/atomic.h: Move to ...
21088         * sysdeps/i386/atomic-machine.h: ...here.
21089         * sysdeps/ia64/bits/atomic.h: Move to ...
21090         * sysdeps/ia64/atomic-machine.h: ...here.
21091         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
21092         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
21093         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21094         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
21095         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
21096         * sysdeps/microblaze/bits/atomic.h: Move to ...
21097         * sysdeps/microblaze/atomic-machine.h: ...here.
21098         * sysdeps/mips/bits/atomic.h: Move to ...
21099         * sysdeps/mips/atomic-machine.h: ...here.
21100         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
21101         * sysdeps/powerpc/bits/atomic.h: Move to ...
21102         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
21103         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
21104         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
21105         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
21106         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
21107         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
21108         <atomic-machine.h> instead of <bits/atomic.h>.
21109         * sysdeps/s390/bits/atomic.h: Move to ...
21110         * sysdeps/s390/atomic-machine.h: ...here.
21111         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
21112         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
21113         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21114         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21115         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21116         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21117         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21118         * sysdeps/tile/bits/atomic.h: Move to ...
21119         * sysdeps/tile/atomic-machine.h: ...here.
21120         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21121         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
21122         <sysdeps/tile/atomic-machine.h> instead of
21123         <sysdeps/tile/bits/atomic.h>.
21124         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21125         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21126         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
21127         <sysdeps/tile/atomic-machine.h> instead of
21128         <sysdeps/tile/bits/atomic.h>.
21129         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21130         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21131         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
21132         <sysdeps/arm/atomic-machine.h> instead of
21133         <sysdeps/arm/bits/atomic.h>.
21134         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21135         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21136         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21137         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21138         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21139         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21140         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21141         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21142         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21143         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21144         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21145         * sysdeps/x86_64/bits/atomic.h: Move to ...
21146         * sysdeps/x86_64/atomic-machine.h: ...here.
21147         * include/atomic.h: Include <atomic-machine.h> instead of
21148         <bits/atomic.h>.
21150         * sysdeps/mips/mips32/libm-test-ulps: Update.
21151         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21153         [BZ #18952]
21154         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21155         not convert non-integer negative arguments to int to determine the
21156         value of signgam.
21157         * math/auto-libm-test-in: Add more tests of lgamma.
21158         * math/auto-libm-test-out: Regenerated.
21160         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21161         cosh, csqrt, erfc, expm1 and 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-10  Joseph Myers  <joseph@codesourcery.com>
21168         [BZ #2542]
21169         [BZ #2543]
21170         [BZ #2558]
21171         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21172         __lgamma_neg for arguments from -28.0 to -2.0.
21173         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21174         __lgamma_negf for arguments from -15.0 to -2.0.
21175         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21176         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21177         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21178         Call __lgamma_negl for arguments from -33.0 to -2.0.
21179         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21180         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21181         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21182         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21183         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21184         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21185         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21186         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21187         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21188         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21189         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21190         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21191         (__lgamma_neg): Likewise.
21192         (__lgamma_negl): Likewise.
21193         (__lgamma_product): Likewise.
21194         (__lgamma_productl): Likewise.
21195         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21196         * math/auto-libm-test-in: Add more tests of lgamma.
21197         * math/auto-libm-test-out: Regenerated.
21198         * sysdeps/i386/fpu/libm-test-ulps: Update.
21199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21201 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
21203         [BZ #18675]
21204         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21206 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
21208         [BZ #14912]
21209         * bits/libc-lock.h: Move to ...
21210         * sysdeps/generic/libc-lock.h: ...here.
21211         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21212         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21213         * sysdeps/mach/hurd/libc-lock.h: ...here.
21214         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21215         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21216         * sysdeps/mach/bits/libc-lock.h: Move to ...
21217         * sysdeps/mach/libc-lock.h: ...here.
21218         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21219         * sysdeps/nptl/bits/libc-lock.h: Move to ...
21220         * sysdeps/nptl/libc-lock.h: ...here.
21221         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21222         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21223         * sysdeps/nptl/libc-lockP.h: ...here.
21224         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21225         * crypt/crypt_util.c: Include <libc-lock.h> instead of
21226         <bits/libc-lock.h>.
21227         * dirent/scandir-tail.c: Likewise.
21228         * dlfcn/dlerror.c: Likewise.
21229         * elf/dl-close.c: Likewise.
21230         * elf/dl-iteratephdr.c: Likewise.
21231         * elf/dl-lookup.c: Likewise.
21232         * elf/dl-open.c: Likewise.
21233         * elf/dl-support.c: Likewise.
21234         * elf/dl-writev.h: Likewise.
21235         * elf/rtld.c: Likewise.
21236         * grp/fgetgrent.c: Likewise.
21237         * gshadow/fgetsgent.c: Likewise.
21238         * gshadow/sgetsgent.c: Likewise.
21239         * iconv/gconv_conf.c: Likewise.
21240         * iconv/gconv_db.c: Likewise.
21241         * iconv/gconv_dl.c: Likewise.
21242         * iconv/gconv_int.h: Likewise.
21243         * iconv/gconv_trans.c: Likewise.
21244         * include/link.h: Likewise.
21245         * inet/getnameinfo.c: Likewise.
21246         * inet/getnetgrent.c: Likewise.
21247         * inet/getnetgrent_r.c: Likewise.
21248         * intl/bindtextdom.c: Likewise.
21249         * intl/dcigettext.c: Likewise.
21250         * intl/finddomain.c: Likewise.
21251         * intl/gettextP.h: Likewise.
21252         * intl/loadmsgcat.c: Likewise.
21253         * intl/localealias.c: Likewise.
21254         * intl/textdomain.c: Likewise.
21255         * libidn/idn-stub.c: Likewise.
21256         * libio/libioP.h: Likewise.
21257         * locale/duplocale.c: Likewise.
21258         * locale/freelocale.c: Likewise.
21259         * locale/newlocale.c: Likewise.
21260         * locale/setlocale.c: Likewise.
21261         * login/getutent_r.c: Likewise.
21262         * login/getutid_r.c: Likewise.
21263         * login/getutline_r.c: Likewise.
21264         * login/utmp-private.h: Likewise.
21265         * login/utmpname.c: Likewise.
21266         * malloc/mtrace.c: Likewise.
21267         * misc/efgcvt.c: Likewise.
21268         * misc/error.c: Likewise.
21269         * misc/fstab.c: Likewise.
21270         * misc/getpass.c: Likewise.
21271         * misc/mntent.c: Likewise.
21272         * misc/syslog.c: Likewise.
21273         * nis/nis_call.c: Likewise.
21274         * nis/nis_callback.c: Likewise.
21275         * nis/nss-default.c: Likewise.
21276         * nis/nss_compat/compat-grp.c: Likewise.
21277         * nis/nss_compat/compat-initgroups.c: Likewise.
21278         * nis/nss_compat/compat-pwd.c: Likewise.
21279         * nis/nss_compat/compat-spwd.c: Likewise.
21280         * nis/nss_nis/nis-alias.c: Likewise.
21281         * nis/nss_nis/nis-ethers.c: Likewise.
21282         * nis/nss_nis/nis-grp.c: Likewise.
21283         * nis/nss_nis/nis-hosts.c: Likewise.
21284         * nis/nss_nis/nis-network.c: Likewise.
21285         * nis/nss_nis/nis-proto.c: Likewise.
21286         * nis/nss_nis/nis-pwd.c: Likewise.
21287         * nis/nss_nis/nis-rpc.c: Likewise.
21288         * nis/nss_nis/nis-service.c: Likewise.
21289         * nis/nss_nis/nis-spwd.c: Likewise.
21290         * nis/nss_nisplus/nisplus-alias.c: Likewise.
21291         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21292         * nis/nss_nisplus/nisplus-grp.c: Likewise.
21293         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21294         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21295         * nis/nss_nisplus/nisplus-network.c: Likewise.
21296         * nis/nss_nisplus/nisplus-proto.c: Likewise.
21297         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21298         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21299         * nis/nss_nisplus/nisplus-service.c: Likewise.
21300         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21301         * nis/ypclnt.c: Likewise.
21302         * nptl/libc_pthread_init.c: Likewise.
21303         * nss/getXXbyYY.c: Likewise.
21304         * nss/getXXent.c: Likewise.
21305         * nss/getXXent_r.c: Likewise.
21306         * nss/nss_db/db-XXX.c: Likewise.
21307         * nss/nss_db/db-netgrp.c: Likewise.
21308         * nss/nss_db/nss_db.h: Likewise.
21309         * nss/nss_files/files-XXX.c: Likewise.
21310         * nss/nss_files/files-alias.c: Likewise.
21311         * nss/nsswitch.c: Likewise.
21312         * posix/regex_internal.h: Likewise.
21313         * posix/wordexp.c: Likewise.
21314         * pwd/fgetpwent.c: Likewise.
21315         * resolv/res_hconf.c: Likewise.
21316         * resolv/res_libc.c: Likewise.
21317         * shadow/fgetspent.c: Likewise.
21318         * shadow/lckpwdf.c: Likewise.
21319         * shadow/sgetspent.c: Likewise.
21320         * socket/opensock.c: Likewise.
21321         * stdio-common/reg-modifier.c: Likewise.
21322         * stdio-common/reg-printf.c: Likewise.
21323         * stdio-common/reg-type.c: Likewise.
21324         * stdio-common/vfprintf.c: Likewise.
21325         * stdio-common/vfscanf.c: Likewise.
21326         * stdlib/abort.c: Likewise.
21327         * stdlib/cxa_atexit.c: Likewise.
21328         * stdlib/fmtmsg.c: Likewise.
21329         * stdlib/random.c: Likewise.
21330         * stdlib/setenv.c: Likewise.
21331         * string/strsignal.c: Likewise.
21332         * sunrpc/auth_none.c: Likewise.
21333         * sunrpc/bindrsvprt.c: Likewise.
21334         * sunrpc/create_xid.c: Likewise.
21335         * sunrpc/key_call.c: Likewise.
21336         * sunrpc/rpc_thread.c: Likewise.
21337         * sysdeps/arm/backtrace.c: Likewise.
21338         * sysdeps/generic/ldsodefs.h: Likewise.
21339         * sysdeps/generic/stdio-lock.h: Likewise.
21340         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21341         * sysdeps/i386/backtrace.c: Likewise.
21342         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21343         * sysdeps/m68k/backtrace.c: Likewise.
21344         * sysdeps/mach/hurd/cthreads.c: Likewise.
21345         * sysdeps/mach/hurd/dirstream.h: Likewise.
21346         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21347         * sysdeps/nptl/malloc-machine.h: Likewise.
21348         * sysdeps/nptl/stdio-lock.h: Likewise.
21349         * sysdeps/posix/dirstream.h: Likewise.
21350         * sysdeps/posix/getaddrinfo.c: Likewise.
21351         * sysdeps/posix/system.c: Likewise.
21352         * sysdeps/pthread/aio_suspend.c: Likewise.
21353         * sysdeps/s390/s390-32/backtrace.c: Likewise.
21354         * sysdeps/s390/s390-64/backtrace.c: Likewise.
21355         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21356         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21357         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21358         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21359         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21360         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21361         * sysdeps/unix/sysv/linux/system.c: Likewise.
21362         * sysdeps/x86_64/backtrace.c: Likewise.
21363         * time/alt_digit.c: Likewise.
21364         * time/era.c: Likewise.
21365         * time/tzset.c: Likewise.
21366         * wcsmbs/wcsmbsload.c: Likewise.
21367         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21368         instead of <bits/libc-lock.h> in comment.
21370 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
21372         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21373         Only use .set mips2 if the current ISA is below mips2.
21374         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21375         Likewise.
21376         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21377         mips32r2 if the current ISA is below mips32r2.
21378         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21379         (TLS_IE): Updated to use the TLD_RDHWR macro.
21380         (TLS_LE): Likewise.
21381         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21382         __ASSEMBLER__ condition.
21384 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21386         Fix parallel build of before-compile targets.
21388         * sysdeps/mach/Makefile ($(patsubst
21389         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21390         mach-before-compile target.
21391         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21392         io fs process)): Move rule to dedicated hurd-before-compile target.
21394 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21396         Fix rules generating headers in hurd/ and mach/ when initial make call
21397         has subdir= explicitly set.
21399         * sysdeps/mach/Makefile ($(patsubst
21400         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21401         calling $(MAKE).
21402         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21403         io fs process)): Force subdir to hurd when calling $(MAKE).
21404         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21405         subdir to mach when calling $(MAKE).
21407 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
21409         Check sysheaders when looking for Mach and Hurd headers
21411         * sysdeps/mach/configure.ac: Add sysheaders check.
21412         * sysdeps/mach/configure: Regenerate.
21413         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21414         * sysdeps/mach/hurd/configure: Regenerate.
21416 2015-09-04  Roland McGrath  <roland@hack.frob.com>
21418         [BZ #18921]
21419         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21420         Fix inverted sense of test of 'o_directory_works' value.
21421         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21422         Bernhard Voelker <mail@bernhard-voelker.de>.
21424 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21426         [BZ #14912]
21427         * bits/linkmap.h: Move to ...
21428         * sysdeps/generic/linkmap.h: ...here.
21429         * sysdeps/aarch64/bits/linkmap.h: Move to ...
21430         * sysdeps/aarch64/linkmap.h: ...here.
21431         * sysdeps/arm/bits/linkmap.h: Move to ...
21432         * sysdeps/arm/linkmap.h: ...here.
21433         * sysdeps/hppa/bits/linkmap.h: Move to ...
21434         * sysdeps/hppa/linkmap.h: ...here.
21435         * sysdeps/ia64/bits/linkmap.h: Move to ...
21436         * sysdeps/ia64/linkmap.h: ...here.
21437         * sysdeps/mips/bits/linkmap.h: Move to ...
21438         * sysdeps/mips/linkmap.h: ...here.
21439         * sysdeps/s390/bits/linkmap.h: Move to ...
21440         * sysdeps/s390/linkmap.h: ...here.
21441         * sysdeps/sh/bits/linkmap.h: Move to ...
21442         * sysdeps/sh/linkmap.h: ...here.
21443         * sysdeps/x86/bits/linkmap.h: Move to ...
21444         * sysdeps/x86/linkmap.h: ...here.
21445         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21447 2015-09-04  Andreas Schwab  <schwab@suse.de>
21449         [BZ #18635]
21450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21451         (__makecontext): Terminate FDE before return label.
21452         (__novec_makecontext): Likewise.
21454 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21456         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21457         first member of struct sv in syscall macro.
21459 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21461         [BZ #14912]
21462         * bits/stdio-lock.h: Move to ...
21463         * sysdeps/generic/stdio-lock.h: ...here.
21464         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21465         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21466         * sysdeps/nptl/stdio-lock.h: ...here.
21467         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21468         * include/libio.h: Include <stdio-lock.h> instead of
21469         <bits/stdio-lock.h>.
21470         * sysdeps/nptl/fork.c: Likewise.
21471         * sysdeps/pthread/flockfile.c: Likewise.
21472         * sysdeps/pthread/ftrylockfile.c: Likewise.
21473         * sysdeps/pthread/funlockfile.c: Likewise.
21475         [BZ #14912]
21476         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21477         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21478         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21479         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21480         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21481         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21482         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21484 2015-09-03  Roland McGrath  <roland@hack.frob.com>
21486         * elf/Makefile (test-xfail-tst-protected1a): New variable.
21487         (test-xfail-tst-protected1b): New variable.
21489 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
21491         [BZ #14912]
21492         * bits/libc-tsd.h: Move to ...
21493         * sysdeps/generic/libc-tsd.h: ...here.
21494         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21495         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21496         * sysdeps/mach/hurd/libc-tsd.h: ...here.
21497         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21498         * include/ctype.h: Include <libc-tsd.h> instead of
21499         <bits/libc-tsd.h>.
21500         * include/rpc/rpc.h: Likewise.
21501         * locale/localeinfo.h: Likewise.
21502         * sunrpc/rpc_thread.c: Likewise.
21503         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21504         * sysdeps/nptl/malloc-machine.h: Likewise.
21506         * Makefile (headers): Remove bits/libc-lock.h.
21507         * libio/Makefile (headers): Remove bits/stdio-lock.h.
21509         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21510         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21511         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21512         <bits/stdio-lock.h>.
21513         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21514         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21516 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21518         [BZ #18757]
21519         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21520         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21521         BZ #18757.
21523 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21525         * malloc/mtrace.pl: Filter out NULL entries.
21527 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
21529         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21530         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21531         macro.
21533         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21534         (TCP_CC_INFO): Likewise.
21535         (TCP_SAVE_SYN): Likewise.
21536         (TCP_SAVED_SYN): Likewise.
21538 2015-08-31  Brett Neumeier <brett@neumeier.us>
21540         [BZ #18870]
21541         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21543 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
21545         [BZ #18873]
21546         Fix broken overflow check in posix_fallocate
21547         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21548         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21549         Fix parenthesization typo.
21551 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
21553         [BZ #18887]
21554         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21555         tst-mntent-blank-passno.
21556         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21557         * misc/tst-mntent-blank-corrupt.c: New test.
21558         * misc/tst-mntent-blank-passno.c: New test ripped from ...
21559         * misc/tst-mntent.c (do_test): ... here.
21561 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
21563         [BZ #4404]
21564         * po/de.po: Fix SIGALRM typo.
21566 2015-08-28  James Perkins  <james@loowit.net>
21568         * time/tst-strptime2.c (tests): Replace short list of test
21569         strings for strptime %z specifier with code which exhaustively
21570         tests every combination of sign and 0 to 5 digits. Tests for
21571         rejection of invalid strings.
21573 2015-08-28  James Perkins  <james@loowit.net>
21575         [BZ #16141]
21576         * time/strptime_l.c (__strptime_internal): Fix %z minutes
21577         calculation, removing incorrect decimal time rounding, so that
21578         all minute values result in a valid seconds value.
21579         * time/strptime_l.c (__strptime_internal): Extend %z time zone
21580         offset range limits to UTC-99:59 through UTC+99:59 to parse
21581         current and historical use cases.
21582         * time/tst-strptime2.c (tests): Modify and add tests for the
21583         strptime %z input field descriptor, specifically conversion of
21584         minutes to seconds and validating an offset range of -9959 to
21585         +9959.
21587 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21588             Dmitry V. Levin  <ldv@altlinux.org>
21590         [BZ #18877]
21591         * posix/Makefile (tests): Add tst-mmap-offset.
21592         * posix/tst-mmap.c: New file.
21593         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21594         offset calculation for negative values.
21596 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21598         * sysdeps/i386/init-arch.h: New file.
21599         * sysdeps/i386/i586/init-arch.h: Likewise.
21600         * sysdeps/i386/i686/init-arch.h: Likewise.
21601         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21602         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
21603         * sysdeps/x86/cpu-features.h (bit_I586): New.
21604         (bit_I686): Likewise.
21605         (bit_CX8): Likewise.
21606         (bit_CMOV): Likewise.
21607         (index_CX8): Likewise.
21608         (index_CMOV): Likewise.
21609         (index_I586): Likewise.
21610         (index_I686): Likewise.
21611         (reg_CX8): Likewise.
21612         (reg_CMOV): Likewise.
21613         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21614         available at compile-time.
21615         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21616         available at compile-time.
21617         * sysdeps/x86/init-arch.h (USE_I586): New macro.
21618         (USE_I686): Likewise.
21620 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21622         * sysdeps/i386/bcopy.S: New file.
21623         * sysdeps/i386/bzero.S: Likewise.
21624         * sysdeps/i386/memcpy.S: Likewise.
21625         * sysdeps/i386/memmove.S: Likewise.
21626         * sysdeps/i386/mempcpy.S: Likewise.
21627         * sysdeps/i386/memset.S: Likewise.
21628         * sysdeps/i386/bzero.c: Removed.
21629         * sysdeps/i386/memset.c: Likewise.
21630         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21631         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21632         * sysdeps/i386/i586/memset_chk.S: Likewise.
21633         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21634         * sysdeps/i386/memcpy_chk.S: Here.
21635         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21636         * sysdeps/i386/memmove_chk.S: Here.
21637         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21638         * sysdeps/i386/mempcpy_chk.S: Likewise.
21639         * sysdeps/i386/i686/memset_chk.S: Moved to ...
21640         * sysdeps/i386/memset_chk.S: Likewise.
21642 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
21644         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21645         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21646         file, move DIAG_POP_NEEDS_COMMENT to end of file.
21647         * soft-fp/fmadf4.c: Ditto.
21648         * soft-fp/fmatf4.c: Ditto.
21650 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21652         * sysdeps/i386/i586/Implies: Removed.
21653         * sysdeps/i386/i686/Implies: Likewise.
21655 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21657         * sysdeps/i386/i486/strlen.S: Moved to ...
21658         * sysdeps/i386/strlen.S: Here.
21660 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21662         * sysdeps/i386/i486/strcat.S: Moved to ...
21663         * sysdeps/i386/strcat.S: Here.
21665 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21667         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21668         * sysdeps/i386/pthread_spin_trylock.S: Here.
21669         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21670         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21672 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21674         * sysdeps/i386/i486/string-inlines.c: Moved to ...
21675         * sysdeps/i386/string-inlines.c: Here.
21677 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21679         * sysdeps/i386/i486/htonl.S: Moved ...
21680         * sysdeps/i386/htonl.S: here.
21682 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21684         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21685         * sysdeps/i386/bits/atomic.h: Here.
21687 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21689         * sysdeps/i386/i486/Versions: Removed.
21691 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21693         [BZ #2898]
21694         * misc/mktemp.c: Add mkdtemp to the link_warning message.
21695         Based on patch by Aurelien Jarno.
21697 2015-08-26  Stan Shebs  <stanshebs@google.com>
21699         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21700         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21702 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21704         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21705         * sysdeps/powerpc/dl-procinfo.c:
21706         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21707         feature so it shows when LD_SHOW_AUXV=1.
21709 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21711         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21712         (__arch_compare_and_exchange_val_32_acq): Remove and use common
21713         definition.  ISA 2.07B no longer requires full sync.
21715 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
21717         [BZ #18863]
21718         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21719         (si_call_addr): Define.
21720         (si_syscall): Define.
21721         (si_arch): Define.
21723 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21725         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21726         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21727         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21728         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21729         (__memset_zero_constant_len_parameter): New.
21730         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21731         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21732         (__memset_zero_constant_len_parameter): Don't define if
21733         __memset_chk or USE_AS_BZERO are defined.
21735         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21736         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21737         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21739         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21740         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21741         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21742         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
21743         comments.
21744         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21745         -mno-mmx for $(all-rtld-routines).
21746         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21747         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
21748         i386.
21750 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21752         * sysdeps/generic/unwind.h
21753         (_Unwind_Word): Use __mode__(__unwind_word__)
21754         instead of __mode__(__word__).
21755         (_Unwind_Sword): Likewise.
21757         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21758         (MAX_NEEDED_INPUT): New define.
21759         (MAX_NEEDED_OUTPUT): New define.
21761         * NEWS: New item for IBM z13 string optimizations.
21763         * sysdeps/s390/multiarch/memrchr-c.c: New File.
21764         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21765         * sysdeps/s390/multiarch/memrchr.c: Likewise.
21766         * sysdeps/s390/multiarch/Makefile
21767         (sysdep_routines): Add memrchr functions.
21768         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21769         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21771         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21772         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21773         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21774         * sysdeps/s390/multiarch/Makefile
21775         (sysdep_routines): Add wmemcmp functions.
21776         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21777         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21778         * benchtests/bench-wmemcmp.c: New File.
21779         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21781         * sysdeps/s390/multiarch/wmemset-c.c: New File.
21782         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21783         * sysdeps/s390/multiarch/wmemset.c: Likewise.
21784         * sysdeps/s390/multiarch/Makefile
21785         (sysdep_routines): Add wmemset functions.
21786         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21787         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21788         * wcsmbs/wmemset.c: Use WMEMSET if defined.
21789         * string/test-memset.c: Add wmemset support.
21790         * wcsmbs/test-wmemset.c: New File.
21791         * wcsmbs/Makefile (strop-tests): Add wmemset.
21792         * benchtests/bench-memset.c: Add wmemset support.
21793         * benchtests/bench-wmemset.c: New File.
21794         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21796         * sysdeps/s390/multiarch/memccpy-c.c: New File.
21797         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21798         * sysdeps/s390/multiarch/memccpy.c: Likewise.
21799         * sysdeps/s390/multiarch/Makefile
21800         (sysdep_routines): Add memccpy functions.
21801         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21802         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21803         * string/memccpy.c: Use MEMCCPY if defined.
21805         * sysdeps/s390/multiarch/memchr-vx.S: New File.
21806         * sysdeps/s390/multiarch/memchr.c: Likewise.
21807         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21808         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21809         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21810         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21811         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21812         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21813         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21814         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21815         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21816         and rawmemchr functions.
21817         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21818         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21819         and wmemchr.
21820         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21821         * string/test-memchr.c: Add wmemchr support.
21822         * wcsmbs/test-wmemchr.c: New File.
21823         * wcsmbs/Makefile (strop-tests): Add wmemchr.
21824         * benchtests/bench-memchr.c: Add wmemchr support.
21825         * benchtests/bench-wmemchr.c: New File.
21826         * benchtests/Makefile (wcsmbs-bench): wmemchr.
21828         * sysdeps/s390/multiarch/strcspn-c.c: New File.
21829         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21830         * sysdeps/s390/multiarch/strcspn.c: Likewise.
21831         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21832         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21833         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21835         wcscspn functions.
21836         * sysdeps/s390/multiarch/ifunc-impl-list.c
21837         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21838         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21839         * string/test-strcspn.c: Add wcscspn support.
21840         * wcsmbs/test-wcscspn.c: New File.
21841         * wcsmbs/Makefile (strop-tests): Add wcscspn.
21842         * benchtests/bench-strcspn.c: Add wcscspn support.
21843         * benchtests/bench-wcscspn.c: New File.
21844         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21846         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21847         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21848         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21849         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21850         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21851         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21852         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21853         wcspbrk functions.
21854         * sysdeps/s390/multiarch/ifunc-impl-list.c
21855         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21856         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21857         * string/test-strpbrk.c: Add wcspbrk support.
21858         * wcsmbs/test-wcspbrk.c: New File.
21859         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21860         * benchtests/bench-strpbrk.c: Add wcspbrk support.
21861         * benchtests/bench-wcspbrk.c: New File.
21862         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21864         * sysdeps/s390/multiarch/strspn-c.c: New File.
21865         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21866         * sysdeps/s390/multiarch/strspn.c: Likewise.
21867         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21868         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21869         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21870         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21871         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21872         wcsspn functions.
21873         * sysdeps/s390/multiarch/ifunc-impl-list.c
21874         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21875         * string/test-strspn.c: Add wcsspn support.
21876         * wcsmbs/test-wcsspn.c: New File.
21877         * wcsmbs/Makefile (strop-tests): Add wcsspn.
21878         * benchtests/bench-strspn.c: Add wcsspn support.
21879         * benchtests/bench-wcsspn.c: New File.
21880         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21882         * sysdeps/s390/multiarch/strrchr-c.c: New File.
21883         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21884         * sysdeps/s390/multiarch/strrchr.c: Likewise.
21885         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21886         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21887         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21888         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21889         wcsrchr functions.
21890         * sysdeps/s390/multiarch/ifunc-impl-list.c
21891         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21892         * benchtests/bench-wcsrchr.c: New File.
21893         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21895         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21896         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21897         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21898         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21899         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21900         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21901         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21902         wcschrnul functions.
21903         * sysdeps/s390/multiarch/ifunc-impl-list.c
21904         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21905         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21906         * string/test-strchr.c: Add wcschrnul support.
21907         * wcsmbs/test-wcschrnul.c: New File.
21908         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21909         * benchtests/bench-strchr.c: Add wcschrnul support.
21910         * benchtests/bench-wcschrnul.c: New File.
21911         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21913         * sysdeps/s390/multiarch/strchr-c.c: New File.
21914         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21915         * sysdeps/s390/multiarch/strchr.c: Likewise.
21916         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21917         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21918         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21919         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21920         wcschr functions.
21921         * sysdeps/s390/multiarch/ifunc-impl-list.c
21922         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21923         * string/strchr.c (STRCHR): Define and use macro.
21924         * benchtests/bench-wcschr.c: New File.
21925         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21927         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21928         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21929         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21930         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21931         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21932         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21933         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21934         wcsncmp functions.
21935         * sysdeps/s390/multiarch/ifunc-impl-list.c
21936         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21937         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21938         * benchtests/bench-strncmp.c: Add wcsncmp support.
21939         * benchtests/bench-wcsncmp.c: New File.
21940         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21942         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21943         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21944         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21945         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21946         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21947         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21948         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21949         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21950         wcscmp functions.
21951         * sysdeps/s390/multiarch/ifunc-impl-list.c
21952         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21953         * string/strcmp.c (STRCMP): Define and use macro.
21954         * benchtests/bench-wcscmp.c: New File.
21955         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21956         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21957         instead of _HAVE_STRING_ARCH_memchr.
21959         * sysdeps/s390/multiarch/strncat-c.c: New File.
21960         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21961         * sysdeps/s390/multiarch/strncat.c: Likewise.
21962         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21963         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21964         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21965         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21966         wcsncat functions.
21967         * sysdeps/s390/multiarch/ifunc-impl-list.c
21968         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21969         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21970         * string/test-strncat.c: Add wcsncat support.
21971         * wcsmbs/test-wcsncat.c: New File.
21972         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21973         * benchtests/bench-strncat.c: Add wcsncat support.
21974         * benchtests/bench-wcsncat.c: New File.
21975         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21977         * sysdeps/s390/multiarch/strcat-c.c: New File.
21978         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21979         * sysdeps/s390/multiarch/strcat.c: Likewise.
21980         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21981         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21982         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21984         wcscat functions.
21985         * sysdeps/s390/multiarch/ifunc-impl-list.c
21986         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21987         * string/strcat.c (STRCAT): Define and use macro.
21988         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21989         * string/test-strcat.c: Add wcscat support.
21990         * wcsmbs/test-wcscat.c: New File.
21991         * wcsmbs/Makefile (strop-tests): Add wcscat.
21992         * benchtests/bench-strcat.c: Add wcscat support.
21993         * benchtests/bench-wcscat.c: New File.
21994         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21996         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21997         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21998         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21999         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
22000         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
22001         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
22002         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
22003         wcpncpy functions.
22004         * sysdeps/s390/multiarch/ifunc-impl-list.c
22005         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
22006         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
22007         * string/test-stpncpy.c: Add wcpncpy support.
22008         * wcsmbs/test-wcpncpy.c: New File.
22009         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
22010         * benchtests/bench-stpncpy.c: Add wcpncpy support.
22011         * benchtests/bench-wcpncpy.c: New File.
22012         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
22014         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
22015         * sysdeps/s390/multiarch/strncpy.c: Likewise.
22016         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
22017         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
22018         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
22019         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
22020         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
22021         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
22022         wcsncpy functions.
22023         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
22024         * sysdeps/s390/multiarch/ifunc-impl-list.c
22025         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
22026         * string/test-strncpy.c: Add wcsncpy support.
22027         * wcsmbs/test-wcsncpy.c: New File.
22028         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
22029         * benchtests/bench-strncpy.c: Add wcsncpy support.
22030         * benchtests/bench-wcsncpy.c: New File.
22031         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
22033         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
22034         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
22035         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
22036         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
22037         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
22038         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
22039         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
22040         wcpcpy functions.
22041         * string/stpcpy.c: Use STPCPY if defined.
22042         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
22043         * sysdeps/s390/multiarch/ifunc-impl-list.c
22044         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
22045         * string/test-stpcpy.c: Add wcpcpy support.
22046         * wcsmbs/test-wcpcpy.c: New File.
22047         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
22048         * benchtests/bench-stpcpy.c: Add wcpcpy support.
22049         * benchtests/bench-wcpcpy.c: New File.
22050         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
22052         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
22053         * sysdeps/s390/multiarch/strcpy.c: Likewise.
22054         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
22055         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
22056         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
22057         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
22058         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
22059         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
22060         wcscpy functions.
22061         * sysdeps/s390/multiarch/ifunc-impl-list.c
22062         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
22063         * benchtests/bench-wcscpy.c: New File.
22064         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
22066         * sysdeps/s390/multiarch/strnlen-c.c: New File.
22067         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
22068         * sysdeps/s390/multiarch/strnlen.c: Likewise.
22069         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
22070         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
22071         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
22072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
22073         wcsnlen functions.
22074         * sysdeps/s390/multiarch/ifunc-impl-list.c
22075         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
22076         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
22077         * string/test-strnlen.c: Add wcsnlen support.
22078         * wcsmbs/test-wcsnlen.c: New File.
22079         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
22080         * benchtests/bench-strnlen.c: Add wcsnlen support.
22081         * benchtests/bench-wcsnlen.c: New File.
22082         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
22084         * sysdeps/s390/multiarch/Makefile: New File.
22085         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
22086         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
22087         * sysdeps/s390/multiarch/strlen.c: Likewise.
22088         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
22089         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
22090         * sysdeps/s390/multiarch/wcslen.c: Likewise.
22091         * string/strlen.c (STRLEN): Define and use macro.
22092         * sysdeps/s390/multiarch/ifunc-impl-list.c
22093         (IFUNC_VX_IMPL): New macro function.
22094         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
22095         * benchtests/Makefile (wcsmbs-bench): New variable.
22096         (string-bench-all): Added wcsmbs-bench.
22097         * benchtests/bench-wcslen.c: New File.
22099         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
22100         s390_vx_libc_ifunc2): New macro function.
22102         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
22103         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
22104         assembler support.
22105         * sysdeps/s390/configure: Regenerated.
22107         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
22108         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
22110         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
22111         * sysdeps/s390/dl-procinfo.h: Add vector capability.
22112         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22114         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22115         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22117         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22118         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22119         (memcmp, bcmp): Use __memcmp_default as alias source.
22120         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22121         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22122         Rename to __memcmp_default.
22123         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22124         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22125         (memcpy): Use __memcpy_default as alias source.
22126         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22127         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22128         Rename to __memcpy_default.
22129         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22130         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22131         (memset): Use __memset_default as alias source.
22132         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22133         * sysdeps/s390/s390-32/memset.S (__memset_g5):
22134         Rename to __memset_default.
22135         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22136         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22137         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22138         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22139         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22140         (memcmp, bcmp): Use __memcmp_default as alias source.
22141         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22142         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22143         Rename to __memcmp_default.
22144         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22145         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22146         (memcpy): Use __memcpy_default as alias source.
22147         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22148         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22149         Rename to __memcpy_default.
22150         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22151         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22152         (memset): Use __memset_default as alias source.
22153         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22154         * sysdeps/s390/s390-64/memset.S (__memset_z900):
22155         Rename to __memset_default.
22156         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22157         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22159         [BZ #18610]
22160         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22161         __ieee_instruction_pointer to __unused.
22162         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22163         __ieee_instruction_pointer.
22164         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22165         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22166         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22167         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22168         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22169         Mark dxc-field as reserved.
22171 2015-08-25  Roland McGrath  <roland@hack.frob.com>
22173         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22174         if the weak reference is not null.
22176 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22178         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22180         [BZ #11214]
22181         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22183 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22185         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22186         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22187         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22188         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22189         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22190         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22191         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22192         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22193         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22194         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22195         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22196         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22197         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22198         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22199         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22200         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22201         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22202         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22204 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22206         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22207         register other than r0 for tabort, it has special meaning.
22208         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22209         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22210         transaction before starting syscall.
22212 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22214         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22216 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22218         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22220         * sysdeps/x86_64/rtld-memcmp.c: Removed.
22221         * sysdeps/x86_64/rtld-memset.S: Likewise.
22222         * sysdeps/x86_64/rtld-strchr.S: Likewise.
22223         * sysdeps/x86_64/rtld-strlen.S: Likewise.
22224         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22225         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22227         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22229 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
22231         * debug/strcpy_chk.c: Improve performance.
22232         * debug/stpcpy_chk.c: Likewise.
22233         * sysdeps/x86_64/strcpy_chk.S: Remove.
22234         * sysdeps/x86_64/stpcpy_chk.S: Remove.
22236         [BZ #18240]
22237         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22239 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22241         [BZ #15128]
22242         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22243         ifuncmain8.
22244         (modules-names): Add ifuncmod8.
22245         ($(objpfx)ifuncmain8): New rule.
22246         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22247         <cpuid.h>.
22248         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22249         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22250         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22251         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22252         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22253         * sysdeps/x86_64/dl-trampoline.h: Likewise.
22254         * sysdeps/x86_64/ifuncmain8.c: New file.
22255         * sysdeps/x86_64/ifuncmod8.c: Likewise.
22256         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22257         Removed.
22258         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22259         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22260         Change rtld_savespace_sse to __glibc_unused2.
22261         (RTLD_CHECK_FOREIGN_CALL): Removed.
22262         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22263         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22264         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22266 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22268         * sysdeps/aarch64/bzero.S (__bzero): Remove.
22270 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22272         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22273         Unconditionally set __fpcr to avoid uninialized warning.
22274         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22276 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22278         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22279         is corrupt.
22281         * malloc/arena.c (arena_get2): Drop unused argument.
22282         (arena_lock): Adjust.
22283         (arena_get_retry): Likewise.
22285 2015-08-24  Andreas Schwab  <schwab@suse.de>
22287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22288         Don't define.
22289         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22290         (__ASSUME_IPC64): Don't undef.
22291         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22292         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22293         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22294         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22295         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22296         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22297         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22298         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22299         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22300         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22301         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22302         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22303         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22304         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22305         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22306         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22307         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22308         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22309         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22310         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22311         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22313 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
22315         * manual/Makefile (install): Only build manual when perl is available.
22317 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22319         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22320         '#undef memcpy' by '#undef memchr'.
22322 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22324         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22325         memchr not point to the internal __GI_memchr implementation.
22327 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22329         * timezone/Makefile (CFLAGS-zdump.c): Remove
22330         -Wno-strict-prototypes.
22331         (CFLAGS-zic.c): Likewise.
22332         (CFLAGS-ialloc.c): Likewise.
22333         (CFLAGS-scheck.c): Likewise.
22335         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22336         -Wno-error=undef.
22338 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22340         * i386/i686/multiarch/strcasestr-c.c: Removed.
22341         * x86_64/multiarch/strcasestr.c: Likewise.
22342         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22343         Remove strcasestr.
22345 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22347         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22349         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22350         variables for high and low parts before possibly modifying them.
22352 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22354         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22355         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22356         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22357         of "multiarch/init-arch.h".
22358         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22359         * sysdeps/x86/init-arch.h: This.
22361 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22363         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22364         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22366 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
22368         [BZ #17787]
22369         * manual/macros.texi: Add twoexp macro.
22370         * manual/filesys.texi: Fix exponents.
22371         * manual/llio.texi: Likewise.
22372         * manual/stdio.texi: Likewise.
22374 2015-08-20  Florian Weimer  <fweimer@redhat.com>
22376         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22377         incorrect use.
22379 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22381         [BZ #18370]
22382         * math/s_csqrt.c (__csqrt): Force underflow exception for results
22383         whose real or imaginary part has small absolute value.
22384         * math/s_csqrtf.c (__csqrtf): Likewise.
22385         * math/s_csqrtl.c (__csqrtl): Likewise.
22386         * math/auto-libm-test-in: Add more tests of csqrt.
22387         * math/auto-libm-test-out: Regenerated.
22388         * sysdeps/i386/fpu/libm-test-ulps: Update.
22390 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22392         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22393         __ppc_set_ppr_very_low): New functions.
22394         * manual/platform.texi: Add documentation about
22395         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22397 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
22399         * string/stpncpy.c (stpncpy): Improve performance using
22400         __strnlen/memcpy/memset.
22402 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22404         [BZ #18796]
22405         * scripts/test-installation.pl: Don't add -lmvec to build options if
22406         libmvec wasn't built.
22408 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22410         [BZ #14341]
22411         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22412         case when there is a gap between DT_REL and DT_JMPREL sections.
22413         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22414         (LDFLAGS-tst-split-dynreloc): New.
22415         (tst-split-dynreloc-ENV): Likewise.
22416         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22417         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22419 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22421         [BZ #18822]
22422         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22423         attribute_hidden.
22424         (__xstat64_conv): Likewise.
22425         (__xstat32_conv): Likewise.
22427 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22429         [BZ #18822]
22430         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22431         Don't load %ebx when calling __setcontext.  Call __setcontext
22432         with HIDDEN_JUMPTARGET.
22433         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22434         libc_hidden_def.
22436 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22438         * sysdeps/i386/i686/Makefile
22439         [$(subdir) == string] (sysdep_routines): Moved to ...
22440         * sysdeps/i386/Makefile: Here.
22441         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22442         * sysdeps/i386/cacheinfo.c: Here.
22443         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22444         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22445         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22446         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22448 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22450         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22451         __i586__ is defined.
22452         (HAS_I686): Defined to 1 if __i686__ is defined.
22454 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22456         * elf/Makefile [$(have-z-execstack) = yes]
22457         (CPPFLAGS-tst-execstack.c): New variable.
22459         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22460         conditional to [defined UTMPX || _HAVE_UT_TYPE].
22461         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22462         UTMPX || _HAVE_UT_TV].
22463         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22464         UTMPX || _HAVE_UT_TV - 0].
22466 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
22468         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22469         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22470         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22472 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22474         * sysdeps/powerpc/dl-procinfo.c:
22475         (_dl_powerpc_cap_flags): Added missing strings for some
22476         hwcap features.
22477         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22479 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
22481         Port the 0x7efe...feff pattern to GCC 6.
22482         See Steve Ellcey's bug report in:
22483         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22484         * string/memrchr.c (MEMRCHR):
22485         * string/rawmemchr.c (RAWMEMCHR):
22486         * string/strchr.c (strchr):
22487         * string/strchrnul.c (STRCHRNUL):
22488         Rewrite code to avoid issues with signed shift overflow.
22490 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
22492         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22493         whether cpuid is available only if HAS_CPUID is 0.
22494         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22495         (HAS_I586): Likewise.
22496         (HAS_I686): Likewise.
22498 2015-08-18  Zack Weinberg  <zackw@panix.com>
22500         * misc/Versions (libc): Add GLIBC_2.23.
22502 2015-08-18  Alan Modra  <amodra@gmail.com>
22504         [BZ #18421]
22505         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22506         .Lp__global.
22507         (_start): Load %dp via .Lp__global.
22508         [!SHARED]: Use .section .rodata.
22510 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22512         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22513         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22515 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22517         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22518         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22520 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22522         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22523         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22525 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22527         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22528         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22530 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22532         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22533         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22535 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22537         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22538         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22540 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22542         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22544 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22546         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22547         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
22548         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22549         (__ASSUME_LWS_CAS): Delete.
22551 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22553         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22554         * sysdeps/hppa/configure: Regenerated.
22555         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22556         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22557         * sysdeps/hppa/nptl/tls.h: Likewise.
22559 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
22561         [BZ #18823]
22562         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22563         for scaling up small arguments.
22564         * math/s_csqrtf.c (__csqrtf): Likewise.
22565         * math/s_csqrtl.c (__csqrtl): Likewise.
22566         * math/auto-libm-test-in: Add more tests of csqrt.
22567         * math/auto-libm-test-out: Regenerated.
22569 2015-08-17  Andreas Schwab  <schwab@suse.de>
22571         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22572         version set GLIBC_2.19.
22574 2015-08-16  Zack Weinberg  <zackw@panix.com>
22576         [BZ #18681]
22577         * misc/regexp.h: This interface is no longer supported.
22578         Remove all contents, leaving only an #error directive.
22579         * misc/regexp.c (loc1, loc2, locs, step, advance):
22580         Demote to compatibility symbols.
22582 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
22584         [BZ #18084]
22585         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22586         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22587         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22588         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22589         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22590         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22591         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22592         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22593         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22595 2015-08-15  Zack Weinberg  <zackw@panix.com>
22597         [BZ #18795]
22598         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22599         buffer length is known to be too large, not if it's known to be
22600         small enough.
22601         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22602         overflow at runtime, involving a length parameter, twice: once
22603         with a compile-time constant length parameter, once without.
22605 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
22607         [BZ #18824]
22608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22609         scaling x * y up instead of down.
22610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22611         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22612         * math/auto-libm-test-in: Add more tests of fma.
22613         * math/auto-libm-test-out: Regenerated.
22615 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22617         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22619 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22621         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22622         unnecessary movq.
22623         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22624         Likewise.
22626 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
22628         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22629         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22630         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22631         and tgamma.
22632         * math/auto-libm-test-out: Regenerated.
22633         * sysdeps/i386/fpu/libm-test-ulps: Update.
22634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22636         [BZ #16520]
22637         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22638         (__tanh): Force underflow exception for arguments with small
22639         absolute value.
22640         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22641         (__tanhf): Force underflow exception for arguments with small
22642         absolute value.
22643         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22644         (__tanhl): Force underflow exception for arguments with small
22645         absolute value.
22646         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22647         (__tanhl): Force underflow exception for arguments with small
22648         absolute value.
22649         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22650         (__tanhl): Force underflow exception for arguments with small
22651         absolute value.
22652         * math/auto-libm-test-in: Add more tests of tanh.
22653         * math/auto-libm-test-out: Regenerated.
22654         * sysdeps/i386/fpu/libm-test-ulps: Update.
22656 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22658         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22659         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22661 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22663         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22664         <cpuid.h>.
22666 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22668         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22669         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22671 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22673         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22674         Remove $(objpfx)init-arch.o.
22675         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22676         init-arch.
22677         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22678         (INIT_ARCH_EXT): Defined as empty.
22679         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22681         __init_cpu_features call.  Replace HAS_XXX with
22682         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22684         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22685         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22686         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22687         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22688         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22689         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22690         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22691         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22692         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22693         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22694         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22695         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22696         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22697         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22698         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22699         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22700         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22701         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22702         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22703         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22704         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22705         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22707         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22708         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22709         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22710         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22711         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22712         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22713         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22714         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22715         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22716         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22717         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22719 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22721         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22722         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22723         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22724         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22725         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22726         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22727         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22728         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22729         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22730         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22731         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22732         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
22733         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22734         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22735         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22736         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22737         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22738         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22739         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22740         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22741         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22742         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22743         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22744         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22745         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22746         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22747         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22748         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22749         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22750         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22751         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22752         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22753         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22754         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22755         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22756         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22757         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22758         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22759         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22760         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22761         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22762         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22763         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22765 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22767         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22768         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22769         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22770         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22771         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22772         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22773         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22774         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22775         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22776         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22777         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22778         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22779         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22780         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22781         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22782         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22783         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22784         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22785         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22786         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22788         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22789         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22790         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22791         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22792         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22793         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22794         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
22795         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22796         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22797         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22798         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22799         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22800         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22801         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22802         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22803         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22804         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22805         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22806         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22807         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22808         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22809         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22811 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22813         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22814         (dl_platform_init): Call init_cpu_features.
22815         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22816         * sysdeps/i386/i686/cacheinfo.c
22817         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22818         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22819         * sysdeps/i386/i686/multiarch/Versions: Removed.
22820         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22821         Removed.
22822         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22823         * sysdeps/unix/sysv/linux/x86/Makefile
22824         (libpthread-sysdep_routines): Remove init-arch.
22825         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22826         <sysdeps/x86_64/dl-procinfo.c> instead of
22827         sysdeps/generic/dl-procinfo.c>.
22828         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22829         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22830         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22831         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22832         [$(subdir) == elf] (tests-static): Add
22833         tst-get-cpu-features-static.
22834         * sysdeps/x86/Versions: New file.
22835         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22836         * sysdeps/x86/cpu-features.c: Likewise.
22837         * sysdeps/x86/cpu-features.h: Likewise.
22838         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22839         * sysdeps/x86/libc-start.c: Likewise.
22840         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22841         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22842         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22843         * sysdeps/x86_64/dl-procinfo.c: Likewise.
22844         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22845         Assume USE_MULTIARCH is defined and don't check it.
22846         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22847         (is_amd): Likewise.
22848         (max_cpuid): Likewise.
22849         (intel_check_word): Likewise.
22850         (__cache_sysconf): Don't call __init_cpu_features.
22851         (__x86_preferred_memory_instruction): Removed.
22852         (init_cacheinfo): Don't call __init_cpu_features. Replace
22853         __cpu_features with GLRO(dl_x86_cpu_features).
22854         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22855         (dl_platform_init): Call init_cpu_features.
22856         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22857         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22858         * sysdeps/x86_64/multiarch/Versions: Removed.
22859         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22860         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22861         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22862         Removed.
22863         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22865 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22867         [BZ #18820]
22868         * libio/Makefile (test-fmemopen-mem): New test.
22869         * libio/test-fmemopen.c (do_bz18820): New test.
22870         * libio/fmemopen.c (__fmemopen): Fix memory leak.
22871         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22873 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22875         [BZ #16734]
22876         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22877         (FREE_BUF): Delete.
22878         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22879         * libio/genops.c (_IO_setb): Use malloc and free directly.
22880         (_IO_default_doallocate, _IO_default_finish): Likewise.
22881         ( _IO_unbuffer_all): Likewise.
22882         ( libc_freeres_fn): Likewise.
22883         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22884         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22885         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22886         (_IO_wdefault_doallocate): Likewise.
22888 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22890         [BZ #18086]
22891         * sysdeps/posix/nice.c (nice): Restore old errno.
22892         * posix/tst-nice.c (do_test): Add test for BZ #18086.
22894 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
22896         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22898 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22900         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22901         __bcopy and add a weak_alias to bcopy.
22902         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22903         for static build.
22905         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22906         cleanup macro usage.
22907         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22909         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22910         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22911         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22912         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22913         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22914         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22915         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22916         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22917         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22918         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22919         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22920         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22921         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22922         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22923         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22924         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22925         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22927         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22928         libc_hidden_def.
22929         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22931         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22932         (sysdep_routines): Add strstr-ppc64.
22933         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22935 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22937         [BZ #18778]
22938         * elf/Makefile (tests): Add Add tst-nodelete2.
22939         (modules-names): Add tst-nodelete2mod.
22940         (tst-nodelete2mod.so-no-z-defs): New.
22941         ($(objpfx)tst-nodelete2): Likewise.
22942         ($(objpfx)tst-nodelete2.out): Likewise.
22943         (LDFLAGS-tst-nodelete2): Likewise.
22944         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22945         out of loop through all loaded libraries.
22946         * elf/tst-nodelete2.c: New file.
22947         * elf/tst-nodelete2mod.c: Likewise.
22948         * elf/tst-znodelete-zlib.cc: Delete.
22950 2015-08-11  Andreas Schwab  <schwab@suse.de>
22952         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22953         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22954         (__openat64_nocancel): Likewise.
22956 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22958         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22959         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22960         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22961         * math/auto-libm-test-out: Regenerated.
22962         * sysdeps/i386/fpu/libm-test-ulps: Update.
22963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22965 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22967         [BZ #18790]
22968         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22969         threshold for returning +/- 1.
22970         * math/auto-libm-test-in: Add more tests of tanh.
22971         * math/auto-libm-test-out: Regenerated.
22972         * sysdeps/i386/fpu/libm-test-ulps: Update.
22974 2015-08-10  Andreas Schwab  <schwab@suse.de>
22976         [BZ #18781]
22977         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22978         MORE_OFLAGS to oflag.
22979         * io/test-lfs.c (do_test): Test openat64.
22981 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22983         [BZ #18789]
22984         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22985         smaller threshold for returning the argument.
22986         * math/auto-libm-test-in: Add more tests of sinh.
22987         * math/auto-libm-test-out: Regenerated.
22988         * sysdeps/i386/fpu/libm-test-ulps: Update.
22990 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22992         [BZ #18674]
22993         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22994         break.
22996 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22998         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22999         (generated): Don't add $(addprefix z.,$(tzfiles)).
23001 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
23003         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
23004         * scripts/sysd-rules.awk: Likewise.
23006 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
23008         * iconvdata/tst-tables.sh: Change echo -n to printf.
23009         * nss/db-Makefile: Likewise.
23010         * posix/tst-getconf.sh: Likewise.
23011         * stdio-common/tst-unbputc.sh: Likewise.
23013 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
23015         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
23016         MADV_*_PAGES defines behind this feature check.
23018 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
23020         [BZ #18480]
23021         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
23022         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
23023         Define.
23024         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
23025         LOAD_REGS_5, LOAD_REGS_6): Update.
23026         (INTERNAL_SYSCALL): Update using new LOAD defines.
23027         (INTERNAL_SYSCALL_NCS): Likewise.
23028         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
23030 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23032         [BZ #16734]
23033         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
23035 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23037         [BZ #17905]
23038         * catgets/Makefile (tst-catgets-mem): New test.
23039         * catgets/catgets.c (catopen): Don't use unbounded alloca.
23040         * catgets/open_catalog.c (__open_catalog): Likewise.
23041         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
23043 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
23045         [BZ #18787]
23046         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
23047         clobber registers.
23048         (atomic_compare_and_exchange_val_acq): Use register asms to assign
23049         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
23050         Cast return to __typeof (oldval).
23052 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
23054         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
23055         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
23056         and delete sys/syscall.h include.
23058 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
23060         [BZ #16517]
23061         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
23062         (tan): Force underflow exception for arguments with small absolute
23063         value.
23064         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
23065         (__kernel_tanf): Force underflow exception for arguments with
23066         small absolute value.
23067         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
23068         (__kernel_tanl): Force underflow exception for arguments with
23069         small absolute value.
23070         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
23071         (__kernel_tanl): Force underflow exception for arguments with
23072         small absolute value.
23073         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
23074         (__kernel_tanl): Force underflow exception for arguments with
23075         small absolute value.
23076         * math/auto-libm-test-in: Add more tests of tan.
23077         * math/auto-libm-test-out: Regenerated.
23079 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23081         Fix sysdeps/i386/fpu/s_scalbn.S build
23083         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
23085 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
23087         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23089 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23091         Fix gcrt0.o compilation
23093         When static-start-installed-name is different from
23094         start-installed-name, we must not use the shared objects.
23096         * csu/Makefile
23097         (extra-objs): Add gmon-start.o when building shared library and
23098         $(static-start-installed-name) is different from
23099         $(start-installed-name).
23100         $(objpfx)g$(static-start-installed-name): When building shared
23101         library and $(static-start-installed-name) is different from
23102         $(static-start-installed-name), revert to non-shared rule,
23103         i.e. using $(objpfx)% and gmon-start.o.
23105 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
23107         [BZ #16519]
23108         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
23109         (__ieee754_sinh): Force underflow exception for arguments with
23110         small absolute value.
23111         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
23112         (__ieee754_sinhf): Force underflow exception for arguments with
23113         small absolute value.
23114         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23115         (__ieee754_sinhl): Force underflow exception for arguments with
23116         small absolute value.
23117         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23118         (__ieee754_sinhl): Force underflow exception for arguments with
23119         small absolute value.
23120         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23121         (__ieee754_sinhl): Force underflow exception for arguments with
23122         small absolute value.
23123         * math/auto-libm-test-in: Add more tests of sinh.
23124         * math/auto-libm-test-out: Regenerated.
23125         * sysdeps/i386/fpu/libm-test-ulps: Update.
23127 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23129         * libio/oldfileops.c: Include unistd.h.
23131 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
23133         * stdlib/isomac.c: Include ctype.h.
23135 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
23137         * dirent/tst-seekdir.c (main): Converted to ...
23138         (do_test): ... this.
23139         (TEST_FUNCTION): New macro.
23140         Include test-skeleton.c.
23141         * elf/tst-dlmodcount.c (main): Converted to ...
23142         (do_test): ... this.
23143         (TEST_FUNCTION): New macro.
23144         Include test-skeleton.c.
23145         * elf/tst-order-main.c (main): Converted to ...
23146         (do_test): ... this.
23147         (TEST_FUNCTION): New macro.
23148         Include test-skeleton.c.
23149         * elf/tst-pie2.c (main): Converted to ...
23150         (do_test): ... this.
23151         (TEST_FUNCTION): New macro.
23152         Include test-skeleton.c.
23153         * inet/tst-ether_aton.c (main): Converted to ...
23154         (do_test): ... this.
23155         (TEST_FUNCTION): New macro.
23156         Include test-skeleton.c.
23157         * misc/tst-mntent.c (main): Converted to ...
23158         (do_test): ... this.
23159         (TEST_FUNCTION): New macro.
23160         Include test-skeleton.c.
23161         * misc/tst-tsearch.c (main): Converted to ...
23162         (do_test): ... this.
23163         (TEST_FUNCTION): New macro.
23164         Include test-skeleton.c.
23165         * posix/tst-regexloc.c (main): Converted to ...
23166         (do_test): ... this.
23167         (TEST_FUNCTION): New macro.
23168         Include test-skeleton.c.
23169         * resolv/tst-aton.c (main): Converted to ...
23170         (do_test): ... this.
23171         (TEST_FUNCTION): New macro.
23172         Include test-skeleton.c.
23173         * stdio-common/test-fwrite.c (main): Converted to ...
23174         (do_test): ... this.
23175         (TEST_FUNCTION): New macro.
23176         Include test-skeleton.c.
23177         * stdio-common/tst-ferror.c (main): Converted to ...
23178         (do_test): ... this.
23179         (TEST_FUNCTION): New macro.
23180         Include test-skeleton.c.
23181         * stdio-common/tst-printf.c (main): Converted to ...
23182         (do_test): ... this.
23183         (TEST_FUNCTION): New macro.
23184         Include test-skeleton.c.
23185         * stdio-common/tst-printfsz.c (main): Converted to ...
23186         (do_test): ... this.
23187         (TEST_FUNCTION): New macro.
23188         Include test-skeleton.c.
23189         * stdlib/tst-strtod.c (main): Converted to ...
23190         (do_test): ... this.
23191         (TEST_FUNCTION): New macro.
23192         Include test-skeleton.c.
23193         * string/tst-strlen.c (main): Converted to ...
23194         (do_test): ... this.
23195         (TEST_FUNCTION): New macro.
23196         Include test-skeleton.c.
23197         * string/tst-svc.c (main): Converted to ...
23198         (do_test): ... this.
23199         (TEST_FUNCTION): New macro.
23200         Include test-skeleton.c.
23201         * time/tst-strptime.c (main): Converted to ...
23202         (do_test): ... this.
23203         (TEST_FUNCTION): New macro.
23204         Include test-skeleton.c.
23205         * timezone/tst-timezone.c (main): Converted to ...
23206         (do_test): ... this.
23207         (TEST_FUNCTION): New macro.
23208         Include test-skeleton.c.
23210 2015-08-05  Zack Weinberg  <zackw@panix.com>
23212         * misc/regexp.h: Update comments.
23214 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
23216         [BZ #18635]
23217         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23218         before return label.
23220 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23222         [BZ #18661]
23223         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23224         when calling __errno_location.
23225         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23226         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23228 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23230         [BZ #18661]
23231         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23232         (__lll_timedwait_tid): Align stack to 16 bytes when calling
23233         __gettimeofday.
23235 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23237         [BZ #18661]
23238         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23239         (__start_context): Don't use pop to restore %rdi so that stack
23240         is aligned to 16 bytes when calling __setcontext.
23242 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23244         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23245         only for libc.
23246         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23248 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23250         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23251         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
23252         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23254 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23256         * string/memccpy.c (memccpy):
23257         Improve performance by using memchr/memcpy/__mempcpy.
23259 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23261         * string/strncpy.c (strncpy):
23262         Improve performance by using __strnlen/memcpy.
23264 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23266         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23267         Optimize to avoid an unnecessary FPCR read.
23269 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23271         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23272         Optimize to reduce FPCR/FPSR accesses.
23274 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23276         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23277         dead->data[category] != NULL.
23279 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
23281         [BZ #18647]
23282         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23283         and |x| close to 1, use absolute value of x when computing log.
23284         * math/auto-libm-test-in: Add more tests of pow.
23285         * math/auto-libm-test-out: Regenerated.
23287 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23289         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23290         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23291         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23293 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
23295         [BZ #18525]
23296         * locales/km_KH: Remove timezone definition.
23297         * locales/lo_LA: Likewise.
23298         * locales/my_MM: Likewise.
23299         * locales/nan_TW@latin: Likewise.
23300         * locales/th_TH: Likewise.
23301         * locales/uk_UA: Likewise.
23303 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23305         [BZ #18265]
23306         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23307         (wcsncat): Likewise.
23308         (wcscmp): Likewise.
23309         (wcsncmp): Likewise.
23311 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23313         * test-skeleton.c (usage): New function.
23314         (main): Call usage when opt is '?'.
23316 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23318         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23319         before first use.
23321 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23323         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23324         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
23325         in there too.
23327 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
23329         * version.h (RELEASE): Set to "development".
23330         (VERSION): Set to "2.22.90"
23332         * version.h (RELEASE): Set to "stable".
23333         (VERSION): Set to "2.22"
23334         * include/features.h (__GLIBC_MINOR__): Set to 22.
23336 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
23338         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23339         Restructure macro to avoid "value computed is not used" warning.
23340         (atomic_compare_and_exchange_val_acq): Likewise.
23342 2015-08-04  Andreas Schwab  <schwab@suse.de>
23344         [BZ #18635]
23345         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23346         ret.
23347         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23349 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
23351         * po/pl.po: Updated translation.
23352         * po/uk.po: Likewise.
23353         * po/fi.po: Likewise.
23354         * po/ko.po: Likewise.
23355         * po/ru.po: Likewise.
23356         * po/vi.po: Likewise.
23358 2015-07-31  Zack Weinberg  <zackw@panix.com>
23360         [BZ #18681]
23361         * regexp.h: Add unconditional #warning stating that this header
23362         will be removed soon.  Revise banner comment to match.
23363         (compile): Consistently use ERROR instead of RETURN to report
23364         errors (partial fix for bz#18681).
23365         * regexp.c: Don't include regexp.h. Remove some unnecessary
23366         declarations.
23368 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
23370         * po/libc.pot: Regenerated.
23372 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23374         [BZ #18740]
23375         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23376         float-vlen4-arch-ext-cflags): Removed.
23377         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23378         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23380 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23382         [BZ #14113]
23383         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23384         aligned to __aligned__.
23385         (pthread_cond_t, pthread_rwlock_t): Likewise.
23387 2015-07-30  Torvald Riegel  <triegel@redhat.com>
23389         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23391 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23393         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23394         (struct sigaction): Change sa_flags from a long to an int, and add
23395         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23397 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23399         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23400         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23401         sysdeps/generic/sysdep.h include.
23402         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23403         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
23404         sysdeps/hppa/sysdep.h.
23405         (ENTRY, PSEUDO): Undefine before defining.
23407 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23409         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23410         from scratch to use INTERNAL_SYSCALL.
23412 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
23414         [BZ #18078]
23415         * scripts/check-localplt.awk: Support alternate relocations.
23416         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23417         sections.
23418         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23419         malloc entries with + REL R_386_GLOB_DAT.
23420         * sysdeps/x86_64/localplt.data: New file.
23422 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
23424         [BZ #18731]
23425         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23426         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23427         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23429 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23431         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23433 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23435         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23436         directly in terms of __sync_fetch_and_add and delete (int) cast.
23438 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23440         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23441         the -D_ASM_IA64_CURRENT_H flag.
23443 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23445         [BZ #18641]
23446         * pwd/pwd.h (putpwent): Delete __nonnull markings.
23448 2015-07-27  Andreas Schwab  <schwab@suse.de>
23450         * conform/conformtest.pl (checknamespace): Filter out string
23451         literals while tokenizing.
23453 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23455         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23456         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23457         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23459 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23461         * nptl/tst-join7mod.c: Add #include <string.h>.
23463 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23465         * sysdeps/nios2/libm-test-ulps: Update.
23467 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23469         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23470         Fix order of arguments to the rt_sigprocmask syscall.
23471         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23472         Likewise.
23474 2015-07-24  Roland McGrath  <roland@hack.frob.com>
23476         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23478 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23480         [BZ #18457]
23481         * nptl/Makefile (tests): New test case tst-join7.
23482         (modules-names): New test case module tst-join7mod.
23483         * nptl/tst-join7.c: New file.
23484         * nptl/tst-join7mod.c: New file.
23485         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23486         all translation units in libc.so, libpthread.so and rtld.
23488 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23492 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23494         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23495         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23496         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23497         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23498         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23499         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23501         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23502         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23503         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23504         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23505         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23506         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23507         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23508         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23509         implementation.
23511 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23513         [BZ #17711]
23514         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23515         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23516         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23517         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23518         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23519         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23521 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23523         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23524         instead of just saying load lock in the comments.
23526 2015-07-23  Roland McGrath  <roland@hack.frob.com>
23528         * sysdeps/unix/Subdirs: Moved ...
23529         * sysdeps/posix/Subdirs: ... here.
23530         * login/pty.h (struct termios, struct winsize): Add forward decls.
23531         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23532         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23533         * sysdeps/arm/nacl/libc.abilist: Updated.
23534         * sysdeps/nacl/libutil.abilist: New file.
23536         * bits/signum.h: Update comments to mention 1003.1-2013 too.
23537         (SIGWINCH): New macro.
23539         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23540         * sysdeps/arm/nacl/libc.abilist: Add it.
23542 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23544         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23546 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23548         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23549         Swap __glibc_reserved0 and sa_flags order.
23551 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23553         [BZ #18657]
23554         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23555         are pending TLS destructor calls.
23556         * include/link.h (struct link_map): Add concurrency note for
23557         L_TLS_DTOR_COUNT.
23558         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23559         Don't touch the link map flag.  Atomically increment
23560         l_tls_dtor_count.
23561         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23562         Avoid taking the load lock and don't touch the link map flag.
23563         * stdlib/tst-tls-atexit-nodelete.c: New test case.
23564         * stdlib/Makefile (tests): Use it.
23565         * stdlib/tst-tls-atexit.c (do_test): dlopen
23566         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
23567         to allow tst-tls-atexit-nodelete test case to use it.
23569 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23571         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23572         to bits/types.h.
23573         (msgqnum_t): New typedef.
23574         (msglen_t): Likewise.
23575         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
23576         and msg_qbytes type to msglen_t.
23578 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23580         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23581         pad0 to __glibc_reserved0.
23582         (struct stat64): Likewise.
23584 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23586         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23587         Change sa_flags from a long to an int and add __glibc_reserved0 before
23588         it for padding.
23590 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23592         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23593         anonymous by deleting "siginfo" name.
23595 2015-07-21  Roland McGrath  <roland@hack.frob.com>
23597         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23598         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23599         rather than __nacl_irt_filename.
23600         * sysdeps/nacl/xstat.c (__xstat): Likewise.
23602         * NEWS: New item for arm-nacl port.
23603         * sysdeps/arm/nacl/libc.abilist: New file.
23604         * sysdeps/nacl/ld.abilist: New file.
23605         * sysdeps/nacl/libBrokenLocale.abilist: New file.
23606         * sysdeps/nacl/libanl.abilist: New file.
23607         * sysdeps/nacl/libcrypt.abilist: New file.
23608         * sysdeps/nacl/libdl.abilist: New file.
23609         * sysdeps/nacl/libm.abilist: New file.
23610         * sysdeps/nacl/libpthread.abilist: New file.
23611         * sysdeps/nacl/libresolv.abilist: New file.
23612         * sysdeps/nacl/librt.abilist: New file.
23614 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
23616         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23617         __startcontext to initialize the new context.
23618         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23619         up CFI directive to forbid further backtracing.
23621 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
23623         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23624         reference.
23625         * charmaps/ANSI_X3.4-1968: Likewise.
23626         * charmaps/BS_4730: Likewise.
23627         * charmaps/BS_VIEWDATA: Likewise.
23628         * charmaps/CP1250: Likewise.
23629         * charmaps/CP1251: Likewise.
23630         * charmaps/CP1252: Likewise.
23631         * charmaps/CP1253: Likewise.
23632         * charmaps/CP1254: Likewise.
23633         * charmaps/CP1255: Likewise.
23634         * charmaps/CP1256: Likewise.
23635         * charmaps/CSN_369103: Likewise.
23636         * charmaps/EBCDIC-DK-NO: Likewise.
23637         * charmaps/GB_1988-80: Likewise.
23638         * charmaps/GREEK-CCITT: Likewise.
23639         * charmaps/GREEK7: Likewise.
23640         * charmaps/INIS-8: Likewise.
23641         * charmaps/ISIRI-3342: Likewise.
23642         * charmaps/ISO_2033-1983: Likewise.
23643         * charmaps/ISO_5427-EXT: Likewise.
23644         * locales/POSIX: Likewise.
23645         * locales/ar_SA: Likewise.
23646         * locales/be_BY: Likewise.
23647         * locales/be_BY@latin: Likewise.
23648         * locales/ca_ES: Likewise.
23649         * locales/cs_CZ: Likewise.
23650         * locales/da_DK: Likewise.
23651         * locales/de_BE: Likewise.
23652         * locales/de_CH: Likewise.
23653         * locales/de_LU: Likewise.
23654         * locales/en_AU: Likewise.
23655         * locales/en_BW: Likewise.
23656         * locales/en_CA: Likewise.
23657         * locales/en_DK: Likewise.
23658         * locales/en_GB: Likewise.
23659         * locales/en_IE: Likewise.
23660         * locales/en_NZ: Likewise.
23661         * locales/en_ZA: Likewise.
23662         * locales/en_ZW: Likewise.
23663         * locales/es_AR: Likewise.
23664         * locales/es_BO: Likewise.
23665         * locales/es_CL: Likewise.
23666         * locales/es_CO: Likewise.
23667         * locales/es_DO: Likewise.
23668         * locales/es_EC: Likewise.
23669         * locales/es_ES: Likewise.
23670         * locales/es_HN: Likewise.
23671         * locales/es_MX: Likewise.
23672         * locales/es_PA: Likewise.
23673         * locales/es_PE: Likewise.
23674         * locales/es_PY: Likewise.
23675         * locales/es_SV: Likewise.
23676         * locales/es_US: Likewise.
23677         * locales/es_UY: Likewise.
23678         * locales/es_VE: Likewise.
23679         * locales/et_EE: Likewise.
23680         * locales/fa_IR: Likewise.
23681         * locales/fo_FO: Likewise.
23682         * locales/fr_CA: Likewise.
23683         * locales/fr_CH: Likewise.
23684         * locales/gv_GB: Likewise.
23685         * locales/he_IL: Likewise.
23686         * locales/hr_HR: Likewise.
23687         * locales/id_ID: Likewise.
23688         * locales/is_IS: Likewise.
23689         * locales/it_CH: Likewise.
23690         * locales/iw_IL: Likewise.
23691         * locales/kl_GL: Likewise.
23692         * locales/ko_KR: Likewise.
23693         * locales/kw_GB: Likewise.
23694         * locales/lg_UG: Likewise.
23695         * locales/lt_LT: Likewise.
23696         * locales/lv_LV: Likewise.
23697         * locales/mi_NZ: Likewise.
23698         * locales/nhn_MX: Likewise.
23699         * locales/nl_BE: Likewise.
23700         * locales/pl_PL: Likewise.
23701         * locales/sk_SK: Likewise.
23702         * locales/sl_SI: Likewise.
23703         * locales/sv_FI: Likewise.
23704         * locales/tl_PH: Likewise.
23705         * locales/tr_TR: Likewise.
23706         * locales/vi_VN: Likewise.
23708 2015-07-21  Khem Raj  <raj.khem@gmail.com>
23710         [BZ #17475]
23711         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23712         of tu_IN and bh_IN.
23714 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
23716         [BZ #18694]
23717         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23718         bits/wordsize.h.
23719         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23721 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23723         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23724         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23725         (spawn_thread): New function.
23726         (load): Rename to reg_dtor_and_close.  Move dlopen to...
23727         (do_test): ... here.  Use IS_LOADED to test for its
23728         availability.
23730 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
23732         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23734 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
23736         [BZ #18696]
23737         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23738         si_addr_bnd.
23739         (si_lower): New.
23740         (si_upper): Likewise.
23742 2015-07-16  David S. Miller  <davem@davemloft.net>
23744         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23746 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23748         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23749         buffer.
23750         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23751         fail output information.
23753 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23756         and strstr-ppc64..
23757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23758         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23759         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23760         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23761         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23763 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23765         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23766         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23767         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23768         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23770 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23772         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23773         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23774         rtld_hidden_proto.
23775         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23777 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23779         * tst-nodelete-opened.c (do_test): Add comment to clarify how
23780         the test can fail.
23782         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23784         [BZ #18676]
23785         * elf/tst-nodelete-opened.c: New test case.
23786         * elf/tst-nodelete-opened-lib.c: New test case module.
23787         * elf/Makefile (tests, modules-names): Use them.
23788         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23789         early.
23791 2015-07-15  David S. Miller  <davem@davemloft.net>
23793         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23794         futex-intenal.h
23795         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23796         * sysdeps/sparc/sparc64/Makefile: Likewise.
23797         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23798         Remove space from macro define.
23799         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23801 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
23803         [BZ #17475]
23804         * locale/iso-639.def: Update Bhili and Tulu language codes as
23805         per iso639-3.
23807 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
23809         * elf/tst-leaks1.c (main): Converted to ...
23810         (do_test): ... this.
23811         (TEST_FUNCTION): New macro.
23812         Include test-skeleton.c.
23813         * localedata/tst-langinfo.c (main): Converted to ...
23814         (do_test): ... this.
23815         (TEST_FUNCTION): New macro.
23816         Include test-skeleton.c.
23817         * math/test-fpucw.c (main): Converted to ...
23818         (do_test): ... this.
23819         (TEST_FUNCTION): New macro.
23820         Include test-skeleton.c.
23821         * math/test-tgmath.c (main): Converted to ...
23822         (do_test): ... this.
23823         (TEST_FUNCTION): New macro.
23824         Include test-skeleton.c.
23825         * math/test-tgmath2.c (main): Converted to ...
23826         (do_test): ... this.
23827         (TEST_FUNCTION): New macro.
23828         Include test-skeleton.c.
23829         * setjmp/tst-setjmp.c (main): Converted to ...
23830         (do_test): ... this.
23831         (TEST_FUNCTION): New macro.
23832         Include test-skeleton.c.
23833         * stdio-common/tst-sscanf.c (main): Converted to ...
23834         (do_test): ... this.
23835         (TEST_FUNCTION): New macro.
23836         Include test-skeleton.c.
23837         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23838         (do_test): ... this.
23839         (TEST_FUNCTION): New macro.
23840         Include test-skeleton.c.
23842         * elf/tst-audit9.c (main): Converted to ...
23843         (do_test): ... this.
23844         (TEST_FUNCTION): New macro.
23845         Include test-skeleton.c.
23847 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
23849         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23851 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23853         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23854         New variable.
23856 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23858         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23860 2015-07-14  Roland McGrath  <roland@hack.frob.com>
23862         * sysdeps/generic/dl-fileid.h: New file.
23863         * sysdeps/posix/dl-fileid.h: New file.
23864         * sysdeps/nacl/dl-fileid.h: New file.
23865         * include/link.h: Include <dl-fileid.h>.
23866         (struct link_map): Replace l_dev and l_ino with l_file_id.
23867         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23868         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
23869         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
23871 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23873         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23875 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23877         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23878         Add iff $CXX is set.
23879         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23880         Likewise.
23881         (tst-nodelete-zmodiff): Likewise.
23882         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23884 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23886         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23888 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23890         * sysdeps/aarch64/fpu/math_private.h
23891         (define math_opt_barrier): Add AArch64 version.
23892         (math_force_eval): Likewise.
23894 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23896         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23898 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23900         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23901         %ld with %jd and cast to intmax_t.
23902         (do_test_length_zero): Likewise.
23904 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23906         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23908 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23910         * sysdeps/tile/libm-test-ulps: Regenerated.
23912         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23913         Comment out the whole function, not just its body.
23915 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23917         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23918         locks.
23920         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23922 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23924         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23925         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23927 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23929         * sysdeps/nptl/futex-internal.h: New file.
23930         * sysdeps/nacl/futex-internal.h: New file.
23931         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23932         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23933         error checking.
23934         (setxid_unmark_thread): Likewise.
23935         (__nptl_setxid): Likewise.
23936         (__wait_lookup_done): Likewise.
23937         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23938         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23939         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23940         * nptl/pthread_once.c (clear_once_control): Likewise.
23941         (__pthread_once_slow): Likewise.
23942         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23943         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23944         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23945         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23946         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23947         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23948         Likewise.
23949         (__pthread_rwlock_rdlock): Likewise.
23950         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23951         Likewise.
23952         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23953         Likewise.
23954         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23955         Likewise.
23956         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23957         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23958         Likewise.
23959         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23960         __ASSUME_PRIVATE_FUTEX check.
23961         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23962         Check that shared futexes are supported.
23963         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23964         wrappers with error checking.
23965         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23966         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23967         * nptl/pthread_barrierattr_setpshared.c
23968         (pthread_barrierattr_setpshared): Check that shared futexes are
23969         supported.
23970         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23971         Likewise.
23972         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23973         Likewise.
23974         * nptl/sem_init.c (futex_private_if_supported): Remove.
23975         (__new_sem_init): Adapt and check that shared futexes are supported.
23976         * nptl/sem_open.c (sem_open): Likewise.
23977         * nptl/sem_post.c (futex_wake): Remove.
23978         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23979         (do_futex_wait): Use futex wrappers with error checking.
23980         * nptl/sem_wait.c: Include lowlevellock.h.
23981         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23982         Use futex_supports_pshared.
23983         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23984         Use futex wrappers with error checking.
23985         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23986         Likewise.
23987         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23988         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23989         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23990         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23991         (futex_wake): Likewise.
23992         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23993         (do_futex_wait): Use futex wrappers with error checking.
23994         (__new_sem_wait_slow): Update EINTR handling.
23995         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23997 2015-07-09  Martin Sebor  <msebor@redhat.com>
23999         [BZ #18435]
24000         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24001         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
24002         * nptl/Makefile (test-xfail-tst-once5): Define.
24004 2015-07-09  Roland McGrath  <roland@hack.frob.com>
24006         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
24007         * elf/dl-minimal.c: For readability, reorder some definitions and
24008         introduce more page breaks.  Include <stdio.h>.
24009         (__libc_fatal): New function.
24011         * include/unistd.h: Add rtld_hidden_proto for _exit.
24012         * posix/_exit.c: Add rtld_hidden_def.
24013         * sysdeps/mach/hurd/_exit.c: Likewise.
24014         * sysdeps/nacl/_exit.c: Likewise.
24015         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
24016         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
24018 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
24020         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
24021         bndmov encoding with zero displacement.
24023 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
24024             H.J. Lu  <hongjiu.lu@intel.com>
24026         [BZ #18134]
24027         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
24028         * sysdeps/i386/configure: Regenerated.
24029         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24030         (_dl_runtime_profile): Save and restore Intel MPX return bound
24031         registers when calling _dl_call_pltexit.  Add
24032         PRESERVE_BND_REGS_PREFIX before return.
24033         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
24034         (LRV_BND1_OFFSET): Likewise.
24035         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
24036         lrv_bnd1.
24037         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
24038         typo in bndmov encoding.
24039         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
24040         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
24041         branch instructions to preserve bounds.
24043 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
24046         [GLIBC_2.22]: Add fmemopen.
24048 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24050         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
24051         returns an error, also try to use host port from __mach_host_self for
24052         the __vm_wire call.
24053         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
24055 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24057         [BZ #18400]
24058         [BZ #18648]
24059         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
24060         Fix pr_uid and pr_gid members.
24061         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
24062         definition to elf_greg_t.
24064 2015-07-08  Roland McGrath  <roland@hack.frob.com>
24066         [BZ #18383]
24067         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
24068         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
24069         * sysdeps/arm/configure: Regenerated.
24070         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
24071         (test-xfail-tst-tlsalign-static): Variable removed.
24073         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
24074         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
24075         rather than explicit 'ln -s'.
24077         * resolv/rpc/netdb.h: New file.
24078         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
24080 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24082         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
24083         length buffers.
24084         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24085         test-skeleton.c.
24087         [BZ #6544]
24088         [BZ #11216]
24089         [BZ #12836]
24090         [BZ #13151]
24091         [BZ #13152]
24092         [BZ #14292]
24093         * include/stdio.h (fmemopen): Remove hidden prototype.
24094         (__fmemopen): Add new hidden prototype.
24095         * libio/Makefile: Add oldfmemopen object.
24096         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
24097         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
24098         compliance.
24099         * libio/oldfmemopen.c: New file: old fmemopen implementation for
24100         symbol compatibility.
24101         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
24102         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24103         fmemopen.
24104         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
24105         on append and read mode.
24106         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
24107         fmemopen.
24108         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
24109         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
24110         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
24111         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
24112         Likewise.
24113         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24114         [GLIBC_2.22]: Likewise.
24115         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24116         Likewise.
24117         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24118         Likewise.
24119         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24120         [GLIBC_2.22]: Likewise.
24121         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24122         [GLIBC_2.22]: Likewise.
24123         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24124         [GLIBC_2.22]: Likewise.
24125         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24126         [GLIBC_2.22]: Likewise.
24127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24128         [GLIBC_2.22]: Likewise.
24129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24130         [GLIBC_2.22]: Likewise.
24131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24132         [GLIBC_2.22]: Likewise.
24133         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24134         Likewise.
24135         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24136         Likewise.
24137         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24138         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24139         [GLIBC_2.22]: Likewise.
24140         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24141         [GLIBC_2.22]: Likewise.
24142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24143         [GLIBC_2.22]: Likewise.
24144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24145         [GLIBC_2.22]: Likewise.
24146         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24147         Likewise.
24148         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24149         Likewise.
24150         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24151         Likewise.
24152         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24153         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24155 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24157         [BZ #18643]
24158         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24159         IPV6_PATHMTU, and IPV6_DONTFRAG.
24161 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
24163         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24164         and _IO_UNBUFFERED.
24165         * libio/oldfileops.c: Likewise.
24166         * libio/wfileops.c: Likewise.
24168 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24170         * nscd/selinux.c: Delete selinux/flask.h include.
24172 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24174         [BZ #18641]
24175         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24176         (putpwent): Likewise.
24177         (getpwnam): Likewise.
24178         (getpwent_r): Likewise.
24179         (getpwuid_r): Likewise.
24180         (getpwnam_r): Likewise.
24181         (fgetpwent_r): Likewise.
24183 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24185         [BZ #18557]
24186         * inet/rcmd.c (__validuser2_sa): Check user first to
24187         short-circuit host check.
24189 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
24190             Mikhail Ilin  <m.ilin@samsung.com>
24192         [BZ #17833]
24193         * elf/Makefile (tests): Add tst-nodelete.
24194         (modules-names): Add tst-nodelete-uniquemod.
24195         (tst-nodelete-uniquemod.so-no-z-defs): New.
24196         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24197         (tst-nodelete-zmod.so-no-z-defs): Likewise.
24198         ($(objpfx)tst-nodelete): Likewise.
24199         ($(objpfx)tst-nodelete.out): Likewise.
24200         (LDFLAGS-tst-nodelete): Likewise.
24201         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24202         * elf/dl-close.c (_dl_close_worker): Add a parameter to
24203         implement forced object deletion.
24204         (_dl_close): Pass false to _dl_close_worker.
24205         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24206         * elf/tst-nodelete.cc: New file.
24207         * elf/tst-nodeletelib.cc: Likewise.
24208         * elf/tst-znodeletelib.cc: Likewise.
24209         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24211 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24213         [BZ #18508]
24214         * stdlib/Makefile ($(objpfx)tst-makecontext3):
24215         Depend on $(libdl).
24216         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24217         is not called infinitely times.
24218         (backtrace_helper): New function.
24219         (trace_arg): New struct.
24220         (st1): Enlarge stack size.
24221         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24222         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24223         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24224         Likewise.
24226 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24228         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24230 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24232         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24233         Include sys/types.h instead of bits/types.h.
24234         Remove inclusion of bits/wordsize.h.
24236 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24238         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24239         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24240         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24241         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24242         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24243         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24245 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24247         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24248         link-defines.sym.
24249         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24250         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24251         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24252         and LR_SIZE.
24253         * sysdeps/i386/link-defines.sym: New file.
24255 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24257         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24258         (modules-names): Add tst-auditmod3a tst-auditmod3b.
24259         ($(objpfx)tst-audit3): New rule.
24260         ($(objpfx)tst-audit3.out): Likewise.
24261         * sysdeps/i386/tst-audit3.c: New file.
24262         * sysdeps/i386/tst-audit3.h: Likewise.
24263         * sysdeps/i386/tst-auditmod3a.c: Likewise.
24264         * sysdeps/i386/tst-auditmod3b.c: Likewise.
24266 2015-07-07  Torvald Riegel  <triegel@redhat.com>
24268         [BZ #18633]
24269         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24270         pointer in C code.
24271         (__strcat_c): Likewise.
24272         (__strcat_g): Likewise.
24274 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
24276         [BZ #18592]
24277         * misc/sbrk.c: Set errno to ENOMEM on overflow.
24279 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24281         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24282         New function.  (__ieee754_sqrtf): New function.
24283         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24284         New function.
24285         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24286         New function.
24288 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24290         * sysdeps/ieee754/support.c: Remove unused file.
24292 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24294         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24295         registers instead of d ones so the layout is kernel abi compatible.
24296         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24297         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24298         Likewise.
24300 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24302         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24304 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24306         [BZ #18619]
24307         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24308         and return argument in case of subnormal argument.
24310 2015-07-01  Martin Sebor  <msebor@redhat.com>
24312         [BZ #18435]
24313         * nptl/Makefile: Add tst-once5.cc.
24314         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24315         Remove macro redefinitions.
24316         * nptl/tst-once5.cc: New test.
24318 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24320         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24322         * sysdeps/arm/libm-test-ulps: Regenerated.
24324         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24325         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24327 2015-06-30  Torvald Riegel  <triegel@redhat.com>
24329         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24330         lll_lock_wait_private and lll_futex_wake probes.
24332         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24334         Likewise.
24335         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24336         atomic_spin_nop.
24337         * sysdeps/x86_64/bits/atomic.h: Likewise.
24338         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24339         to atomic_spin_nop and move ...
24340         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24341         ... here and ...
24342         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24343         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24344         atomic_spin_nop instead of BUSY_WAIT_NOP.
24345         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24346         Likewise.
24347         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24348         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24349         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24350         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24351         instead of atomic_delay.
24353 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
24355         [BZ #18613]
24356         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24357         X_ADJ not X when adjusting exponent.
24358         (__ieee754_gamma_r): Do intermediate computations in
24359         round-to-nearest then adjust overflowing and underflowing results
24360         as needed.
24361         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24362         of X_ADJ not X when adjusting exponent.
24363         (__ieee754_gammaf_r): Do intermediate computations in
24364         round-to-nearest then adjust overflowing and underflowing results
24365         as needed.
24366         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24367         log of X_ADJ not X when adjusting exponent.
24368         (__ieee754_gammal_r): Do intermediate computations in
24369         round-to-nearest then adjust overflowing and underflowing results
24370         as needed.  Use 1.0L not 1.0f as numerator of division.
24371         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24372         log of X_ADJ not X when adjusting exponent.
24373         (__ieee754_gammal_r): Do intermediate computations in
24374         round-to-nearest then adjust overflowing and underflowing results
24375         as needed.  Use 1.0L not 1.0f as numerator of division.
24376         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24377         of X_ADJ not X when adjusting exponent.
24378         (__ieee754_gammal_r): Do intermediate computations in
24379         round-to-nearest then adjust overflowing and underflowing results
24380         as needed.  Use 1.0L not 1.0f as numerator of division.
24381         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
24382         to auto-libm-test-in.
24383         (tgamma_test): Use ALL_RM_TEST.
24384         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
24385         tests of tgamma with spurious-overflow.
24386         * math/auto-libm-test-out: Regenerated.
24387         * math/gen-libm-have-vector-test.sh: Do not check for START.
24388         * sysdeps/i386/fpu/libm-test-ulps: Update.
24389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24391         [BZ #18612]
24392         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24393         arguments, just return 0.5 times the argument, with underflow
24394         forced as needed.
24395         * math/auto-libm-test-in: Add more tests of j1.
24396         * math/auto-libm-test-out: Regenerated.
24398         [BZ #16559]
24399         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24400         (__ieee754_j1): Force underflow exception for small results.
24401         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24402         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24403         (__ieee754_j1f): Force underflow exception for small results.
24404         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24405         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24406         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24407         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24408         (__ieee754_j1l): Force underflow exception for small results.
24409         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24410         * math/auto-libm-test-in: Add more tests of j1 and jn.
24411         * math/auto-libm-test-out: Regenerated.
24413         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24414         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24415         (PF_MPLS): Likewise.
24416         (AF_IB): Likewise.
24417         (AF_MPLS): Likewise.
24418         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24419         value and macro.
24420         (MS_RMT_MASK): Include MS_LAZYTIME.
24422 2015-06-26  Mel Gorman  <mgorman@suse.de>
24424         [BZ #18502]
24425         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24426         already minimal.
24428 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
24430         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24431         (DT_MIPS_NUM): Update.
24432         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24433         DT_MIPS_RLD_MAP_REL.
24435 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
24437         [BZ #16559]
24438         [BZ #18602]
24439         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24440         round-to-nearest internally then recompute results that
24441         underflowed to zero in the original rounding mode.
24442         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24443         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24444         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24445         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24446         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24447         * sysdeps/i386/fpu/libm-test-ulps: Update.
24448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24450 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24452         * NEWS: Fixed description of link with vector math library.
24454 2015-06-25  Andreas Schwab  <schwab@suse.de>
24456         [BZ #18549]
24457         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24458         * libio/test-fmemopen.c (do_test): Add test for it.
24460 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24462         [BZ #17841]
24463         * Makeconfig (no-pie-ldflag): New.
24464         (+link): Set to $(+link-pie) if default to PIE.
24465         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24466         * config.make.in (build-pie-default): New.
24467         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
24468         is default.  AC_SUBST.
24469         * configure: Regenerated.
24470         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24472 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24474         * nptl/descr.h (struct pthread): Change type of field setxid_futex
24475         to 'unsigned int'.
24477         * resolv/gai_misc.h (struct waitlist): Change type of field
24478         counterp to 'volatile unsigned int *'.
24479         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24480         FUTEXADDR and OLDVAL.
24481         * resolv/getaddrinfo_a.c (getaddrinfo_a):
24482         Give local variable TOTAL type 'volatile unsigned int'.
24483         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24484         * resolv/gai_suspend.c (gai_suspend):
24485         Give local variable CNTR type 'unsigned int'.
24487         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24488         counterp to 'volatile unsigned int *'.
24489         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24490         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24491         (aio_suspend): Give local variable CNTR type 'unsigned int'.
24492         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24493         Give local variable TOTAL type 'volatile unsigned int'.
24494         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24496 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24498         [BZ #18383]
24499         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24500         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
24501         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24502         comment for i386/x86-64.
24503         (test-xfail-tst-tlsalign-extern-static): Removed.
24505 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24507         * math/test-double.h: New file.
24508         * math/test-float.h: Likewise.
24509         * math/test-ldouble.h: Likewise.
24510         * math/test-math-inline.h: Likewise.
24511         * math/test-math-no-inline.h: Likewise.
24512         * math/test-math-scalar.h: Likewise.
24513         * math/test-math-vector.h: Likewise.
24514         * math/test-vec-loop.h: Remove file.  Contents moved into
24515         test-math-vector.h.
24516         * math/libm-test.inc (MATHCONST): Do not document macro.
24517         * math/test-double.c: Include test-double.h, test-math-no-inline.h
24518         and test-math-scalar.h.
24519         (FUNC): Remove macro.
24520         (FUNC_TEST): Likewise.
24521         (FLOAT): Likewise.
24522         (MATHCONST): Likewise.
24523         (PRINTF_EXPR): Likewise.
24524         (PRINTF_XEXPR): Likewise.
24525         (PRINTF_NEXPR): Likewise.
24526         (TEST_DOUBLE): Likewise.
24527         (TEST_MATHVEC): Likewise.
24528         (__NO_MATH_INLINES): Likewise.
24529         * math/test-float.c: Include test-float.h, test-math-no-inline.h
24530         and test-math-scalar.h.
24531         (FUNC): Remove macro.
24532         (FUNC_TEST): Likewise.
24533         (FLOAT): Likewise.
24534         (MATHCONST): Likewise.
24535         (PRINTF_EXPR): Likewise.
24536         (PRINTF_XEXPR): Likewise.
24537         (PRINTF_NEXPR): Likewise.
24538         (TEST_FLOAT): Likewise.
24539         (TEST_MATHVEC): Likewise.
24540         (__NO_MATH_INLINES): Likewise.
24541         * math/test-idouble.c: Include test-double.h, test-math-inline.h
24542         and test-math-scalar.h.
24543         (FUNC): Remove macro.
24544         (FUNC_TEST): Likewise.
24545         (FLOAT): Likewise.
24546         (MATHCONST): Likewise.
24547         (PRINTF_EXPR): Likewise.
24548         (PRINTF_XEXPR): Likewise.
24549         (PRINTF_NEXPR): Likewise.
24550         (TEST_DOUBLE): Likewise.
24551         (TEST_MATHVEC): Likewise.
24552         (TEST_INLINE): Likewise.
24553         (__NO_MATH_INLINES): Likewise.
24554         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24555         test-math-scalar.h.
24556         (FUNC): Remove macro.
24557         (FUNC_TEST): Likewise.
24558         (FLOAT): Likewise.
24559         (MATHCONST): Likewise.
24560         (PRINTF_EXPR): Likewise.
24561         (PRINTF_XEXPR): Likewise.
24562         (PRINTF_NEXPR): Likewise.
24563         (TEST_FLOAT): Likewise.
24564         (TEST_MATHVEC): Likewise.
24565         (TEST_INLINE): Likewise.
24566         (__NO_MATH_INLINES): Likewise.
24567         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24568         and test-math-scalar.h.
24569         (FUNC): Remove macro.
24570         (FUNC_TEST): Likewise.
24571         (FLOAT): Likewise.
24572         (MATHCONST): Likewise.
24573         (PRINTF_EXPR): Likewise.
24574         (PRINTF_XEXPR): Likewise.
24575         (PRINTF_NEXPR): Likewise.
24576         (TEST_LDOUBLE): Likewise.
24577         (TEST_MATHVEC): Likewise.
24578         (TEST_INLINE): Likewise.
24579         (__NO_MATH_INLINES): Likewise.
24580         * math/test-ldouble.c: Include test-ldouble.h,
24581         test-math-no-inline.h and test-math-scalar.h.
24582         (FUNC): Remove macro.
24583         (FUNC_TEST): Likewise.
24584         (FLOAT): Likewise.
24585         (MATHCONST): Likewise.
24586         (PRINTF_EXPR): Likewise.
24587         (PRINTF_XEXPR): Likewise.
24588         (PRINTF_NEXPR): Likewise.
24589         (TEST_LDOUBLE): Likewise.
24590         (TEST_MATHVEC): Likewise.
24591         (__NO_MATH_INLINES): Likewise.
24592         * math/test-double-vlen2.h: Include test-double.h,
24593         test-math-no-inline.h and test-math-vector.h.
24594         (FLOAT): Remove macro.
24595         (FUNC): Likewise.
24596         (MATHCONST): Likewise.
24597         (PRINTF_EXPR): Likewise.
24598         (PRINTF_XEXPR): Likewise.
24599         (PRINTF_NEXPR): Likewise.
24600         (TEST_DOUBLE): Likewise.
24601         (TEST_MATHVEC): Likewise.
24602         (__NO_MATH_INLINES): Likewise.
24603         (CNCT): Likewise.
24604         (CONCAT): Likewise.
24605         (WRAPPER_NAME): Likewise.
24606         (WRAPPER_DECL): Likewise.
24607         (WRAPPER_DECL_ff): Likewise.
24608         (WRAPPER_DECL_fFF): Likewise.
24609         (VECTOR_WRAPPER): Likewise.
24610         (VECTOR_WRAPPER_ff): Likewise.
24611         (VECTOR_WRAPPER_fFF): Likewise.
24612         (VEC_LEN): New macro.
24613         * math/test-double-vlen4.h: Include test-double.h,
24614         test-math-no-inline.h and test-math-vector.h.
24615         (FLOAT): Remove macro.
24616         (FUNC): Likewise.
24617         (MATHCONST): Likewise.
24618         (PRINTF_EXPR): Likewise.
24619         (PRINTF_XEXPR): Likewise.
24620         (PRINTF_NEXPR): Likewise.
24621         (TEST_DOUBLE): Likewise.
24622         (TEST_MATHVEC): Likewise.
24623         (__NO_MATH_INLINES): Likewise.
24624         (CNCT): Likewise.
24625         (CONCAT): Likewise.
24626         (WRAPPER_NAME): Likewise.
24627         (WRAPPER_DECL): Likewise.
24628         (WRAPPER_DECL_ff): Likewise.
24629         (WRAPPER_DECL_fFF): Likewise.
24630         (VECTOR_WRAPPER): Likewise.
24631         (VECTOR_WRAPPER_ff): Likewise.
24632         (VECTOR_WRAPPER_fFF): Likewise.
24633         (VEC_LEN): New macro.
24634         * math/test-double-vlen8.h: Include test-double.h,
24635         test-math-no-inline.h and test-math-vector.h.
24636         (FLOAT): Remove macro.
24637         (FUNC): Likewise.
24638         (MATHCONST): Likewise.
24639         (PRINTF_EXPR): Likewise.
24640         (PRINTF_XEXPR): Likewise.
24641         (PRINTF_NEXPR): Likewise.
24642         (TEST_DOUBLE): Likewise.
24643         (TEST_MATHVEC): Likewise.
24644         (__NO_MATH_INLINES): Likewise.
24645         (CNCT): Likewise.
24646         (CONCAT): Likewise.
24647         (WRAPPER_NAME): Likewise.
24648         (WRAPPER_DECL): Likewise.
24649         (WRAPPER_DECL_ff): Likewise.
24650         (WRAPPER_DECL_fFF): Likewise.
24651         (VECTOR_WRAPPER): Likewise.
24652         (VECTOR_WRAPPER_ff): Likewise.
24653         (VECTOR_WRAPPER_fFF): Likewise.
24654         (VEC_LEN): New macro.
24655         * math/test-float-vlen4.h: Include test-float.h,
24656         test-math-no-inline.h and test-math-vector.h.
24657         (FLOAT): Remove macro.
24658         (FUNC): Likewise.
24659         (MATHCONST): Likewise.
24660         (PRINTF_EXPR): Likewise.
24661         (PRINTF_XEXPR): Likewise.
24662         (PRINTF_NEXPR): Likewise.
24663         (TEST_FLOAT): Likewise.
24664         (TEST_MATHVEC): Likewise.
24665         (__NO_MATH_INLINES): Likewise.
24666         (CNCT): Likewise.
24667         (CONCAT): Likewise.
24668         (WRAPPER_NAME): Likewise.
24669         (WRAPPER_DECL): Likewise.
24670         (WRAPPER_DECL_ff): Likewise.
24671         (WRAPPER_DECL_fFF): Likewise.
24672         (VECTOR_WRAPPER): Likewise.
24673         (VECTOR_WRAPPER_ff): Likewise.
24674         (VECTOR_WRAPPER_fFF): Likewise.
24675         (VEC_LEN): New macro.
24676         * math/test-float-vlen8.h: Include test-float.h,
24677         test-math-no-inline.h and test-math-vector.h.
24678         (FLOAT): Remove macro.
24679         (FUNC): Likewise.
24680         (MATHCONST): Likewise.
24681         (PRINTF_EXPR): Likewise.
24682         (PRINTF_XEXPR): Likewise.
24683         (PRINTF_NEXPR): Likewise.
24684         (TEST_FLOAT): Likewise.
24685         (TEST_MATHVEC): Likewise.
24686         (__NO_MATH_INLINES): Likewise.
24687         (CNCT): Likewise.
24688         (CONCAT): Likewise.
24689         (WRAPPER_NAME): Likewise.
24690         (WRAPPER_DECL): Likewise.
24691         (WRAPPER_DECL_ff): Likewise.
24692         (WRAPPER_DECL_fFF): Likewise.
24693         (VECTOR_WRAPPER): Likewise.
24694         (VECTOR_WRAPPER_ff): Likewise.
24695         (VECTOR_WRAPPER_fFF): Likewise.
24696         (VEC_LEN): New macro.
24697         * math/test-float-vlen16.h: Include test-float.h,
24698         test-math-no-inline.h and test-math-vector.h.
24699         (FLOAT): Remove macro.
24700         (FUNC): Likewise.
24701         (MATHCONST): Likewise.
24702         (PRINTF_EXPR): Likewise.
24703         (PRINTF_XEXPR): Likewise.
24704         (PRINTF_NEXPR): Likewise.
24705         (TEST_FLOAT): Likewise.
24706         (TEST_MATHVEC): Likewise.
24707         (__NO_MATH_INLINES): Likewise.
24708         (CNCT): Likewise.
24709         (CONCAT): Likewise.
24710         (WRAPPER_NAME): Likewise.
24711         (WRAPPER_DECL): Likewise.
24712         (WRAPPER_DECL_ff): Likewise.
24713         (WRAPPER_DECL_fFF): Likewise.
24714         (VECTOR_WRAPPER): Likewise.
24715         (VECTOR_WRAPPER_ff): Likewise.
24716         (VECTOR_WRAPPER_fFF): Likewise.
24717         (VEC_LEN): New macro.
24718         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24719         test-vec-loop.h.
24720         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24721         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24722         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24723         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24724         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24725         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24726         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24728 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24730         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24731         (__getlogin_r): ... this.
24733 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24735         [BZ #18594]
24736         * math/s_ccosh.c (__ccosh): Compare with least normal value
24737         instead of comparing class with FP_SUBNORMAL.
24738         * math/s_ccoshf.c (__ccoshf): Likewise.
24739         * math/s_ccoshl.c (__ccoshl): Likewise.
24740         * math/s_cexp.c (__cexp): Likewise.
24741         * math/s_cexpf.c (__cexpf): Likewise.
24742         * math/s_cexpl.c (__cexpl): Likewise.
24743         * math/s_csin.c (__csin): Likewise.
24744         * math/s_csinf.c (__csinf): Likewise.
24745         * math/s_csinh.c (__csinh): Likewise.
24746         * math/s_csinhf.c (__csinhf): Likewise.
24747         * math/s_csinhl.c (__csinhl): Likewise.
24748         * math/s_csinl.c (__csinl): Likewise.
24749         * math/s_ctan.c (__ctan): Likewise.
24750         * math/s_ctanf.c (__ctanf): Likewise.
24751         * math/s_ctanh.c (__ctanh): Likewise.
24752         * math/s_ctanhf.c (__ctanhf): Likewise.
24753         * math/s_ctanhl.c (__ctanhl): Likewise.
24754         * math/s_ctanl.c (__ctanl): Likewise.
24755         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24756         csin, csinh, ctan and ctanh.
24757         * math/auto-libm-test-out: Regenerated.
24758         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24759         * sysdeps/i386/fpu/libm-test-ulps: Update.
24760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24762 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24764         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24765         return value is wrong, print the expected value too.
24767 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24769         [BZ #18585]
24770         * elf/readlib.c (is_gdb_python_file): New.
24771         (process_file): Don't issue errors on filenames with -gdb.py
24772         suffix.
24774 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24776         * math/auto-libm-test-in: Add more tests of csin and csinh.
24777         * math/auto-libm-test-out: Regenerated.
24778         * math/libm-test.inc (csin_test_data): Remove tests moved to
24779         auto-libm-test-in.
24780         (csinh_test_data): Likewise.
24782         [BZ #18593]
24783         * math/s_csin.c (__csin): Negate before rather than after possibly
24784         overflowing multiplication.
24785         * math/s_csinf.c (__csinf): Likewise.
24786         * math/s_csinh.c (__csinh): Likewise.
24787         * math/s_csinhf.c (__csinhf): Likewise.
24788         * math/s_csinhl.c (__csinhl): Likewise.
24789         * math/s_csinl.c (__csinl): Likewise.
24790         * math/auto-libm-test-in: Add some tests of csin and csinh.
24791         * math/auto-libm-test-out: Regenerated.
24792         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24793         (csinh_test_data): Likewise.
24794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24796         [BZ #18586]
24797         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24798         underflow exception for small results.
24800 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24802         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24803         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24804         variable and included header.
24805         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24806         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24808         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24809         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24810         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24811         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24812         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24813         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24814         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24815         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24816         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24817         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24818         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24819         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24820         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24822 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24824         [BZ #16526]
24825         [BZ #16538]
24826         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24827         (__sin): Force underflow exception for arguments with small
24828         absolute value.
24829         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24830         (__kernel_sinf): Force underflow exception for arguments with
24831         small absolute value.
24832         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24833         (__kernel_sincosl): Force underflow exception for arguments with
24834         small absolute value.
24835         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24836         (__kernel_sinl): Force underflow exception for arguments with
24837         small absolute value.
24838         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24839         (__kernel_sincosl): Force underflow exception for arguments with
24840         small absolute value.
24841         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24842         (__kernel_sinl): Force underflow exception for arguments with
24843         small absolute value.
24844         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24845         (__kernel_sinl): Force underflow exception for arguments with
24846         small absolute value.
24847         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24848         (__kernel_sinf): Force underflow exception for arguments with
24849         small absolute value.
24850         * math/auto-libm-test-in: Add more tests of sin and sincos.
24851         * math/auto-libm-test-out: Regenerated.
24853         [BZ #18245]
24854         [BZ #18583]
24855         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24856         (__kernel_standard_l): Use feholdexcept and fesetenv around
24857         conversion to double instead of special-casing overflow and
24858         underflow.
24859         * math/libm-test.inc (fmod_test_data): Add more tests.
24860         (remainder_test_data): Likewise.
24861         (sqrt_test_data): Likewise.
24863 2015-06-23  Torvald Riegel  <triegel@redhat.com>
24865         [BZ #17403]
24866         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24867         atomic_read_barrier, atomic_write_barrier): Define.
24868         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24869         atomic_read_barrier, atomic_write_barrier): Define.
24871 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24873         * math/Makefile [$(PERL) != no]
24874         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24875         dependency on libm-test.stmp below the inclusion of Rules.
24877 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
24879         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24880         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24881         and included header.
24882         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24883         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24884         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24885         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24886         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24887         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24888         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24889         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24890         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24891         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24892         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24893         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24894         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24895         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24896         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24897         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24898         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24899         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24900         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24902 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24904         [BZ #18371]
24905         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24906         intermediate but not final result might underflow.
24907         * math/s_csqrtf.c (__csqrtf): Likewise.
24908         * math/s_csqrtl.c (__csqrtl): Likewise.
24909         * math/auto-libm-test-in: Add more tests of csqrt.
24910         * math/auto-libm-test-out: Regenerated.
24911         * sysdeps/i386/fpu/libm-test-ulps: Update.
24913         [BZ #18219]
24914         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24915         threshold on absolute value of exponent for which scaling is used.
24916         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24917         * math/auto-libm-test-in: Add more tests of exp2.
24918         * math/auto-libm-test-out: Regenerated.
24920 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24922         [BZ #17977]
24923         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24924         when initializing interface list, based on the bug analysis
24925         and the patch proposed by Eric Newton.
24926         * resolv/tst-res_hconf_reorder.c: New test.
24927         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24928         tst-res_hconf_reorder.
24929         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24930         and $(shared-thread-library).
24931         (tst-res_hconf_reorder-ENV): New variable.
24933         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24934         in comment.
24936 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24938         [BZ #16353]
24939         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24940         (__expm1): Force underflow exception for arguments with small
24941         absolute value.
24942         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24943         (__expm1f): Force underflow exception for arguments with small
24944         absolute value.
24945         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24946         (__expm1): Force underflow exception for arguments with small
24947         absolute value.
24948         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24949         (__expm1f): Force underflow exception for arguments with small
24950         absolute value.
24951         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24952         Check for small arguments before calling __expm1.
24953         * math/auto-libm-test-in: Do not mark underflow exceptions as
24954         possibly missing for bug 16353.
24955         * math/auto-libm-test-out: Regenerated.
24957 2015-06-22  Andreas Schwab  <schwab@suse.de>
24959         [BZ #18513]
24960         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24961         PTR queries.
24963 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24965         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24967         * string/strcoll_l.c: Remove unused struct element idxnow.
24969 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24971         [BZ #18569]
24972         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24973         underflow and return argument in case of subnormal argument.
24974         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24975         Likewise.
24976         * math/auto-libm-test-in: Add more tests of expm1.
24977         * math/auto-libm-test-out: Regenerated.
24979         [BZ #16361]
24980         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24981         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24982         tiny results.
24983         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24984         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24985         tiny results.
24986         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24987         mark underflow exceptions as possibly missing for bug 16361.
24988         * math/auto-libm-test-out: Regenerated.
24990 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24992         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24993         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24994         Remove variable.
24995         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24996         (test-xfail-XOPEN2K8/utmpx.h/conform).
24998         * conform/conformtest.pl ($xerrors): New variable.
24999         (note_error): New function.
25000         (compiletest): New argument $xfail.  Use not_error.
25001         (runtest): Likewise.
25002         (top level): Handle xfail- lines.  Update calls to compiletest and
25003         runtest.  Handle xfail- and optional- in headers listed with
25004         allow-header.
25005         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
25006         (O_EXEC): Likewise.
25007         (O_SEARCH): Likewise.
25008         * conform/data/stropts.h-data (ioctl): Likewise.
25009         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
25010         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
25011         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
25012         (msghdr.msg_controllen): Likewise.
25013         (cmsghdr.cmsg_len): Likewise.
25014         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
25015         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
25016         variable.
25017         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25018         (test-xfail-XPG4/stropts.h/conform): Likewise.
25019         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25020         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25021         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25022         (test-xfail-UNIX98/stropts.h/conform): Likewise.
25023         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25024         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25025         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25026         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25027         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25028         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25029         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25030         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25031         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25032         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25033         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25034         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25035         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25036         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25037         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25039 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25041         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
25042         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
25043         definitions for proper unfolding of __MATHDECL_VEC.
25045 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
25047         * benchtests/bench-strcoll.c:
25048         Include string.h.
25049         (main): Remove unused variable res.
25051 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
25053         * timezone/Makefile (%/UTC %/Universal):
25054         Generate test-result files for UTC and Universal.
25056 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
25058         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25060 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
25062         [BZ #16350]
25063         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
25064         for arguments with small absolute value.
25065         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
25066         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
25067         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
25068         (__asinh): Force underflow exception for arguments with small
25069         absolute value.
25070         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
25071         (__asinhf): Force underflow exception for arguments with small
25072         absolute value.
25073         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
25074         (__asinhl): Force underflow exception for arguments with small
25075         absolute value.
25076         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
25077         (__asinhl): Force underflow exception for arguments with small
25078         absolute value.
25079         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
25080         (__asinhl): Force underflow exception for arguments with small
25081         absolute value.
25082         * math/auto-libm-test-in: Do not mark underflow exceptions as
25083         possibly missing for bug 16350.
25084         * math/auto-libm-test-out: Regenerated.
25086         * include/bits/ipc.h: Remove file.
25087         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
25088         variable.
25089         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25090         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25091         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25092         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25093         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25094         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25095         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25096         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25097         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25099         * math/auto-libm-test-in: Remove spurious underflow allowance for
25100         tests of cexp.
25101         * math/auto-libm-test-out: Regenerated.
25103         [BZ #18558]
25104         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
25105         unconditional definition.
25106         (MCAST_BLOCK_SOURCE): Likewise.
25107         (MCAST_UNBLOCK_SOURCE): Likewise.
25108         (MCAST_LEAVE_GROUP): Likewise.
25109         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25110         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25111         (MCAST_MSFILTER): Likewise.
25112         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
25113         Remove variable.
25114         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25115         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25116         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25117         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25118         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25120 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
25122         * NEWS: Mention addition of x86_64 vector sincosf.
25123         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25124         * math/test-float-vlen4.h: Likewise.
25125         * math/test-float-vlen8.h: Likewise.
25126         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25127         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25128         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25129         * sysdeps/x86_64/fpu/Versions: New versions added.
25130         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25131         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25132         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25133         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25134         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25135         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25136         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25138         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25139         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25140         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25141         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25142         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25143         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25144         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25145         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25146         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25147         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25148         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25149         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25150         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25151         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25152         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25153         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25155         * NEWS: Mention addition of x86_64 vector sincos.
25156         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25157         * math/math.h (__MATHDECL_VEC): New macro.
25158         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25159         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25160         declaration under condition.
25161         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25162         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25163         TEST_VEC_LOOP change.
25164         * math/test-double-vlen4.h: Likewise.
25165         * math/test-double-vlen8.h: Likewise.
25166         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25167         * math/test-float-vlen4.h: Likewise.
25168         * math/test-float-vlen8.h: Likewise.
25169         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25170         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25171         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25172         * sysdeps/x86_64/fpu/Versions: New versions added.
25173         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25174         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25175         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25176         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25177         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25178         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25179         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25180         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25181         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25182         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25183         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25184         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25185         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25186         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25187         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25188         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25190         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25193         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25194         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25195         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25196         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25198         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25199         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25200         redirections for powf.
25201         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25202         * sysdeps/x86_64/fpu/Versions: New versions added.
25203         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25204         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25205         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25206         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25207         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25208         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25209         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25211         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25212         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25213         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25214         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25215         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25216         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25217         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25218         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25219         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25220         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25221         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25222         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25223         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25224         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25225         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25226         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25227         * math/test-float-vlen16.h: Fixed 2 argument macro.
25228         * math/test-float-vlen4.h: Likewise.
25229         * math/test-float-vlen8.h: Likewise.
25230         * NEWS: Mention addition of x86_64 vector powf.
25232 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
25234         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25235         and redefine.
25236         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25237         and redefine.
25238         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25239         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25240         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25242         [BZ #18553]
25243         * resource/getpriority.c (getpriority): Rename to __getpriority
25244         and define as weak alias of __getpriority.
25245         * resource/setpriority.c (setpriority): Rename to __setpriority
25246         and define as weak alias of __setpriority.
25247         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25248         __getpriority and define as weak alias of __getpriority.
25249         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25250         __setpriority and define as weak alias of __setpriority.
25251         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25252         strong name.
25253         (setpriority): Use __setpriority as strong name.
25254         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25255         __getpriority and define as weak alias of __getpriority.
25256         * include/sys/resource.h (__getpriority): Declare.  Use
25257         libc_hidden_proto.
25258         (__setpriority): Likewise.
25259         (getpriority): Don't use libc_hidden_proto.
25260         (setpriority): Likewise.
25261         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25262         getpriority.  Call __setpriority instead of setpriority.
25263         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25264         Remove variable.
25266         [BZ #18547]
25267         * misc/getttyent.c (getttynam): Rename to __getttynam and define
25268         as weak alias of __getttynam.  Use prototype function definition.
25269         Call __setttyent, __getttyent and __endttyent instead of
25270         setttyent, getttyent and endttyent.
25271         (getttyent): Rename to __getttyent and define as weak alias of
25272         __getttyent.  Call __setttyent instead of setttyent.  Call
25273         __fgets_unlocked instead of fgets_unlocked.
25274         (setttyent): Rename to __setttyent and define as weak alias of
25275         __setttyent.
25276         (endttyent): Rename to __endttyent and define as weak alias of
25277         __endttyent.
25278         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
25279         (__setttyent): Likewise.
25280         (__endttyent): Likewise.
25281         (getttyent): Don't use libc_hidden_proto.
25282         (setttyent): Likewise.
25283         (endttyent): Likewise.
25284         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25285         __endttyent instead of setttyent, getttyent and endttyent.
25286         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25287         Remove variable.
25289         [BZ #18546]
25290         * socket/recv.c (__recv): Use libc_hidden_def.
25291         * socket/socket.c (__socket): Likewise.
25292         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25293         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25294         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25295         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25296         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25297         libc_hidden_def.
25298         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25299         libc_hidden_weak.
25300         * include/sys/socket.h (__socket): Do not use attribute_hidden.
25301         Use libc_hidden_proto.
25302         (__recv): Likewise.
25303         * socket/Versions (libc): Export __recv and __socket at version
25304         GLIBC_PRIVATE.
25305         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25306         instead of recv.
25307         (init_mq_netlink): Call __socket instead of socket.
25308         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25309         Remove variable.
25311         [BZ #18545]
25312         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25313         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
25314         hidden_weak.
25315         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25316         define as alias of __mq_timedsend.  Use hidden_weak.
25317         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25318         __mq_timedsend as strong name.
25319         (mq_timedreceive): Use __mq_timedreceive as strong name.
25320         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
25321         (__mq_timedreceive): Likewise.
25322         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25323         __mq_timedreceive instead of mq_timedreceive.
25324         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25325         instead of mq_timedsend.
25326         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25327         Remove variable.
25329         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25330         hidden_def and hidden_weak instead of libc_hidden_def and
25331         libc_hidden_weak.
25332         (top level): Refer to hidden_def in comment.
25333         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25334         macro.  Use it instead of libc_hidden_def.
25335         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25336         specify __GI_* name explicitly.
25337         (mq_timedreceive): Likewise.
25338         (mq_setattr): Likewise.
25340         [BZ #18544]
25341         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25342         __pthread_barrier_init and define as weak alias of
25343         __pthread_barrier_init.
25344         * sysdeps/sparc/nptl/pthread_barrier_init.c
25345         (pthread_barrier_init): Likewise.
25346         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25347         __pthread_barrier_wait and define as weak alias of
25348         __pthread_barrier_wait.
25349         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25350         (pthread_barrier_wait): Likewise.
25351         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25352         (pthread_barrier_wait): Likewise.
25353         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25354         (pthread_barrier_wait): Likewise.
25355         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25356         (pthread_barrier_wait): Likewise.
25357         * nptl/Versions (libpthread): Export __pthread_barrier_init and
25358         __pthread_barrier_wait at version GLIBC_PRIVATE.
25359         * include/pthread.h (__pthread_barrier_init): Declare.
25360         (__pthread_barrier_wait): Likewise.
25361         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25362         Call __pthread_barrier_wait instead of pthread_barrier_wait.
25363         (helper_thread): Likewise.
25364         (init_mq_netlink): Call __pthread_barrier_init instead of
25365         pthread_barrier_init.
25367         [BZ #18542]
25368         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25369         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25370         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
25371         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25372         vswscanf.
25373         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25374         Remove variable.
25376         [BZ #18540]
25377         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25378         strong alias of _IO_fflush.  Use libc_hidden_def.
25379         * libio/iofflush_u.c (fflush_unlocked): Rename to
25380         __fflush_unlocked and define as weak alias of __fflush_unlocked.
25381         Use libc_hidden_weak.
25382         * include/stdio.h (__fflush_unlocked): Declare.  Use
25383         libc_hidden_proto.
25384         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25385         fflush_unlocked.
25386         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25387         Remove variable.
25389         [BZ #18539]
25390         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25391         define as weak alias of __addseverity.
25392         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25393         Remove variable.
25394         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25395         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25396         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25398         [BZ #18536]
25399         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25400         (__tfind): Likewise.
25401         (__tdelete): Likewise.
25402         (__twalk): Likewise.
25403         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25404         __twalk to GLIBC_PRIVATE.
25405         * include/search.h (__tsearch): Use libc_hidden_proto.
25406         (__tfind): Likewise.
25407         (__tdelete): Likewise.
25408         (__twalk): Likewise.
25409         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25410         Call __tdelete instead of tdelete.
25411         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25412         tfind.  Call __tsearch instead of tsearch.
25413         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25414         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25415         Remove variable.
25416         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25418         [BZ #18534]
25419         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25420         (dprintf): Define as a weak alias of __dprintf, not a strong
25421         alias.
25422         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
25423         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25424         dprintf.
25425         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25426         Remove variable.
25427         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25428         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25430         [BZ #18533]
25431         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25432         not a strong alias.
25433         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25434         Remove variable.
25436         [BZ #18532]
25437         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25438         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
25439         (in6addr_loopback): Rename to __in6addr_loopback and define as
25440         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
25441         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
25442         libc_hidden_proto.
25443         (__in6addr_any): Likewise.
25444         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25445         in6addr_any.
25446         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25447         variable.
25448         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25450 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
25452         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25453         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25454         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25455         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25456         redirections for pow.
25457         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25458         * sysdeps/x86_64/fpu/Versions: New versions added.
25459         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25460         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25461         build of SSE, AVX2 and AVX512 IFUNC versions.
25462         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25463         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25464         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25465         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25466         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25467         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25468         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25469         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25470         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25471         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25472         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25473         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25474         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25475         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25476         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25477         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25478         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25479         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25480         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25481         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25482         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25483         * NEWS: Mention addition of x86_64 vector pow.
25485         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25486         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25487         redirections for expf.
25488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25489         * sysdeps/x86_64/fpu/Versions: New versions added.
25490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25492         build of SSE, AVX2 and AVX512 IFUNC versions.
25493         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25495         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25496         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25497         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25498         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25499         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25500         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25501         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25502         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25503         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25504         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25505         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25506         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25507         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25508         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25509         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25510         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25511         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25512         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25513         * NEWS: Mention addition of x86_64 vector expf.
25515         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25516         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25517         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25518         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25519         redirections for exp.
25520         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25521         * sysdeps/x86_64/fpu/Versions: New versions added.
25522         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25523         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25524         build of SSE, AVX2 and AVX512 IFUNC versions.
25525         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25526         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25527         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25528         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25529         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25530         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25531         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25532         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25533         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25534         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25535         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25536         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25537         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25538         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25539         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25541         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25542         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25543         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25544         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25545         * NEWS: Mention addition of x86_64 vector exp.
25547         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25548         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25549         redirections for logf.
25550         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25551         * sysdeps/x86_64/fpu/Versions: New versions added.
25552         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25553         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25554         build of SSE, AVX2 and AVX512 IFUNC versions.
25555         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25556         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25557         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25558         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25559         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25560         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25561         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25562         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25563         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25564         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25565         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25566         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25567         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25568         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25569         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25570         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25571         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25572         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25573         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25574         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25575         * NEWS: Mention addition of x86_64 vector logf.
25577         * bits/libm-simd-decl-stubs.h: Added stubs for log.
25578         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25579         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25580         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25581         redirections for log.
25582         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25583         * sysdeps/x86_64/fpu/Versions: New versions added.
25584         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25585         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25586         build of SSE, AVX2 and AVX512 IFUNC versions.
25587         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25588         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25589         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25590         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25591         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25592         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25593         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25594         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25595         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25596         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25597         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25598         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25599         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25600         test.
25601         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25602         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25603         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25604         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25605         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25606         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25607         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25608         * NEWS: Mention addition of x86_64 vector log.
25610 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25612         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25613         cfi_adjust_cfa_offset argument.
25614         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25615         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25617         [BZ #18034]
25618         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25619         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25620         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25621         ordering using ldar.
25622         (_dl_tlsdesc_dynamic): Likewise.
25623         (_dl_tlsdesc_return_lazy): Likewise.
25624         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25625         relaxed atomics instead of volatile and synchronize with release store.
25626         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25627         volatile.
25628         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25630 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
25632         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25633         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25634         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25635         * sysdeps/x86_64/fpu/Versions: New versions added.
25636         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25637         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25638         build of SSE, AVX2 and AVX512 IFUNC versions.
25639         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25640         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25641         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25642         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25643         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25644         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25645         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25646         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25647         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25648         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25649         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25650         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25651         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25652         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25653         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25654         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25657         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25658         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25659         * NEWS: Mention addition of x86_64 vector sinf.
25661 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
25663         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25664         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25665         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25666         Remove variable.
25667         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25668         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25670 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25672         [BZ #18530]
25673         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25674         strong alias of _IO_fputs.  Use libc_hidden_def.
25675         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25676         and define as weak alias of __fputs_unlocked.  Use
25677         libc_hidden_weak.
25678         * include/stdio.h (__fputs_unlocked): Declare.  Use
25679         libc_hidden_proto.
25680         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25681         fputs_unlocked.
25683         [BZ #18529]
25684         * resolv/netdb.h [__USE_POSIX]: Change condition to
25685         [__USE_XOPEN2K].
25686         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25687         not expect.
25688         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25689         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25690         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25691         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25692         [XPG4 || UNIX98] (AI_ALL): Likewise.
25693         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25694         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25695         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25696         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25697         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25698         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25699         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25700         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25701         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25702         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25703         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25704         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25705         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25706         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25707         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25708         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25709         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25710         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25711         [XPG4 || UNIX98] (gai_strerror): Likewise.
25712         [XPG4 || UNIX98] (getaddrinfo): Likewise.
25713         [XPG4 || UNIX98] (getnameinfo): Likewise.
25715         [BZ #18528]
25716         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25717         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25718         __USE_XOPEN2K8].
25719         (getgrent): Likewise.
25720         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25721         expect.
25722         [XPG3 || POSIX2008] (endgrent): Likewise.
25723         [XPG3] (setgrent): Likewise.
25724         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25725         variable.
25726         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25728         [BZ #18527]
25729         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25730         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
25731         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25732         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25733         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25734         * include/unistd.h (__getlogin_r): Declare.  Use
25735         libc_hidden_proto.
25736         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25737         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25738         variable.
25739         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25740         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25741         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25743 2015-06-12  Martin Sebor  <msebor@redhat.com>
25745         [BZ #18512]
25746         * Makerules (check-install-supported): New target.
25747         (install): Add check-install-supported as a dependency.
25748         * manual/install.texi (Installing the C Library): Document
25749         that overriding prefix and exec_prefix is not supported.
25750         Mention DESTDIR.
25751         * INSTALL: Regenerate from the above.
25753 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25755         [BZ #18519]
25756         * posix/Versions (libc): Export __libc_pread at version
25757         GLIBC_PRIVATE.
25758         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25759         instead of pread.
25760         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25761         variable.
25763         [BZ #18522]
25764         * misc/efgcvt_r.c
25765         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25766         (cvt_symbol): Use weak_alias instead of strong_alias.
25767         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25768         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25769         Remove variable.
25770         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25771         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25773         [BZ #18520]
25774         * inet/herrno.c (h_errno): Rename to __h_errno.
25775         (__libc_h_errno): Define as alias of __h_errno not h_errno.
25776         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25777         to __h_errno instead of h_errno.
25778         * nptl/herrno.c (h_errno): Rename to __h_errno.
25779         (__h_errno_location): Refer to __h_errno not h_errno.
25780         * resolv/Versions (h_errno): Rename to __h_errno.
25781         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25782         Remove variable.
25783         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25785 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
25787         * configure.ac: More strict check for AVX512 assembler support.
25788         * configure: Regenerated.
25790         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25791         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25792         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25793         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25794         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25795         * sysdeps/x86_64/fpu/Versions: New versions added.
25796         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25797         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25798         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25799         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25800         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25801         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25802         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25803         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25804         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25805         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25806         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25807         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25808         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25809         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25810         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25811         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25812         test.
25813         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25814         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25815         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25816         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25817         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25818         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25819         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25820         * NEWS: Mention addition of x86_64 vector sin.
25822 2015-06-11  Florian Weimer  <fweimer@redhat.com>
25824         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25825         comment.
25827 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25829         [BZ #18479]
25830         * nptl/pt-interp.c: New file.
25831         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25832         Add pt-interp.
25833         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25834         $(common-objpfx)runtime-linker.h.
25836 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
25838         * Makeconfig (+interp): Remove unused variable.
25839         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25840         only.  Depend on $(common-objpfx)runtime-linker.h instead of
25841         $(elf-objpfx)runtime-linker.h.
25842         ($(elf-objpfx)runtime-linker.h): Rename to
25843         $(common-objpfx)runtime-linker.h and move ...
25844         * Makerules [$(build-shared) = yes]: ... here.
25845         * elf/interp.c: Include <runtime-linker.h> instead of
25846         <elf/runtime-linker.h>.
25848 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25850         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25851         (__gettimeofday_syscall): Remove vsyscall fallback.
25852         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25853         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25854         Add syscall fallback function.
25855         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25856         if vDSO is not present.
25857         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25858         fallback function.
25859         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25860         present.
25861         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25862         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25864 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
25866         [BZ #18497]
25867         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25868         of wcscmp.
25869         (wcscmp): Define as weak alias of WCSCMP.
25870         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25871         wcscoll.
25872         (USE_HIDDEN_DEF): Define.
25873         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25874         __wcscoll.  Don't use libc_hidden_weak.
25875         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25876         wcscmp.
25877         * sysdeps/i386/i686/multiarch/wcscmp-c.c
25878         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25879         __GI_wcscmp.
25880         (weak_alias): Undefine and redefine.
25881         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25882         __wcscmp and define as weak alias of __wcscmp.
25883         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25884         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
25885         (__wcscoll): Likewise.
25886         (wcscmp): Don't use libc_hidden_proto.
25887         (wcscoll): Likewise.
25888         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25889         wcscoll.
25890         * posix/regexec.c (check_node_accept_bytes): Likewise.
25891         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25892         variable.
25893         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25894         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25896         [BZ #18507]
25897         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25898         __fstatvfs and define as weak alias of __fstatvfs.  Use
25899         libc_hidden_weak.
25900         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25901         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25902         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25903         Define as alias of __fstatvfs, not fstatvfs.
25904         (fstatvfs64): Likewise.
25905         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25906         Define as alias of __statvfs, not statvfs.
25907         (statvfs64): Likewise.
25908         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25909         Remove variable.
25911 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25914         (HAVE_GETCPU_VSYSCALL): Define.
25915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25916         (HAVE_GETCPU_VSYSCALL): Likewise.
25917         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25918         * sysdeps/unix/sysv/linux/sched_getcpu.c
25919         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25920         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25921         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25922         prototype.
25923         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25924         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25925         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25926         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25927         Define.
25928         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25929         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25930         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25931         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25933 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25935         * sysdeps/x86_64/fpu/Makefile: New file.
25936         * sysdeps/x86_64/fpu/Versions: New file.
25937         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25938         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25939         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25940         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25941         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25942         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25943         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25944         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25945         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25946         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25947         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25948         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25949         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25950         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25951         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25952         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25953         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25954         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25955         * sysdeps/x86_64/configure: Regenerated.
25956         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25957         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25958         * manual/install.texi (Configuring and compiling): Document
25959         --disable-mathvec.
25960         * INSTALL: Regenerated.
25961         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25963         * math/Makefile: Added rules for vector tests.
25964         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25965         declaration under condition.
25966         * math/test-double-vlen2.h: New file.
25967         * math/test-double-vlen4.h: New file.
25968         * math/test-double-vlen8.h: New file.
25969         * math/test-vec-loop.h: Added initialization macro.
25970         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25971         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25972         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25973         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25974         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25975         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25976         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25977         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25978         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25979         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25980         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25983         * sysdeps/x86_64/fpu/Versions: New versions added.
25984         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25985         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25986         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25987         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25988         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25989         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25990         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25991         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25992         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25993         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25994         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25995         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25996         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25997         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25998         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25999         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26000         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
26001         * NEWS: Mention addition of x86_64 vector cosf.
26003         * math/Makefile: Added CFLAGS for new tests.
26004         * math/test-float-vlen16.h: New file.
26005         * math/test-float-vlen4.h: New file.
26006         * math/test-float-vlen8.h: New file.
26007         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
26008         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
26009         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26010         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
26011         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
26012         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
26013         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
26014         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
26015         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
26016         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
26017         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
26019 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
26021         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
26022         * locale/programs/ld-ctype.c: Likewise.
26024 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
26026         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
26027         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
26028         bit_ZMM16_31_state): New macro.
26029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26030         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
26032 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
26034         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
26036 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
26038         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
26040 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
26042         [BZ #18498]
26043         * libio/memstream.c (open_memstream): Rename to __open_memstream
26044         and define as weak alias of __open_memstream.
26045         * include/stdio.h (__open_memstream): Declare.  Use
26046         libc_hidden_proto.
26047         (open_memstream): Don't use libc_hidden_proto.
26048         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
26049         open_memstream.
26050         * posix/getopt.c (_getopt_internal_r): Likewise.
26051         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
26052         variable.
26053         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26054         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26055         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26057         [BZ #18496]
26058         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
26059         instead of wcrtomb.
26061         [BZ #18483]
26062         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
26063         [__USE_XOPEN2K8].  Remove redundant #endif.
26064         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
26065         Remove redundant #if.
26066         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
26067         Remove variable.
26068         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26069         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26071         [BZ #18495]
26072         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
26073         (__iswlower): Likewise.
26074         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
26075         (__iswlower): Likewise.
26076         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
26077         instead of towlower.
26078         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
26079         instead of iswlower.  Call __towupper instead of towupper.
26080         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
26081         instead of iswalnum.
26083 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26085         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
26086         errors to stderr.
26088 2015-06-05  Florian Weimer  <fweimer@redhat.com>
26090         [BZ #15661]
26091         [BZ #17322]
26092         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26093         Check for overflow properly.  Check for O_APPEND.  Ignore large
26094         file system block sizes.  Add comments about problems.
26095         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
26096         * manual/filesys.texi (Storage Allocation): New node.
26098 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26100         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
26101         cancellable syscalls.
26102         (SYS_ify): Add guard to no redefine it.
26103         (INLINE_SYSCALL): Likewise.
26104         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
26105         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
26106         SYSCALL_CANCEL instead.
26107         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
26108         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26109         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26110         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26111         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26112         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
26113         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26114         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26115         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26116         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26117         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26118         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26119         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26120         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26121         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26122         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26123         Likewise.
26124         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26125         (__libc_pread64): Likewise.
26126         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26127         (__libc_preadv): Likewise.
26128         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26129         (__libc_readv64): Likewise.
26130         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26131         (__libc_pwrite): Likewise.
26132         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26133         (__libc_pwrite64): Likewise.
26134         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26135         (__libc_pwritev): Likewise.
26136         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26137         (__libc_pwritev64): Likewise.
26138         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26139         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26140         (sync_file_range): Likewise.
26141         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26142         Likewise.
26143         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26144         Likewise.
26145         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26146         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26147         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26148         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26149         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26150         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26151         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26152         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26154         Likewise.
26155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26156         (__libc_read64): Likewise.
26157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26158         Likewise.
26159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26160         Likewise.
26161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26162         Likewise.
26163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26164         Likewise.
26165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26166         (__libc_pread64): Likewise.
26167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26168         Likewise.
26169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26170         (__libc_pwrite64): Likewise.
26171         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26172         (sync_file_range): Likewise.
26173         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26174         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26175         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26176         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26177         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26178         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26179         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26180         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26181         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26182         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26183         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26184         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26185         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26186         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26187         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26188         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26189         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26190         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26191         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26192         Likewise.
26193         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26194         Likewise.
26195         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26196         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26197         Likewise.
26198         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26199         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26200         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26201         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26202         Likewise.
26203         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26204         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26205         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26206         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26207         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26209 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
26211         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26212         Include dl-vdso.
26213         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26214         Use VDSO routines for gettimeofday, clock_gettime if
26215         available.
26216         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26217         Declare VDSO symbols.
26218         * sysdeps/unix/sysv/linux/arm/sysdep.h:
26219         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26220         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26221         * sysdeps/unix/sysv/linux/arm/Versions: Add
26222         __vdso_clock_gettime.
26224 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26226         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26227         be an inline implementation regardless of library is built within.
26228         (open_not_cancel_2): Likewise.
26229         (__read_nocancel): Likewise.
26230         (__write_nocancel): Likewise.
26231         (openat_not_cancel): Likewise.
26232         (openat_not_cancel_3): Likewise.
26233         (openat64_not_cancel): Likewise.
26234         (openat64_not_cancel_3): Likewise.
26235         (__close_nocancel): Likewise.
26236         (pause_not_cancel): Likewise.
26237         (nanosleep_not_cancel): Likewise.
26238         (sigsuspend_not_cancel): Likewise.
26240 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26242         [BZ #14958]
26243         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26244         wake-up.
26245         (__pthread_rwlock_rdlock_slow): Likewise.
26246         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26247         Likewise.
26248         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26249         Likewise.
26250         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26251         * nptl/tst-rwlock16.c: New file.
26252         * nptl/Makefile (tests): Add new test.
26254 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26256         [BZ #18324]
26257         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26258         missing wake-up of readers.
26259         * nptl/tst-rwlock15.c: New file.
26260         * nptl/Makefile (tests): Add new test.
26262 2015-06-03  Roland McGrath  <roland@hack.frob.com>
26264         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26265         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26266         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26267         and __nacl_supply_interface_rtld.
26268         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26269         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26270         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26271         Add __nacl_supply_interface_rtld.
26272         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26274 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26276         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26277         isfinite.
26278         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26279         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26281 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26283         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26284         __signbit* with standard C99 macros.
26285         * math/e_exp10l.c: Likewise.
26286         * math/e_exp2l.c: Likewise.
26287         * math/e_scalb.c: Likewise.
26288         * math/e_scalbf.c: Likewise.
26289         * math/e_scalbl.c: Likewise.
26290         * math/s_ldexp.c: Likewise.
26291         * math/s_ldexpf.c: Likewise.
26292         * math/s_ldexpl.c: Likewise.
26293         * math/w_atan2.c: Likewise.
26294         * math/w_atan2f.c: Likewise.
26295         * math/w_atan2l.c: Likewise.
26296         * math/w_cosh.c: Likewise.
26297         * math/w_coshf.c: Likewise.
26298         * math/w_coshl.c: Likewise.
26299         * math/w_exp10.c: Likewise.
26300         * math/w_exp10f.c: Likewise.
26301         * math/w_exp10l.c: Likewise.
26302         * math/w_exp2.c: Likewise.
26303         * math/w_exp2f.c: Likewise.
26304         * math/w_exp2l.c: Likewise.
26305         * math/w_fmod.c: Likewise.
26306         * math/w_fmodf.c: Likewise.
26307         * math/w_fmodl.c: Likewise.
26308         * math/w_hypot.c: Likewise.
26309         * math/w_hypotf.c: Likewise.
26310         * math/w_hypotl.c: Likewise.
26311         * math/w_jnl.c: Likewise.
26312         * math/w_lgamma.c: Likewise.
26313         * math/w_lgamma_r.c: Likewise.
26314         * math/w_lgammaf.c: Likewise.
26315         * math/w_lgammaf_r.c: Likewise.
26316         * math/w_lgammal.c: Likewise.
26317         * math/w_lgammal_r.c: Likewise.
26318         * math/w_pow.c: Likewise.
26319         * math/w_powf.c: Likewise.
26320         * math/w_powl.c: Likewise.
26321         * math/w_remainder.c: Likewise.
26322         * math/w_remainderf.c: Likewise.
26323         * math/w_remainderl.c: Likewise.
26324         * math/w_scalb.c: Likewise.
26325         * math/w_scalbf.c: Likewise.
26326         * math/w_scalbl.c: Likewise.
26327         * math/w_scalbln.c: Likewise.
26328         * math/w_scalblnf.c: Likewise.
26329         * math/w_scalblnl.c: Likewise.
26330         * math/w_sinh.c: Likewise.
26331         * math/w_sinhf.c: Likewise.
26332         * math/w_sinhl.c: Likewise.
26333         * math/w_tgamma.c: Likewise.
26334         * math/w_tgammaf.c: Likewise.
26335         * math/w_tgammal.c: Likewise.
26336         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26337         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26338         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26339         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26340         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26341         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26342         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26343         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26344         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26345         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26346         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26347         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26348         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26349         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26350         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26351         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26352         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26353         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26354         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26355         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26356         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26357         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26358         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26359         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26360         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26361         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26362         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26363         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26364         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26365         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26366         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26367         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26368         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26369         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26370         * stdio-common/printf_fp.c: Likewise.
26371         * stdio-common/printf_fphex.c: Likewise.
26372         * stdio-common/printf_size.c: Likewise.
26374 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
26376         [BZ #18470]
26377         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26378         strnlen.
26379         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26380         Remove variable.
26381         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26382         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26383         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26384         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26385         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26386         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26387         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26388         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26389         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26390         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26392         [BZ #18468]
26393         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26394         weak alias of __wmemchr.  Use libc_hidden_weak.
26395         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
26396         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26397         instead of wmemchr.
26399 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26401         [BZ #18383]
26402         * elf/tst-tlsalign-extern.c: New file.
26403         * elf/tst-tlsalign-extern-static.c: New file.
26404         * elf/tst-tlsalign-vars.c: New file.
26405         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26406         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26407         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26408         ($(objpfx)tst-tlsalign-extern-static): Likewise.
26409         (test-xfail-tst-tlsalign-extern-static): New variable.
26411 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
26413         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26414         Use variable name _sc_err instead of err.
26415         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26416         instead of ret.
26417         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26418         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26419         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26420         (INLINE_SYSCALL): Likewise.
26422         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26423         * include/string.h (__strnlen): Use libc_hidden_proto.
26424         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26425         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26426         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26427         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26428         (libc_hidden_def): Undefine and redefine.
26429         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26430         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26431         __GI_strnlen.
26432         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26433         libc_hidden_def.
26434         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26436         [BZ #18469]
26437         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26438         weak alias of __towlower.  Use libc_hidden_weak.
26439         (towupper): Rename to __towupper and define as weak alias of
26440         __towupper.  Use libc_hidden_weak.
26441         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
26442         (__towupper): Likewise.
26443         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26444         __towlower instead of towlower.
26446 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26448         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26449         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26451 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26453         * sysdeps/aarch64/libm-test-ulps: Update.
26455 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26457         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26458         Define.
26459         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26461         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26462         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26463         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26464         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26465         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26467 2015-06-01  Martin Sebor  <msebor@redhat.com>
26469         [BZ #18116]
26470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26471         (__setcontext): Use extended four-operand version of mtsf whenever
26472         possible.
26473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26474         (__novec_swapcontext): Likewise.
26476 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26478         * benchtests/scripts/compare_bench.py: New file.
26479         * benchtests/scripts/import_bench.py (mean): New function.
26480         (split_list): Likewise.
26481         (do_for_all_timings): Likewise.
26482         (compress_timings): Likewise.
26484         * benchtests/scripts/import_bench.py: New file.
26485         * benchtests/scripts/validate_benchout.py: Import import_bench
26486         instead of jsonschema.
26487         (validate_bench): Remove function.
26488         (main): Use import_bench.
26490 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
26492         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26493         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26495 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26499 2015-05-28  Roland McGrath  <roland@hack.frob.com>
26501         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26502         set THREAD_SELF->tid to a magic value and futex-wake it.
26503         Pass its address to the thread_exit system call.
26504         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26505         bit is clear.
26506         * sysdeps/nacl/lowlevellock.h: New file.
26507         * sysdeps/nacl/lll_timedwait_tid.c: New file.
26509         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26510         Add TIMEOUT to current time, don't subtract it.
26512 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
26514         [BZ #2981]
26515         [BZ #18422]
26516         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26517         ($(objpfx)tst-audit2.out): Also depend on
26518         $(objpfx)tst-auditmod9b.so.
26519         * elf/tst-audit2.c: Include <dlfcn.h>.
26520         (calloc_called): New.
26521         (calloc): Allow to be called more than once.
26522         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26524 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
26526         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26527         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26529 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
26531         * stdlib/monetary.h: Fix comment.
26533 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
26535         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26536         Avoid using variables in #defines that might cause shadowing.
26537         (INTERNAL_VSYSCALL_CALL): Likewise.
26539 2015-05-26  Roland McGrath  <roland@hack.frob.com>
26541         * sysdeps/nacl/lll_timedlock_wait.c: New file.
26543         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26544         * nptl/lll_timedlock_wait.c: ... to this new file.
26545         * nptl/Makefile (libpthread-routines): Add it.
26546         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26547         * nptl/lll_timedwait_tid.c: ... to this new file.
26548         * nptl/Makefile (libpthread-routines): Add it.
26549         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26550         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26551         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26552         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26553         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26554         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26555         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26556         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26557         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26558         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26560 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26562         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26563         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26564         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26566         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26567         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26568         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26569         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26570         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26571         * sysdeps/unix/sysv/linux/tile/sysdep.h
26572         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26573         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26574         using vDSO syscall macro.
26576 2015-05-26  Andriy Rysin  <arysin@gmail.com>
26578         [BZ #17293]
26579         * uk_UA: Fix sorting order for Ukrainian locale
26581 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
26583         * stdlib/monetary.h: Fix comment.
26585 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26587         [BZ #18234]
26588         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26589         st_mtim and st_ctim members.
26590         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26591         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26592         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26593         (struct stat64): Likewise.
26594         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26595         (struct stat64): Likewise.
26596         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26597         (struct stat64): Likewise.
26599 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26601         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26602         Define and include sysdep-vdso.h.
26603         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26604         Likewise.
26605         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26606         Likewise.
26607         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26608         Define with VDSO_SYMBOL and use PTR_MANGLE.
26609         (__vdso_clock_gettime): Likewise.
26610         (__vdso_clock_getres): Likewise.
26611         (_libc_vdso_platform_setup): Likewise.
26612         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26613         Likewise.
26614         (_libc_vdso_platform_setup): Likewise.
26615         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26616         Likewise.
26617         (__vdso_clock_gettime): Likewise.
26618         (__vdso_clock_getres): Likewise.
26619         (__vdso_get_tbfreq): Likewise.
26620         (__vdso_getcpu): Likewise.
26621         (__vdso_time): Likewise.
26622         (__vdso_sigtramp_rt64): Likewise.
26623         (__vdso_signtramp32): Likewise.
26624         (__vdso_sigtramp_rt32): Likewise.
26625         (_libc_vdso_platform_setup): Likewise.
26626         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26627         Likewise.
26628         (__vdso_clock_gettime): Likewise.
26629         (__vdso_clock_getres): Likewise.
26630         (_libc_vdso_platform_setup): Likewise.
26631         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26632         Likewise.
26633         (__vdso_clock_gettime): Likewise.
26634         (_libc_vdso_platform_setup): Likewise.
26635         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26636         Likewise.
26637         (__vdso_getcpu): Likewise.
26638         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26639         Use VDSO_SYMBOL macro to define.
26640         (__vdso_clock_gettime): Likewise.
26641         (__vdso_clock_getres): Likewise.
26642         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26643         Likewise.
26644         (__vdso_clock_gettime): Likewise.
26645         (__vdso_clock_getres): Likewise.
26646         (__vdso_get_tbfreq): Likewise.
26647         (__vdso_getcpu): Likewise.
26648         (__vdso_time): Likewise.
26649         (__vdso_sigtramp_rt64): Likewise.
26650         (__vdso_signtramp32): Likewise.
26651         (__vdso_sigtramp_rt32): Likewise.
26652         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26653         Likewise.
26654         (__vdso_clock_gettime): Likewise.
26655         (__vdso_clock_getres): Likewise.
26656         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26657         Likewise.
26658         (__vdso_clock_gettime): Likewise.
26659         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26660         Likewise.
26661         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
26662         macro.
26663         (INTERNAL_VSYSCALL): Likewise.
26664         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26665         Remove macro.
26666         (INTERNAL_VSYSCALL): Likewise.
26667         (INTERNAL_VSYSCALL_NCS): Likewise.
26668         (INTERNAL_VSYSCALL_CALL): New macro.
26669         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26671         Likewise.
26672         (INTERNAL_VSYSCALL): Likewise.
26673         (INTERNAL_VSYSCALL_NCS): Likewise.
26674         (INTERNAL_VSYSCALL_CALL): New macro.
26675         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26677         (INLINE_VSYSCALL): Remove macro.
26678         (INTERNAL_VSYSCALL): Remove macro.
26679         (INTERNAL_VSYSCALL_NCS): Remove macro.
26680         (INTERNAL_VSYSCALL_CALL): New macro.
26681         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26682         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26683         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26684         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26685         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26687         (INLINE_VSYSCALL): Remove macro.
26688         (INTERNAL_VSYSCALL): Likewise.
26689         (INTERNAL_VSYSCALL_NCS): Likewise.
26690         (INTERNAL_VSYSCALL_CALL): New macro.
26691         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26692         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26693         PTR_DEMANGLE on vDSO pointer.
26694         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26695         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26696         macro.
26697         (INTERNAL_SYSCALL): Likewise.
26698         (INTERNAL_VSYSCALL_NCS): Remove macro.
26699         (INTERNAL_VSYSCALL_CALL): New macro.
26700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26701         Remove macro.
26702         (INTERNAL_VSYSCALL): Likewise.
26703         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26704         sysdep-vdso.h instead of libc-vdso.h.
26705         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26706         definition.
26707         (INLINE_VSYSCALL): Likewise.
26708         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26709         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26710         definition.
26711         (INLINE_VSYSCALL): Likewise.
26712         (INTERNAL_VSYSCALL): Likewise.
26713         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26714         * sysdeps/unix/sysv/linux/timespec_get.c
26715         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26716         (timespec_get): Use ANSI prototype.
26717         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26718         and definition for Linux.
26720 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26722         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26723         * include/libc-symbols.h: libmvec_hidden_* macro series added.
26725 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26727         [BZ #2981]
26728         [BZ #18410]
26729         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26730         for missing DT_PLTRELSZ.
26732 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26734         Remove obsolete aliases that broke 'locale -a'
26735         [BZ #18412]
26736         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26737         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26738         breaking some applications that use 'locale -a' output.
26739         Change the encoding of this file from Latin-1 to ASCII to avoid
26740         other potential problems with people grepping this file.
26742 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26744         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26745         -fasynchronous-unwind-tables.
26746         (CFLAGS-sendto.c): Likewise.
26747         (CFLAGS-sendmsg.c): Likewise.
26748         (CFLAGS-connect.c): Likewise.
26749         (CFLAGS-recvmsg.c): Likewise.
26750         (CFLAGS-recvfrom.c): Likewise.
26751         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26752         (SOCKETCALL): New macro: non-cancellable socketcall.
26753         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26754         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26755         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26756         * sysdeps/unix/sysv/linux/accept.c: New file.
26757         * sysdeps/unix/sysv/linux/bind.c: Likewise.
26758         * sysdeps/unix/sysv/linux/connect.c: Likewise.
26759         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26760         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26761         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26762         * sysdeps/unix/sysv/linux/listen.c: Likewise.
26763         * sysdeps/unix/sysv/linux/recv.c: Likewise.
26764         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26765         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26766         * sysdeps/unix/sysv/linux/send.c: Likewise.
26767         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26768         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26769         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26770         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26771         * sysdeps/unix/sysv/linux/socket.c: Likewise.
26772         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26773         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26774         prototype.
26775         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26776         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26777         instead of __internal_xxx function.
26778         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26779         prototype.
26780         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26781         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26782         instead of __internal_xxx function.
26783         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26784         prototype.
26785         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26786         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26787         instead of __internal_xxx function.
26788         * sysdeps/unix/sysv/linux/accept.S: Remove file.
26789         * sysdeps/unix/sysv/linux/bind.S: Likewise.
26790         * sysdeps/unix/sysv/linux/connect.S: Likewise.
26791         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26792         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26793         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26794         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26795         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26796         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26797         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26798         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26799         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26800         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26801         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26802         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26803         * sysdeps/unix/sysv/linux/listen.S: Likewise.
26804         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26805         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26806         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26807         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26810         * sysdeps/unix/sysv/linux/recv.S: Likewise.
26811         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26812         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26813         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26814         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26815         * sysdeps/unix/sysv/linux/send.S: Likewise.
26816         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26817         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26818         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26819         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26820         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26821         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26822         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26823         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26824         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26825         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26826         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26827         socketcall is implemented in GLIBC.
26829 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26831         * soft-fp/fmadf4.c: Include <libc-internal.h>.
26832         (__fma): Ignore uninitialized warnings around packing.
26833         * soft-fp/fmasf4.c: Include <libc-internal.h>.
26834         (__fmaf): Ignore uninitialized warnings around packing.
26835         * soft-fp/fmatf4.c: Include <libc-internal.h>.
26836         (__fmal): Ignore uninitialized warnings around packing.
26838         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26839         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26840         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26841         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26843         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26844         switch statement into default case.
26845         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26847         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26848         a conditional in forcing "inexact".
26849         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26850         Likewise.
26852 2015-05-22  Roland McGrath  <roland@hack.frob.com>
26854         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26855         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26856         for each INTERNAL_SYSCALL use.
26858 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26860         [BZ #438]
26861         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26862         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26863         variable.
26865         [BZ #18444]
26866         * string/basename.c (basename): Rename to __basename and define as
26867         weak alias of __basename.  Use libc_hidden_weak.
26868         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
26869         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26870         __basename instead of basename.
26871         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26872         Remove variable.
26873         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26875 2015-05-18  Florian Weimer  <fweimer@redhat.com>
26877         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26878         (_IO_JUMPS_FILE_plus): New.
26879         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26880         _IO_CAST_FIELD_ACCESS.
26881         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26882         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26883         * libio/freopen.c (freopen): Likewise.
26884         * libio/freopen64.c (freopen64): Likewise.
26885         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26886         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26887         * libio/iofwide.c (_IO_fwide): Likewise.
26888         * libio/memstream.c (open_memstream): Likewise.
26889         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26890         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26891         * libio/oldiopopen.c (_IO_old_popen): Likewise.
26893 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
26895         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26896         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26897         NADJ.
26898         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26899         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26900         NADJ.
26901         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26902         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26903         NADJ.
26905         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26906         (p == 4) case.
26908         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26909         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26910         Remove variable.
26911         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26912         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26913         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26915 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26917         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26918         Adjust jump table label generation macros.
26920 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26922         * stdio-common/vfprintf.c (vfprintf): Move local variables
26923         args_malloced, specs, specs_malloced, and the code after
26924         do_positional to the printf_positional function.
26925         (printf_positional): New function.
26927 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26929         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26930         function.
26931         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26932         STEP4_TABLE, process_arg): Move macro definitions
26933         out of the vfprintf function.  (Cosmetic change only.)
26935 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26937         * benchtests/Makefile (stdio-common-bench): Define.
26938         (benchset): Add stdio-common-bench.
26939         * sprintf-inputs: New file.
26940         * sprintf-source.c: New file.
26942 2015-05-21  Andreas Schwab  <schwab@suse.de>
26944         [BZ #13028]
26945         [BZ #17053]
26946         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26947         of struct __res_state.
26948         * resolv/res_send.c (__libc_res_nsend): Likewise.
26949         (get_nsaddr): New function.
26950         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26951         statp directly.
26953 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26955         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26956         -D_POSIX_C_SOURCE=199506L.
26958         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26960         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26961         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26962         Do not mention otherwise.
26963         [POSIX] (_XOPEN_VERSION): Do not expect.
26964         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26965         [POSIX] (_POSIX2_C_BIND): Likewise.
26966         [POSIX] (_POSIX2_VERSION): Likewise.
26967         [POSIX] (_XOPEN_XPG2): Likewise.
26968         [POSIX] (_XOPEN_XPG3): Likewise.
26969         [POSIX] (_XOPEN_XPG4): Likewise.
26970         [POSIX] (_XOPEN_UNIX): Likewise.
26971         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26972         [POSIX] (_POSIX_BARRIERS): Likewise.
26973         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26974         [POSIX] (_POSIX_CPUTIME): Likewise.
26975         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26976         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26977         [POSIX] (_POSIX_SHELL): Likewise.
26978         [POSIX] (_POSIX_SPAWN): Likewise.
26979         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26980         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26981         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26982         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26983         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26984         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26985         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26986         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26987         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26988         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26989         [POSIX] (_POSIX2_PBS): Likewise.
26990         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26991         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26992         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26993         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26994         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26995         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26996         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26997         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26998         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26999         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
27000         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
27001         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
27002         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
27003         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
27004         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
27005         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
27006         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
27007         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
27008         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
27009         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
27010         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
27011         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
27012         [POSIX] (_SC_2_C_BIND): Likewise.
27013         [POSIX] (_SC_2_C_VERSION): Likewise.
27014         [POSIX] (_SC_2_PBS): Likewise.
27015         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
27016         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
27017         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
27018         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
27019         [POSIX] (_SC_2_PBS_TRACK): Likewise.
27020         [POSIX] (_SC_ATEXIT_MAX): Likewise.
27021         [POSIX] (_SC_BARRIERS): Likewise.
27022         [POSIX] (_SC_BASE): Likewise.
27023         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
27024         [POSIX] (_SC_DEVICE_IO): Likewise.
27025         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
27026         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
27027         [POSIX] (_SC_FD_MGMT): Likewise.
27028         [POSIX] (_SC_FIFO): Likewise.
27029         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
27030         [POSIX] (_SC_FILE_LOCKING): Likewise.
27031         [POSIX] (_SC_FILE_SYSTEM): Likewise.
27032         [POSIX] (_SC_IOV_MAX): Likewise.
27033         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
27034         [POSIX] (_SC_NETWORKING): Likewise.
27035         [POSIX] (_SC_PAGE_SIZE): Likewise.
27036         [POSIX] (_SC_PASS_MAX): Likewise.
27037         [POSIX] (_SC_PIPE): Likewise.
27038         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
27039         [POSIX] (_SC_REGEXP): Likewise.
27040         [POSIX] (_SC_SHELL): Likewise.
27041         [POSIX] (_SC_SIGNALS): Likewise.
27042         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
27043         [POSIX] (_SC_SPIN_LOCKS): Likewise.
27044         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
27045         [POSIX] (_SC_USER_GROUPS): Likewise.
27046         [POSIX] (_SC_USER_GROUPS_R): Likewise.
27047         [POSIX] (_SC_STREAMS): Likewise.
27048         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
27049         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
27050         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
27051         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
27052         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
27053         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
27054         [POSIX] (_PC_FILESIZEBITS): Likewise.
27055         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
27056         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
27057         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
27058         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
27059         [POSIX] (uid_t): Likewise.
27060         [POSIX] (gid_t): Likewise.
27061         [POSIX] (off_t): Likewise.
27062         [POSIX] (pid_t): Likewise.
27063         [POSIX] (cuserid): Allow.
27064         (_SC_2_CHAR_TERM): Require constant.
27065         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
27066         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
27067         variable.
27069 2015-05-20  Roland McGrath  <roland@hack.frob.com>
27071         * sysdeps/nacl/pthread-pids.h: New file.
27072         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
27073         (create_thread): Use __nacl_get_tid to initialize PD->tid.
27075         * nptl/pthread-pids.h: New file.
27076         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
27077         * nptl/nptl-init.c: Include <pthread-pids.h>.
27078         (__pthread_initialize_minimal_internal):
27079         Call __pthread_initialize_pids instead of set_tid_address syscall.
27081         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
27082         * sysdeps/posix/usleep.c: ... here.
27084 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27086         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
27087         call_pselect6 object.
27088         [$(subdir) = io]: Remove call_sync_file_range object.
27089         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
27090         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
27091         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
27092         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
27094 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
27096         * math/s_cproj.c: Add include "math_private.h".
27097         * math/s_cprojf.c: Likewise.
27098         * math/s_cprojl.c: Likewise.
27100 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
27102         [BZ #18244]
27103         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
27104         high mantissa bit when testing whether P is a NaN.
27105         * math/libm-test.inc (remainder_test_data): Add more tests.
27106         (remquo_test_data): Likewise.
27108         [BZ #18049]
27109         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
27110         below -32, return the argument, with underflow if subnormal.
27111         * math/auto-libm-test-in: Add more tests of atanh.
27112         * math/auto-libm-test-out: Regenerated.
27114 2015-05-19  Roland McGrath  <roland@hack.frob.com>
27116         [BZ #18434]
27117         * nptl/tst-sem15.c: New file.
27118         * nptl/Makefile (tests): Add it.
27119         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27120         s/<</>>/ to fix typo in EOVERFLOW check.
27121         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27123 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27125         * manual/strings.texi (envz_remove): Fix typo in safety
27126         annotations.
27128 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
27129             Steve Ellcey  <sellcey@imgtec.com>
27131         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27132         in order to avoid strict alias warnings.
27133         (iruserok_af): Ditto for ra.
27135 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
27137         [BZ #17581]
27138         * malloc/hooks.c
27139         (magicbyte): Convert to a function and avoid returning 0x01.
27140         (mem2mem_check): Avoid using a length byte equal to the magic byte.
27141         (mem2chunk_check): Fix unsigned comparisons to zero.
27142         Hoist defs of sz and magic.
27144 2015-05-19  Richard Henderson  <rth@redhat.com>
27146         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27148         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27150 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27152         [BZ #16159]
27153         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27154         * malloc/arena.c (arena_lock): Check if arena is corrupt.
27155         (reused_arena): Find a non-corrupt arena.
27156         (heap_trim): Pass arena to unlink.
27157         * malloc/hooks.c (malloc_check_get_size): Pass arena to
27158         malloc_printerr.
27159         (top_check): Likewise.
27160         (free_check): Likewise.
27161         (realloc_check): Likewise.
27162         * malloc/malloc.c (malloc_printerr): Add arena argument.
27163         (unlink): Likewise.
27164         (munmap_chunk): Adjust.
27165         (ARENA_CORRUPTION_BIT): New macro.
27166         (arena_is_corrupt): Likewise.
27167         (set_arena_corrupt): Likewise.
27168         (sysmalloc): Use mmap if there are no usable arenas.
27169         (_int_malloc): Likewise.
27170         (__libc_malloc): Don't fail if arena_get returns NULL.
27171         (_mid_memalign): Likewise.
27172         (__libc_calloc): Likewise.
27173         (__libc_realloc): Adjust for additional argument to
27174         malloc_printerr.
27175         (_int_free): Likewise.
27176         (malloc_consolidate): Likewise.
27177         (_int_realloc): Likewise.
27178         (_int_memalign): Don't touch corrupt arenas.
27179         * malloc/tst-malloc-backtrace.c: New test case.
27181         * Makefile (summarize-tests): Fix return value on success.
27183         * manual/string.texi (Envz Functions): Add envz_remove.
27185 2015-05-18  Roland McGrath  <roland@hack.frob.com>
27187         * sysdeps/posix/opendir.c: Include <stdbool.h>.
27188         (invalid_name): New function, broken out of ...
27189         (__opendirat): ... here.  Call it.
27190         (need_isdir_precheck): New function, broken out of ...
27191         (__opendirat): ... here.  Call it.
27192         Use __fxstatat64, not __xstatat64.
27193         (opendir_oflags): New function, broken out of ...
27194         (__opendirat): ... here.  Call it.
27195         (opendir_tail): New function, broken out of ...
27196         (__opendirat): ... here.  Call it.
27197         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27198         opendir_tail, rather than punting to __opendirat.
27199         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27201 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27203         * .gitignore: Ignore generated *.pyc.
27205 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
27207         * include/stdio.h: Define __need_wint_t.
27208         * test-skeleton.c: Avoid `for' loop initial declaration.
27209         * nptl/tst-initializers1.c: Use test-skeleton.c.
27211 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27213         [BZ #18418]
27214         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27216 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27218         [BZ #16352]
27219         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27220         (__ieee754_atanh): Force underflow exception for results with
27221         small absolute value.
27222         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27223         (__ieee754_atanhf): Force underflow exception for results with
27224         small absolute value.
27225         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27226         (__ieee754_atanh): Force underflow exception for results with
27227         small absolute value.
27228         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27229         (__ieee754_atanhf): Force underflow exception for results with
27230         small absolute value.
27231         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27232         (__ieee754_atanhl): Force underflow exception for results with
27233         small absolute value.
27234         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27235         (__ieee754_atanhl): Force underflow exception for results with
27236         small absolute value.
27237         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27238         (__ieee754_atanhl): Force underflow exception for results with
27239         small absolute value.
27240         * math/auto-libm-test-in: Do not allow missing underflow
27241         exceptions from atanh.
27242         * math/auto-libm-test-out: Regenerated.
27244         [BZ #18221]
27245         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27246         2**-28 as threshold for returning x or +/- 1/x.
27247         * math/auto-libm-test-in: Add more tests of tan.
27248         * math/auto-libm-test-out: Regenerated.
27250         [BZ #18220]
27251         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27252         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27253         * math/auto-libm-test-in: Add another test of lgamma.
27254         * math/auto-libm-test-out: Regenerated.
27256 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
27258         * stdio-common/printf_fp.c (___printf_fp): Use abs.
27259         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
27260         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27261         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27262         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
27263         (ADD2A): Use fabs.  (SUB2A): Use fabs.
27264         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27265         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27266         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27267         (log1): Use fabs.  (my_log2): Use fabs.
27268         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27269         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27270         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27271         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27272         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27273         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
27274         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
27275         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
27276         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
27277         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27278         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27280 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27282         [BZ #18217]
27283         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27284         as threshold for returning 1 - x.
27285         * math/auto-libm-test-in: Add more tests of erfc.
27286         * math/auto-libm-test-out: Regenerated.
27288 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
27290         [BZ #18196]
27291         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27292         threshold for large arguments.
27293         * math/auto-libm-test-in: Add another test of atan.
27294         * math/auto-libm-test-out: Regenerated.
27296         [BZ #16339]
27297         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27298         (__log1p): Force underflow exception for results with small
27299         absolute value.
27300         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27301         (__log1pf): Force underflow exception for results with small
27302         absolute value.
27303         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27304         (__log1p): Force underflow exception for results with small
27305         absolute value.
27306         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27307         (__log1pf): Force underflow exception for results with small
27308         absolute value.
27309         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27310         (__log1pl): Force underflow exception for results with small
27311         absolute value.
27312         * math/auto-libm-test-in: Do not allow missing underflow
27313         exceptions from log1p.
27314         * math/auto-libm-test-out: Regenerated.
27316 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
27317             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27319         [BZ #16704]
27320         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27322 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
27324         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27325         (libmvec): New variable.
27326         * configure.ac: Added option for mathvec build.
27327         * configure: Regenerated.
27328         * mathvec/Depend: New file.
27329         * mathvec/Makefile: New file.
27330         * shlib-versions: Added libmvec.
27331         * math/Makefile: Added rule for libm.so installation.
27333         * bits/math-vector.h: New file.
27334         * bits/libm-simd-decl-stubs.h: New header.
27335         * math/Makefile (headers): Added new header
27336         libm-simd-decl-stubs.h.
27337         * math/math.h (__MATHCALL_VEC): New macro.
27339         * math/gen-libm-have-vector-test.sh: Script generates series of macros
27340         for conditions in testing functions.
27341         * math/Makefile: Added call of libm-have-vector-test.sh.
27342         * math/libm-test.inc (HAVE_VECTOR): New macros.
27344         * math/libm-test.inc: START refactored.
27345         * math/test-double.c (TEST_MATHVEC): Add define.
27346         * math/test-float.c: Likewise.
27347         * math/test-idouble.c: Likewise.
27348         * math/test-ifloat.c: Likewise.
27349         * math/test-ildoubl.c: Likewise.
27350         * math/test-ldouble.c: Likewise.
27351         * sysdeps/generic/math-tests-arch.h
27352         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27353         architecture check.
27355         * math/test-double.c (FUNC_TEST): New macro.
27356         * math/test-float.c: Likewise.
27357         * math/test-idouble.c: Likewise.
27358         * math/test-ifloat.c: Likewise.
27359         * math/test-ildoubl.c: Likewise.
27360         * math/test-ldouble.c: Likewise.
27361         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27363 2015-05-13  Roland McGrath  <roland@hack.frob.com>
27365         * sysdeps/nacl/fdopendir.c: New file.
27367         * dirent/scandir-tail.c: New file.
27368         * dirent/scandir64-tail.c: New file.
27369         * dirent/Makefile (routines): Add them.
27370         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27371         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27372         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27373         [!SCANDIR] (SCANDIR_TAIL): New macro.
27374         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27375         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27376         (SCANDIRAT): Macro removed.
27377         (SCANDIR_TAIL): New macro.
27378         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27379         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27380         (SCANDIRAT): Just call __opendirat and __scandir_tail.
27381         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27382         (READDIR): Macro removed.
27383         (SCANDIR_TAIL): New macro.
27384         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27385         (SCANDIR_TAIL): New macro.
27387         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27388         * dirent/scandir-cancel.c: ... to this new file.
27389         * dirent/Makefile (routines): Add it.
27390         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27391         * sysdeps/unix/sysv/linux/i386/scandir64.c
27392         (SKIP_SCANDIR_CANCEL): Macro removed.
27393         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27395         * dirent/tst-scandir.c: New file.
27396         * dirent/tst-scandir64.c: New file.
27397         * dirent/Makefile (tests): Add them.
27399 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
27401         [BZ #18409]
27402         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27404 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27406         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27407         list.
27409 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
27411         * benchtests/bench-strcoll.c: New benchmark.
27412         * benchtests/Makefile: Generate locales and run benchmark.
27413         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27414         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27415         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27416         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27417         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27418         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27419         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27420         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27421         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27422         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27423         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27424         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27425         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27426         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27427         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27428         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27429         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27430         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27431         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27432         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27433         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27434         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27435         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27436         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27438 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
27440         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27441         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27443 2015-05-12  Roland McGrath  <roland@hack.frob.com>
27445         * posix/uname-values.h: New file.
27446         * posix/uname.c: Include that instead of <config-name.h>.
27447         * sysdeps/nacl/uname-values.h: New file.
27448         * sysdeps/arm/nacl/uname-values.h: New file.
27450 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
27452         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27453         splitting into fields.
27455 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
27457         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27458         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27459         * locale/localeinfo.h: Add enum collation_encoding_type.
27460         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27461         * programs/ld-collate.c (collate_output): Add encoding type info.
27462         * string/strcoll_l.c (STRDIFF): New function.
27463         * (STRCOLL): Use STRDIFF to skip over equal prefix.
27464         * wcsmbs/wcscoll_l.c: Define STRDIFF.
27466 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
27468         [BZ #18397]
27469         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27470         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
27471         <fpu_control.h> instead of <math/fpu_control.c>.
27472         * sysdeps/mips/mips32/fpu/Makefile: New file.
27474 2015-05-11  Andreas Schwab  <schwab@suse.de>
27476         [BZ #18007]
27477         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27478         nss_endgrent.
27479         (_nss_compat_endgrent): Call nss_endgrent.
27480         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27481         nss_endpwent.
27482         (_nss_compat_endpwent): Call nss_endpwent.
27483         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27484         needent, call nss_setspent only if non-zero.
27485         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27486         (internal_endspent): Don't call nss_endspent.
27487         (_nss_compat_endspent): Call nss_endspent.
27488         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27489         Remove.  All uses removed.
27490         (internal_setent): Remove parameter stayopen, add parameter
27491         stream.  Use it instead of global variable.
27492         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27493         (internal_endent, internal_getent): Add parameter stream.  Use it
27494         instead of global variable.
27495         (CONCAT(_nss_files_end,ENTNAME))
27496         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27497         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
27498         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
27499         uses removed.
27500         (internal_setent, internal_endent): Add parameter stream.  Use it
27501         instead of global variable.
27502         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27503         stream.
27504         (get_next_alias): Add parameter stream.
27505         (_nss_files_getaliasent_r): Pass global stream.
27506         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
27507         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27508         (_nss_files_gethostbyname4_r): Pass local stream to
27509         internal_setent, internal_getent and internal_endent.  Remove
27510         locking.
27512 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27514         * tst-strfmon1.c (tests): Update expected currency symbol.
27516 2015-05-08  Roland McGrath  <roland@hack.frob.com>
27518         * sysdeps/nacl/gethostname.c: New file.
27520 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
27522         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27523         and sinh.
27524         * math/auto-libm-test-out: Regenerated.
27525         * sysdeps/i386/fpu/libm-test-ulps: Update.
27526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27528 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
27530         [BZ #18125]
27531         * stdlib/tst-setcontext3.c: New file.
27532         * stdlib/tst-setcontext3.sh: New file.
27533         * stdlib/Makefile (tests): Add tst-setcontext3.
27534         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27535         to verify test program created output file.
27536         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27537         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27538         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27539         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27541 2015-05-06  Roland McGrath  <roland@hack.frob.com>
27543         [BZ #18383]
27544         * elf/tst-tlsalign.c: New file.
27545         * elf/tst-tlsalign-static.c: New file.
27546         * elf/tst-tlsalign-lib.c: New file.
27547         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27548         (tests-static): Add tst-tlsalign-static.
27549         (modules-names): Add tst-tlsalign-lib.
27550         (test-xfail-tst-tlsalign): New variable.
27551         (test-xfail-tst-tlsalign-static): New variable.
27553         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27554         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27556 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
27558         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27559         csqrt, erfc, sin and sincos.
27560         * math/auto-libm-test-out: Regenerated.
27561         * sysdeps/i386/fpu/libm-test-ulps: Update.
27562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27564 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27566         * sysdeps/aarch64/libm-test-ulps: Update.
27568 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
27570         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27571         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27572         * math/auto-libm-test-out: Regenerated.
27573         * sysdeps/i386/fpu/libm-test-ulps: Update.
27574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27576 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27578         [BZ #18265]
27579         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27580         (wcsncpy): Likewise.
27582 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27584         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27585         Assume __ASSUME_FALLOCATE is always true.
27586         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27587         (__posix_fallocate64_l64): Likewise.
27588         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27589         (posix_fallocate): Likewise.
27590         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27591         (__posix_fallocate64_l64): Likewise.
27592         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27593         [!__ASSUME_FALLOCATE]: Add comment.
27595 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27597         * sysdeps/unix/sysv/linux/i386/Makefile
27598         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27599         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27600         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27601         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27602         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27603         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27604         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27606 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
27608         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27609         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27610         tgamma.
27611         * math/auto-libm-test-out: Regenerated.
27612         * sysdeps/i386/fpu/libm-test-ulps: Update.
27613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27615 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27617         * math/auto-libm-test-in: Add more tests of tgamma.
27618         * math/auto-libm-test-out: Regenerated.
27619         * sysdeps/i386/fpu/libm-test-ulps: Update.
27620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27622         * math/auto-libm-test-in: Add more tests of tanh.
27623         * math/auto-libm-test-out: Regenerated.
27624         * sysdeps/i386/fpu/libm-test-ulps: Update.
27625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27627         * math/auto-libm-test-in: Add more tests of tan.
27628         * math/auto-libm-test-out: Regenerated.
27629         * sysdeps/i386/fpu/libm-test-ulps: Update.
27630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27632         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27633         * math/auto-libm-test-out: Regenerated.
27634         * sysdeps/i386/fpu/libm-test-ulps: Update.
27635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27637         * math/auto-libm-test-in: Add another test of pow.
27638         * math/auto-libm-test-out: Regenerated.
27639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27641         * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
27647         log1p.
27648         * math/auto-libm-test-out: Regenerated.
27649         * sysdeps/i386/fpu/libm-test-ulps: Update.
27650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27652 2015-05-01  Mark Wielaard  <mjw@redhat.com>
27654         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27655         Elf64_Chdr structs and ELFCOMPRESS constants.
27657 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27659         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27660         expm1.
27661         * math/auto-libm-test-out: Regenerated.
27662         * sysdeps/i386/fpu/libm-test-ulps: Update.
27663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27665         * math/auto-libm-test-in: Add more tests of erf and erfc.
27666         * math/auto-libm-test-out: Regenerated.
27667         * sysdeps/i386/fpu/libm-test-ulps: Update.
27668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27670 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27672         * config.h.in (HAVE_AARCH64_BE): Add.
27674 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
27676         * math/auto-libm-test-in: Add more tests of csqrt.
27677         * math/auto-libm-test-out: Regenerated.
27678         * sysdeps/i386/fpu/libm-test-ulps: Update.
27679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27681         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27682         * math/auto-libm-test-out: Regenerated.
27683         * sysdeps/i386/fpu/libm-test-ulps: Update.
27684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27686         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27688 2015-04-29  Roland McGrath  <roland@hack.frob.com>
27690         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27691         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27693         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27694         (euidaccess, eaccess): Define as weak aliases.
27696         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27697         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
27698         but __suseconds_t is often 'long int' so some sources assume that
27699         type is being used (e.g. they use %ld to print tv_usec).
27701 2015-04-29  Florian Weimer  <fweimer@redhat.com>
27703         [BZ #18007]
27704         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27705         (CVE-2014-8121)
27706         * nss/tst-nss-getpwent.c: New file.
27707         * nss/Makefile (tests): Add new test.
27709 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
27711         [BZ #18346]
27712         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27713         exponents less than 48 as cases where high part of mantissa needs
27714         examining to determine whether argument is integral.
27715         * math/libm-test.inc (round_test_data): Add more tests.
27717 2015-04-28  Mark Wielaard  <mjw@redhat.com>
27719         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27721 2015-04-27  David S. Miller  <davem@davemloft.net>
27723         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27724         __tls_get_addr.
27725         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27727 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
27729         [BZ#18333]
27730         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27732 2015-04-27  Florian Weimer  <fweimer@redhat.com>
27734         [BZ#18333]
27735         * time/tzset.c (parse_tzname): Return error on memory allocation
27736         failure.
27737         * test-skeleton.c (struct temp_name_list): Change type of name
27738         member to non-const.
27739         (add_temp_file): Create a copy of the file name.
27740         (delete_temp_files): Deallocate memory.
27741         (create_temp_file): Add comment.
27743 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27745         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27746         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27748 2015-04-24  Roland McGrath  <roland@hack.frob.com>
27750         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27751         * sysdeps/arm/configure: Regenerated.
27753 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27755         [BZ #17715]
27756         * time/tzfile.c (__tzfile_read): Check for large values of
27757         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
27758         * time/tzset.c (__tzstring_len): New function, based on the old
27759         __tzstring function.
27760         (__tzstring): Call __tzstring_len.
27761         (parse_tzname): New helper function extracted from
27762         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
27763         the input string.
27764         (parse_offset): New helper function extracted from
27765         __tzset_parse_tz.  Replace switch with fallthrough with
27766         initialization before sscanf.
27767         (parse_rule): Likewise.
27768         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
27769         new-style function definition.
27770         * timezone/Makefile (tests): Add tst-tzset.
27771         (tst-tzset.out): Dependencies on time zone files.
27772         (tst-tzset-ENV): Set TZDIR.
27773         (testdata/XT%): Copy crafted time zone files.
27774         * timezone/README: Mention crafted time zone files.
27775         * timezone/testdata/XT1, timezone/testdata/XT2,
27776         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27777         files.
27778         * timezone/tst-tzset.c: New test.
27780 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27782         * Makeconfig (+gccwarn): Remove -Winline.
27784 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27786         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27788 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27790         * NEWS: Mention sysconf() cache information support for s390.
27791         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27793 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
27795         * math/k_casinh.c (__kernel_casinh): Use __copysign.
27796         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27797         (__nearbyint): Likewise.
27798         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27799         (copysignl): Likewise.
27801 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
27803         [BZ #18287]
27804         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27805         based on padding.  (CVE-2015-1781)
27807 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27809         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27810         libc-vdso.h.
27811         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27812         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27813         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27814         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27815         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27816         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27817         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27818         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27819         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27820         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27821         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27822         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27823         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27824         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27825         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27826         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27827         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27828         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27829         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27830         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27831         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27832         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27833         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27835 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
27837         * stdlib/setenv.c (__add_to_environ):
27838         Dump core quickly if setenv (..., NULL, ...) is called.
27839         This time, do it the right way, and pacify GCC with a pragma.
27841 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27843         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27844         IMAP->l_prev cannot be null, and #if out the code for the contrary
27845         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27846         believe that NS (&_dl_ns[NSID]) could point outside the array.
27848         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27849         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27850         before using NSID as an index.
27852 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
27854         [BZ #17825]
27855         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27856         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27857         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27859 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27861         Add preliminary port to Google Native Client on ARM.
27862         * abi-tags (.*-.*-nacl.*): New entry.
27863         * sysdeps/arm/nacl: New directory.
27864         * sysdeps/nacl: New directory.
27866 2015-04-16  David S. Miller  <davem@davemloft.net>
27868         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27869         lowlevellock-futex.h
27871 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
27873         * sysdeps/tile/configure.ac: New file.
27874         * sysdeps/tile/configure: Regenerated.
27876 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27878         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
27879         conditionals for weak_alias and libc_hidden_weak.
27880         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27881         libc_hidden_weak and weak_alias.
27882         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27883         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27884         and weak_alias for static one.
27886 2015-04-15  David S. Miller  <davem@davemloft.net>
27888         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27890 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27892         [BZ #18206]
27893         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27894           Use signed comparision instead of substraction to avoid
27895           overflow bug.
27896         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27897           Take the sign of ret.
27898         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27899           Do not expect precise return values. Only the sign matters.
27900         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27901         * wcsmbs/test-wcsncmp.c: New File.
27902         * string/test-strncmp.c: Add wcsncmp support.
27904 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27906         [BZ #6792]
27907         * math/w_log1p.c: New file.
27908         * math/w_log1pf.c: Likewise.
27909         * math/w_log1pl.c: Likewise.
27910         * math/Makefile (libm-calls): Add w_log1p.
27911         * math/s_log1pl.c (log1pl): Remove weak_alias.
27912         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27913         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27914         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27915         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27916         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27917         [NO_LONG_DOUBLE] (log1pl): Likewise.
27918         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27919         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27920         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27921         (log1p): Remove long_double_symbol.
27922         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27923         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27924         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27925         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27926         remove weak_alias for corresponding log1p function.
27927         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27928         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27929         * sysdeps/ia64/fpu/w_log1p.c: New file.
27930         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27931         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27932         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27934 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27936         [BZ #18247]
27937         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27938         decimal exponent by 1.
27939         * stdlib/tst-strtod-round-data: Add more tests.
27940         * stdlib/tst-strtod-round.c (tests): Regenerated.
27942 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27944         * math/auto-libm-test-in: Add more tests of clog and clog10.
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-09  Roland McGrath  <roland@hack.frob.com>
27951         * Makeconfig (module-cppflags): Exclude all .v.i files.
27952         (skip-module-cppflags): Variable removed.
27954         * configure.ac (libc_config_ok): Initialize before reading
27955         preconfigure scripts, not after.
27956         * configure: Regenerated.
27958         * test-skeleton.c (TIMEOUT): Move #define to top level.
27959         (main): Grok environment variable TEST_DIRECT.  If set, print
27960         test expectation details into that file and then behave as if
27961         given --direct.
27963 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27965         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27966         warning on 32-bit.
27968 2015-04-08  David S. Miller  <davem@davemloft.net>
27970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27972 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27974         * math/auto-libm-test-in: Add more tests of atanh.
27975         * math/auto-libm-test-out: Regenerated.
27976         * sysdeps/i386/fpu/libm-test-ulps: Update.
27977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27979         * math/auto-libm-test-in: Add more tests of atan.
27980         * math/auto-libm-test-out: Regenerated.
27981         * sysdeps/i386/fpu/libm-test-ulps: Update.
27982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27984 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27986         * elf/pldd.c (main): Rewrite to use struct
27987         scratch_buffer instead of extend_alloca.
27988         * elf/pldd-xx.c (find_maps): Likewise.
27989         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27990         <alloca.h>.
27991         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27992         scratch_buffer instead of extend_alloca.
27993         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27994         grp/compat-initgroups.c.
27995         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27996         Rewrite to use struct scratch_buffer instead of extend_alloca.
27997         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27998         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28000 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
28002         * math/auto-libm-test-in: Add more tests of cbrt.
28003         * math/auto-libm-test-out: Regenerated.
28004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28006         * math/auto-libm-test-in: Add more tests of cabs.
28007         * math/auto-libm-test-out: Regenerated.
28008         * sysdeps/i386/fpu/libm-test-ulps: Update.
28009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28011         [BZ #18210]
28012         [BZ #18211]
28013         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
28014         (__ieee754_atan2): Set FE_TONEAREST mode for internal
28015         computations.
28016         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
28017         clog10.
28018         * math/auto-libm-test-out: Regenerated.
28019         * sysdeps/i386/fpu/libm-test-ulps: Update.
28020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28022         [BZ #18197]
28023         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
28024         (atan): Set FE_TONEAREST mode for internal computations.
28025         * math/auto-libm-test-in: Add more tests of atan.
28026         * math/auto-libm-test-out: Regenerated.
28028 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
28030         [BZ #17930]
28031         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
28033 2015-04-07  Florian Weimer  <fweimer@redhat.com>
28035         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
28037 2015-04-07  Florian Weimer  <fweimer@redhat.com>
28039         * include/scratch_buffer.h: New file.
28040         * malloc/scratch_buffer_grow.c: Likewise.
28041         * malloc/scratch_buffer_grow_preserve.c: Likewise.
28042         * malloc/scratch_buffer_set_array_size.c: Likewise.
28043         * malloc/tst-scratch_buffer.c: Likewise.
28044         * malloc/Makefile (routines): Add scratch_buffer_grow.
28045         (tests): Add test case.
28046         * malloc/Versions (GLIBC_PRIVATE): Export
28047         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
28048         __libc_scratch_buffer_set_array_size.
28050 2015-04-06  Richard Henderson  <rth@redhat.com>
28052         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
28053         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28055         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
28056         unsigned int before printing.
28058 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28060         [BZ #17596]
28061         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
28062         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28064 2015-04-02  Florian Weimer  <fweimer@redhat.com>
28066         * include/libc-internal.h (libc_max_align_t): Define.
28068 2015-04-02  Andreas Schwab  <schwab@suse.de>
28070         [BZ #16850]
28071         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
28073 2015-04-02  Mel Gorman  <mgorman@suse.de>
28075         [BZ #17195]
28076         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
28077         as well as the main arena.
28079 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28081         [BZ #18185]
28082         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
28083         sharing L2 cache to 2 for Silvermont/Knights Landing.
28085 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28087         [BZ #17711]
28088         * config.make.in (have-protected-data): New.
28089         * configure.ac: Check linker support for protected data symbol.
28090         * configure: Regenerated.
28091         * elf/Makefile (modules-names): Add tst-protected1moda and
28092         tst-protected1modb if $(have-protected-data) is yes.
28093         (tests): Add tst-protected1a and tst-protected1b if
28094         $(have-protected-data) is yes.
28095         ($(objpfx)tst-protected1a): New.
28096         ($(objpfx)tst-protected1b): Likewise.
28097         (tst-protected1modb.so-no-z-defs): Likewise.
28098         * elf/tst-protected1a.c: New file.
28099         * elf/tst-protected1b.c: Likewise.
28100         * elf/tst-protected1mod.h: Likewise.
28101         * elf/tst-protected1moda.c: Likewise.
28102         * elf/tst-protected1modb.c: Likewise.
28104 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28106         [BZ #17711]
28107         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
28108         indicates it is called from do_lookup_x on relocation against
28109         protected data, skip the data definion in the executable from
28110         copy reloc.
28111         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28112         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
28113         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28114         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28115         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28116         otherwise to 0.
28117         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28118         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28119         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28120         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28121         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28122         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28124 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
28126         * sysdeps/nptl/pthread.h: Remove duplicate definition of
28127         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28129 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
28131         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28132         THREAD_SETMEM_NC.
28133         * sysdeps/x86_64/nptl/tls.h: Ditto.
28135 2015-03-27  Roland McGrath  <roland@hack.frob.com>
28137         * dlfcn/tststatic.c (main): Converted to ...
28138         (do_test): ... this.
28139         (TEST_FUNCTION): New macro.
28140         Include test-skeleton.c.
28142 2015-03-26  Alan Modra  <amodra@gmail.com>
28144         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28145         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
28146         zero for undefined weak.
28147         (elf_machine_plt_conflict): Similarly.
28149 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28151         * math/auto-libm-test-in: Add more tests of acosh, asinh and
28152         atanh.
28153         * math/auto-libm-test-out: Regenerated.
28154         * sysdeps/i386/fpu/libm-test-ulps: Update.
28155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28157         * math/auto-libm-test-in: Add another test of asin.
28158         * math/auto-libm-test-out: Regenerated.
28159         * sysdeps/i386/fpu/libm-test-ulps: Update.
28160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28162         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28163         Remove macro.
28164         (LLL_EBX_REG): Likewise.
28165         (LLL_ENTER_KERNEL): Likewise.
28167         * math/auto-libm-test-in: Add more tests of asin.
28168         * math/auto-libm-test-out: Regenerated.
28169         * sysdeps/i386/fpu/libm-test-ulps: Update.
28170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28172         [BZ #18138]
28173         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28174         libc_do_syscall_args): New structure.
28175         (INTERNAL_SYSCALL_MAIN_0): New macro.
28176         (INTERNAL_SYSCALL_MAIN_1): Likewise.
28177         (INTERNAL_SYSCALL_MAIN_2): Likewise.
28178         (INTERNAL_SYSCALL_MAIN_3): Likewise.
28179         (INTERNAL_SYSCALL_MAIN_4): Likewise.
28180         (INTERNAL_SYSCALL_MAIN_5): Likewise.
28181         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
28182         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28183         Replace conditional definitions by conditional definitions of ....
28184         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
28185         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28186         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28187         (libpthread-sysdep_routines): Add libc-do-syscall.
28188         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28189         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28190         to __NR_futex not 240.
28192 2015-03-25  Alan Modra  <amodra@gmail.com>
28194         * NEWS: Advertise TLS optimization.
28195         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28196         (DT_PPC_NUM): Increment.
28197         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28198         (CHECK_STATIC_TLS): Use here.
28199         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28200         TLS descriptors.
28201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28202         * sysdeps/powerpc/dl-tls.c: New file.
28203         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28204         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28205         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28206         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28211 2015-03-25  Alan Modra  <amodra@gmail.com>
28213         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28214         for overlapping .opd entries" to "support...".
28215         * sysdeps/powerpc/powerpc64/configure: Regenerate
28217 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28219         * math/auto-libm-test-in: Add more tests of acos.
28220         * math/auto-libm-test-out: Regenerated.
28221         * sysdeps/i386/fpu/libm-test-ulps: Update.
28222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28224         * math/auto-libm-test-in: Add more tests of expm1.
28225         * math/auto-libm-test-out: Regenerated.
28226         * sysdeps/i386/fpu/libm-test-ulps: Update.
28227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28229 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
28231         * math/auto-libm-test-in: Add more tests of cosh and sinh.
28232         * math/auto-libm-test-out: Regenerated.
28233         * sysdeps/i386/fpu/libm-test-ulps: Update.
28234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28236         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28239         * math/auto-libm-test-in: Add more tests of log2.
28240         * math/auto-libm-test-out: Regenerated.
28241         * sysdeps/i386/fpu/libm-test-ulps: Update.
28242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28244 2015-03-23  Roland McGrath  <roland@hack.frob.com>
28246         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28247         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
28248         _IO_IS_APPENDING bit in READ_WRITE instead.
28250 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28252         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28253         (__determine_cpumask_size): Replace extend_alloca with a
28254         variable-length array.  Do not treat res == 0 as an error.
28256 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28258         [BZ #18100]
28259         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28260         and integer overflow.
28261         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28262         (main): Add integer overflow tests.
28263         * manual/pattern.texi (Calling Wordexp): Document additional use
28264         for WRDE_SYNTAX.
28266 2015-03-23  Alan Modra  <amodra@gmail.com>
28268         * config.h.in: Remove HAVE_ASM_PPC_REL16.
28269         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28270         and false branch of conditional.
28271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28272         Likewise.
28274 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
28276         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28277         libc-modules.h
28278         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28279         unused declaration of _hurd_intr_rpc_msg_in_trap.
28280         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28281         defined instead of whether it is non-zero.
28282         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28283         input constraint instead of both input and output constraint.  Use ecx
28284         clobber instead of %ecx.
28285         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28286         mutex_unlock): Use a statement expression instead of an expression list.
28287         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28288         type to vm_size_t instead of vm_address_t.
28289         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28290         defined instead of whether it is non-zero.
28291         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28292         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28293         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28294         comparisons with mapaddr.
28295         * nscd/nscd-client.h: Include <time.h>.
28296         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28297         9th parameter to __vm_region instead of int.
28298         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28299         * scripts/check-local-headers.sh (exclude): Add device/,
28300         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28301         cthreads.h.
28303 2015-03-19  Roland McGrath  <roland@hack.frob.com>
28305         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28306         to account for alignment padding.
28307         * sysdeps/arm/memmove.S: Likewise.
28309 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
28311         * sysdeps/unix/sysv/linux/generic/README: New file.
28313 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
28315         [BZ #18138]
28316         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28317         (futex_abstimed_wait)
28318         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28319         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28320         of lll_futex_timed_wait.
28322 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
28324         [BZ #17542]
28325         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28327 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
28329         [BZ #17090]
28330         [BZ #17620]
28331         [BZ #17621]
28332         [BZ #17628]
28333         * NEWS: Update.
28334         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28335         entries with Static TLS too.  Skip entries past the end of the
28336         allocated DTV, from Alan Modra.
28337         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
28338         Static TLS DTV entry set up from...
28339         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28340         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28341         * nptl/allocatestack.c (init_one_static_tls): ... and here...
28342         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28343         for Static TLS.
28344         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
28345         that the slot we find is associated with the given map before
28346         using its generation count.
28347         * nptl_db/db_info.c: Include ldsodefs.h.
28348         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28349         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28350         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28351         (link_map::l_tls_offset): New struct field.
28352         (dtv_t::counter): Likewise.
28353         (rtld_global): New struct.
28354         (_rtld_global): New rtld variable.
28355         (dl_tls_dtv_slotinfo_list): New rtld global field.
28356         (dtv_slotinfo_list): New struct.
28357         (dtv_slotinfo): Likewise.
28358         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28359         (td_lookup): Rename to...
28360         (td_mod_lookup): ... this.  Use new mod parameter instead of
28361         LIBPTHREAD_SO.
28362         * nptl_db/td_thr_tlsbase.c: Include link.h.
28363         (dtv_slotinfo_list, dtv_slotinfo): New functions.
28364         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
28365         addresses even if the DTV is out of date or missing them.
28366         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28367         index zero-length arrays.
28368         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28369         (td_lookup): Make it a macro implemented in terms of...
28370         (td_mod_lookup): ... this declaration.
28371         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28372         (DB_MAIN_VARIABLE): Likewise.
28374 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28376         [BZ #18134]
28377         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28379 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
28381         * stdlib/setenv.c (__add_to_environ): Revert previous change.
28383 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
28385         [BZ #18128]
28386         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28387         (atomic_add, atomic_increment_and_test)
28388         (atomic_decrement_and_test): Fix 64-bit arithmetic.
28390 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
28392         * stdlib/setenv.c (__add_to_environ):
28393         Dump core quickly if setenv (..., NULL, ...) is called.
28395 2015-03-13  Roland McGrath  <roland@hack.frob.com>
28397         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28398         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28399         all the necessary asm magic in one place.
28400         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28401         using those.
28403 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
28405         [BZ #14906]
28406         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28407         traced file mtime. Use consistent log message.
28408         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28409         (register_traced_file): Call install_watches. Always set mtime.
28410         (invalidate_cache): Iterate over all trace files. Call install_watches.
28411         (inotify_check_files): Don't inline. Handle watching parent
28412         directories and configuration file movement in and out.
28413         (handle_inotify_events): New function.
28414         (main_loop_poll): Call handle_inotify_events.
28415         (main_loop_epoll): Likewise.
28416         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28417         (struct traced_file): Use array of inotify fds. Add parent directory,
28418         and basename.
28419         (struct database_dyn): Remove unused file_mtime.
28420         (init_traced_file): New inline function.
28421         (define_traced_file): New macro.
28422         * nss/nss_db/db-init.c: Use define_traced_file.
28423         (_nss_db_init): Use init_traced_file.
28424         * nss/nss_files/files-init.c: Use define_traced_file.
28425         (_nss_files_init): Use init_traced_file.
28427 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
28429         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28430         [_LIBC]: Do not include <stdlib.h>.
28431         [!_LIBC] (abort): Remove declaration.
28432         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28433         _FP_STATIC_ASSERT instead of conditionally calling abort.
28434         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28435         (_FP_EXTEND_CNAN): Likewise.
28436         (FP_TRUNC): Likewise.
28437         (__FP_CLZ): Likewise.
28438         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28440 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
28442         * manual/string.texi (XPG basename): Fix prototype.
28444 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28446         [BZ #18080]
28447         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28448         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28449         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28450         (__setcontext): Likewise.
28451         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28452         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28453         Call rt_sigprocmask syscall one time to set new signal mask
28454         and retrieve the current signal mask instead of two calls.
28455         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28456         (__swapcontext): Likewise.
28457         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28458         * stdlib/tst-setcontext2.c: New file.
28460 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28462         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28464 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
28466         [BZ #18093]
28467         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28468         the wrong size.
28470 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28472         [BZ #18043]
28473         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28475 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28477         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28478         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28479         Remove define.
28480         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28481         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28482         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28483         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28484         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28485         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28486         define.
28487         * nptl_db/td_symbol_list.c (td_lookup): Remove
28488         HAVE_ASM_GLOBAL_DOT_NAME code.
28489         * sysdeps/powerpc/powerpc64/configure.ac: Remove
28490         HAVE_ASM_GLOBAL_DOT_NAME check.
28491         * sysdeps/powerpc/powerpc64/configure: Regenerate.
28492         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28493         (DOT_LABEL): Remove define.
28494         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28495         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28496         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28497         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28498         (__TLS_GET_ADDR): Likewise.
28499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28500         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28502 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
28504         [BZ #18111]
28505         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28506         (_FPU_SETCW): Initialize cw from fpsr before storing.
28507         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28508         (fesetexceptflag): Rewrite using fpu_control.h.
28509         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28511 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
28513         [BZ #18110]
28514         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28515         asms.
28516         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28518 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
28520         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28521         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28522         abort.
28523         (_FP_FMA): Likewise.
28524         (_FP_DIV): Likewise.
28526 2015-03-10  Roland McGrath  <roland@hack.frob.com>
28528         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28529         with 0 in that case.
28530         * Makefile (summarize-tests): New canned sequence, factored out of
28531         commands for targets tests and xtests.  Display summary lines that
28532         don't start with PASS: or XFAIL: rather than ones that do start with
28533         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
28534         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28535         do start with ERROR: or FAIL:.
28536         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28537         (except for [$(build-shared) = yes]).
28538         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28539         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28540         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28541         * nptl/Makefile: Revert 2015-03-04 changes.
28542         [$(CXX) empty] (tests-unsupported): New variable.
28543         * debug/Makefile: Likewise.
28545         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28546         gnulib file.  Replace __attribute with __attribute__ throughout.
28548 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
28550         * sysdeps/hppa/fpu/libm-test-ulps: Update.
28552 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28554         [BZ #18104]
28555         * math/auto-libm-test-in: Add another test of pow.
28556         * math/auto-libm-test-out: Regenerated.
28558 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28560         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28561         $(config-cflags-nofma).
28563 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28565         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28566         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28567         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28568         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28569         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28570         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28571         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28572         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28573         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28574         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28575         Add comment on closing #endif.
28577 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28579         * posix/wordexp.c (CHAR_IN_SET): New macro.
28580         (parse_param): Use it.
28582 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28584         * sysdeps/powerpc/fpu/libm-test-ulps: update.
28586 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28588         [BZ #18043]
28589         * posix/wordexp.c (parse_param): Fix buffer overflow.
28590         * posix/wordexp-test.c (test_case): Add test case.
28592 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28594         [BZ #18042]
28595         * posix/wordexp.c (parse_backtick): Fix off-by-one.
28596         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28598 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28600         [BZ #18043]
28601         * posix/wordexp-test.c (test_case): Add test for BZ #18043
28602         (do_bz18043): Delete.
28603         (at_page_end): New.
28604         (testit): Refactor to have words at the edge of unreadable page.
28606 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28608         [BZ #16734]
28609         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28610         Cleanup read-only streams as well.
28611         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28613 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28615         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28616         <bits/libc-lockP.h>
28618 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
28620         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
28621         on [__KERNEL__].
28622         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28623         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28624         * soft-fp/op-common.h (_FP_DECL): Likewise.
28626 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
28628         * elf/ifuncdep2.c (global): Replace
28629         __attribute__((visibility("protected"))) with
28630         asm (".protected global").
28631         * elf/ifuncmod1.c (global): Likewise.
28632         * elf/ifuncmod5.c (global): Likewise.
28634 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
28636         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28637         <asm/sfp-machine.h> instead of <sfp-machine.h>.
28639 2015-03-06  Roland McGrath  <roland@hack.frob.com>
28641         * manual/install.texi (Configuring and compiling):
28642         Document test-wrapper-env-only.
28643         * INSTALL: Regenerated.
28645 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28647         [BZ #18043]
28648         * posix/wordexp.c (parse_param): Fix buffer overflow.
28649         * posix/wordexp-test.c (do_bz18043): Add test case.
28651 2015-03-06  Vincent Bernat  <vincent@bernat.im>
28653         * time/tst-strptime2.c (do_test): Ensure failing tests are
28654         reported correctly.
28655         * time/tst-strptime3.c (do_test): Likewise.
28657 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
28659         Fix aio_error thread-safety.
28660         * sysdeps/pthread/aio_error.c: New file
28661         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28662         synchronization.
28664 2015-03-06  Florian Weimer  <fweimer@redhat.com>
28666         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28667         (group_number, vfprintf): Use it.
28668         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28669         (JUMP, REF): Use it.
28670         (WORK_BUFFER_SIZE): New enum constant.
28671         (process_arg, vfprintf): Use it.
28673 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
28675         * manual/errno.texi (Error Messages): Complete example function
28676         by adding missing #define.
28677         (program_invocation_name): Add statement indicating GNU
28678         extension and reference which header file declares the variable.
28679         (program_invocation_short_name): Likewise.
28681 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
28683         * manual/errno.texi (Error Messages): Delete strerror ISO C89
28684         compatibility note.
28686 2015-03-05  Roland McGrath  <roland@hack.frob.com>
28688         * Makeconfig (test-wrapper-env-only): New variable.
28689         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28690         then use that with $(test-wrapper-env-only) rather than using
28691         $(test-wrapper-env) $(run-program-env) $($*-ENV).
28693 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28695         [BZ #18082]
28696         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28697         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28698         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28699         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28700         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28701         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28702         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28703         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28704         Likewise.
28705         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28706         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28707         Likewise.
28708         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28709         Likewise.
28710         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28711         Likewise.
28712         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28713         Likewise.
28714         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28715         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28716         Likewise.
28717         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28718         Likewise.
28719         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28720         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28722 2015-03-04  Roland McGrath  <roland@hack.frob.com>
28724         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28725         (ETH_ALEN): New macro.
28726         (struct ether_addr): Use it for length of ether_addr_octet.
28728         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28729         (setdb): Don't call __nss_configure_lookup for "rpc".
28730         (do_test): Don't call test_rpc.
28731         (output_rpcent, test_rpc): Functions moved ...
28732         * sunrpc/test-rpcent.c: ... to this new file.
28733         * sunrpc/Makefile (tests): Add it.
28735         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28736         __xpg_sigpause.
28737         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28738         * nptl/tst-signal6.c: Likewise.
28739         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28740         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28742         * configure.ac (libc_cv_cxx_link_ok): New check.
28743         Reset CXX to empty if it fails to link.
28744         * configure: Regenerated.
28745         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28746         bug-atexit3-lib only if $(CXX) is nonempty.
28747         * nptl/Makefile (tests): Likewise for tst-cancel24.
28748         (tests, tests-static): Likewise for tst-cancel24-static.
28749         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28750         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28751         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28752         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28754 2015-03-04  Andreas Schwab  <schwab@suse.de>
28756         [BZ #17631]
28757         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28758         for non-GCC compilers.
28759         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28760         Likewise.
28762 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28764         [BZ #17776]
28765         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28766         integer before bitwise and assembly operations.
28767         (feclearexcept): Likewise.
28768         * math/test-fenvinline.c: New file.
28769         * math/Makefile: Add test-fenvinline test.
28771 2015-03-03  Alan Modra  <amodra@gmail.com>
28773         [BZ #16512]
28774         * scripts/localplt.awk: Strip off symbol version.
28775         * NEWS: Mention bug fix.
28777 2015-03-02  Roland McGrath  <roland@hack.frob.com>
28779         * sysdeps/pthread/timer_routines.c
28780         (timer_free_list, thread_free_list, thread_active_list): Make static.
28782 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
28784         [BZ #17779]
28785         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28786         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28787         Undefine.
28788         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28789         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28790         Likewise.
28791         * sysdeps/unix/sysv/linux/sh/kernel-features.h
28792         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28793         Likewise.
28795 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28797         [BZ #18036]
28798         * posix/fnmatch_loop.c (END): Detect invalid pattern.
28799         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28801 2015-03-02  Andreas Schwab  <schwab@suse.de>
28803         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28804         variable name.
28806 2015-03-02  Florian Weimer  <fweimer@redhat.com>
28808         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28809         Return error status.
28811 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
28813         [BZ #15969]
28814         * locale/findlocale.c (_nl_find_locale): Introduce const
28815         version of loc_name and drop unsafe type casts.
28817 2015-02-27  Roland McGrath  <roland@hack.frob.com>
28819         * dlfcn/tststatic2.c (main): Converted to ...
28820         (do_test): ... this.
28821         (TEST_FUNCTION): New macro.
28822         Include test-skeleton.c.
28824 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
28826         [BZ #17711]
28827         * elf/Makefile (tests): Add vismain only if PIE is enabled.
28828         (tests-pie): Add vismain.
28829         (CFLAGS-vismain.c): New.
28830         * elf/vismain.c: Add comments for PIE requirement.
28832 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28834         [BZ #18046]
28835         [BZ #18047]
28836         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28837         0x1p-56L as threshold for just returning the argument.
28838         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28839         0x1p-32L as threshold for just returning the argument.
28840         * math/auto-libm-test-in: Add more tests of atanh.
28841         * math/auto-libm-test-out: Regenerated.
28842         * sysdeps/i386/fpu/libm-test-ulps: Update.
28843         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28845 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28847         * string/bcopy.c (bcopy): Call memmove for performance.
28849 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28851         * string/bzero.c (__bzero): Call memset for performance.
28853 2015-02-27  John David Anglin  <dave.anglin@bell.net>
28855         [BZ #18068]
28856         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28857         to 00100000.
28859 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28861         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28863 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28865         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28866         (__kernel_standard): Use CSTR macro when setting exc.name.
28867         * sysdeps/ieee754/Makefile [$(subdir) = math]
28868         (CFLAGS-k_standard.c): Remove variable.
28870         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28871         setting p and q from "else if" to "else".
28872         (qzero): Likewise.
28873         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28874         (qone): Likewise.
28875         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28876         (qzerof): Likewise.
28877         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28878         (qonef): Likewise.
28879         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28880         (qzero): Likewise.
28881         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28882         (qone): Likewise.
28884         [BZ #18038]
28885         [BZ #18039]
28886         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28887         return pi/2 for arguments below 0x1p-113L.
28888         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28889         return pi/2 for arguments below 0x1p-106L.
28890         * math/auto-libm-test-in: Add more tests of acos.
28891         * math/auto-libm-test-out: Regenerated.
28893         [BZ #16351]
28894         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28895         (MO): New macro.
28896         (__ieee754_asin): Force underflow exception for results with small
28897         absolute value.
28898         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28899         (MO): New macro.
28900         (__ieee754_asinf): Force underflow exception for results with
28901         small absolute value.
28902         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28903         (__ieee754_asin): Force underflow exception for results with small
28904         absolute value.
28905         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28906         (__ieee754_asinf): Force underflow exception for results with
28907         small absolute value.
28908         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28909         (__ieee754_asinl): Force underflow exception for results with
28910         small absolute value.
28911         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28912         (__ieee754_asinl): Force underflow exception for results with
28913         small absolute value.
28914         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28915         (__ieee754_asinl): Force underflow exception for results with
28916         small absolute value.
28917         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28918         Include <math.h>.
28919         * math/auto-libm-test-in: Do not mark underflow exceptions as
28920         possibly missing for bug 16351.
28921         * math/auto-libm-test-out: Regenerated.
28923         [BZ #18030]
28924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28925         of power of 2 down when low part has opposite sign.
28926         * math/libm-test.inc (logb_test_data): Add more tests.
28928 2015-02-26  Andreas Schwab  <schwab@suse.de>
28930         [BZ #18032]
28931         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28932         over collating symbol inside a bracket expression.  Minor cleanup.
28933         * posix/tst-fnmatch3.c (do_test): Add test case.
28935 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28937         [BZ #18029]
28938         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28939         Adjust exponent of power of 2 down when low part has opposite
28940         sign.
28941         * math/libm-test.inc (ilogb_test_data): Add more tests.
28943 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28945         [BZ #15969]
28946         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28947         the previous change.
28949         [BZ #15969]
28950         * locale/findlocale.c (_nl_find_locale): Retry archive search
28951         after alias expansion.
28953 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28955         * iconv/tst-iconv3.c (main): Converted to ...
28956         (do_test): ... this.
28957         (TEST_FUNCTION): New macro.
28958         Include test-skeleton.c.
28960         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28961         (convert): Make function static.
28962         (test_unalign): Likewise.  Add const to argument pointee types.
28963         (main): Replace with static function do_test.
28964         Print "Succeeded." only if RET is zero.
28965         (TEST_FUNCTION): New macro.
28966         Include test-skeleton.c.
28968         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28969         returns a null pointer.
28971 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28973         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28974         to __memcpy_ppc only for static builds.
28976 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28978         [BZ #18020]
28979         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28980         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28981         * math/auto-libm-test-in: Add more tests of asinh.
28982         * math/auto-libm-test-out: Regenerated.
28983         * sysdeps/i386/fpu/libm-test-ulps: Update.
28984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28986 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28988         [BZ #15850]
28989         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28990         and ip6_mtuinfo definitions here.
28991         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28992         in this define too.  Update comment.
28994 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28996         * elf/sprof.c (load_shobj): Tweak error message to match others.
28998 2015-02-24  Kevin Easton  <kevin@guarana.org>
29000         [BZ #16145] (partial fix)
29001         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
29002         to reduce lock contention.
29004 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
29006         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
29007         (struct timex): Update time comment.
29008         (ADJ_SETOFFSET): Define.
29010 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
29012         [BZ #18019]
29013         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29014         2**56 not 2**28 as threshold for log (2x) formula.
29015         * math/auto-libm-test-in: Add more tests of acosh.
29016         * math/auto-libm-test-out: Regenerated.
29017         * sysdeps/i386/fpu/libm-test-ulps: Update.
29018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29020 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
29022         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
29023         parenthesis around the buf assignment.
29024         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
29026 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
29028         [BZ #16783]
29029         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
29030         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
29031         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
29032         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29033         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29034         * math/libm-test.inc (scalb_test_data): Add more tests.
29036 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29038         [BZ #17916]
29039         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
29040         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
29042 2015-02-24  Eric Rannaud  <e@nanocritical.com>
29044         [BZ #17523]
29045         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
29046         * io/bits/fcntl2.h (open): Use it.
29047         (openat): Likewise.
29048         * io/open.c (__libc_open): Likewise.
29049         * io/open64.c (__libc_open64): Likewise.
29050         * io/open64_2.c (__open64_2): Likewise.
29051         * io/open_2.c (__open_2): Likewise.
29052         * io/openat.c (__openat): Likewise.
29053         * io/openat64.c (__openat64): Likewise.
29054         * io/openat64_2.c (__openat64_2): Likewise.
29055         * io/openat_2.c (__openat_2): Likewise.
29056         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
29057         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
29058         * sysdeps/posix/open64.c (__libc_open64): Likewise.
29059         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29060         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29061         (__open_nocancel): Likewise.
29062         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29063         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29064         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
29066 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29068         [BZ #14841]
29069         * resolv/gethnamaddr.c (getanswer): Skip logging if
29070         RES_USE_DNSSEC is set.
29071         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29073 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
29075         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
29077 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
29079         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
29080         201304L, for Unicode 7.
29082 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
29084         [BZ #17836]
29085         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
29086         shared library.  Add gmon-start.os otherwise.
29087         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
29088         $(objpfx)gmon-start.os if builing shared library.
29089         ($(objpfx)g$(static-start-installed-name)): Likewise.
29091 2015-02-23  Andreas Schwab  <schwab@suse.de>
29093         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
29095 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29097         [BZ #17269]
29098         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
29099         (enlarge_userbuf): Likewise.
29101 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
29103         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
29104         * math/atest-exp.c (TIMEOUT): Adjust to 200.
29105         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
29106         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
29108 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
29110         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
29111         expression inside statement expression.
29113 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29115         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29116         <sysdeps/nptl/lowlevellock.h> and remove macros and
29117         functions that are now defined there.
29118         (SYS_futex): Remove.
29119         (lll_compare_and_swap): Remove.
29120         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29122 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
29124         [BZ #17999]
29125         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29126         instead of scandirat.
29127         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29128         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29129         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29130         __scandirat.
29131         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29132         (__scandirat): Declare.  Use libc_hidden_proto.
29133         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29134         Remove variable.
29135         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29137 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29139         [BZ #15319]
29140         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29141         (MO): New macro.
29142         (__ieee754_atan2): For results with small absolute value, force
29143         underflow exception and remove excess range and precision from
29144         return value.
29145         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29146         (MO): New macro.
29147         (__ieee754_atan2f): For results with small absolute value, force
29148         underflow exception and remove excess range and precision from
29149         return value.
29150         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29151         (MO): New macro.
29152         (__atan): For results with small absolute value, force underflow
29153         exception and remove excess range and precision from return value.
29154         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29155         (MO): New macro.
29156         (__atanf): For results with small absolute value, force underflow
29157         exception and remove excess range and precision from return value.
29158         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29159         <math.h>.
29160         (__ieee754_atan2): Force underflow exception for results with
29161         small absolute value.
29162         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29163         <math_private.h>.
29164         (atan): Force underflow exception for results with small absolute
29165         value.
29166         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29167         (__atanf): Force underflow exception for results with small
29168         absolute value.
29169         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29170         <math.h>.
29171         (__atanl): Force underflow exception for results with small
29172         absolute value.
29173         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29174         (__atanl): Force underflow exception for results with small
29175         absolute value.
29176         * sysdeps/x86/fpu/bits/mathinline.h
29177         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29178         (__ieee754_atan2): Only define inline for long double.
29179         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29180         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29181         * math/auto-libm-test-in: Do not mark underflow exceptions as
29182         possibly missing for bug 15319.  Add more tests of atan2.
29183         * math/auto-libm-test-out: Regenerated.
29184         * math/libm-test.inc (casin_test_data): Do not mark underflow
29185         exceptions as possibly missing for bug 15319.
29186         (casinh_test_data): Likewise.
29187         * sysdeps/i386/fpu/libm-test-ulps: Update.
29189 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
29191         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29192         * sysdeps/mips/bits/endian.h: Fix comments.
29194 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29196         [BZ #17996]
29197         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29198         (hdestroy_r): Likewise.
29199         (hsearch_r): Likewise.
29200         (__hcreate_r): Declare and use libc_hidden_proto.
29201         (__hdestroy_r): Likewise.
29202         (__hsearch_r): Likewise.
29203         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29204         (hcreate): Call __hcreate_r instead of hcreate_r.
29205         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29206         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29207         as weak alias of __hcreate_r.
29208         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29209         __hdestroy_r.
29210         (hsearch_r): Rename to __hsearch_r and define as weak alias of
29211         __hsearch_r.
29212         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29213         Remove variable.
29214         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29215         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29216         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29217         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29219 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29221         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29222         arena_lock into a single arena_get.
29224 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
29226         * dl-reloc.c: Inlucde libc-internal.h.
29227         (_dl_try_allocate_static_tls): Call ALIGN_UP.
29228         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29229         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29230         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29231         (grow_heap): Likewise.
29232         * malloc/malloc.c: Include libc-internal.h.
29233         (do_check_malloc): Call powerof2.
29234         (sysmalloc): Use pagesize. Call ALIGN_UP.
29235         (systrim): Use pagesize.
29236         (mremap_chunk): Use pagesize. Call ALIGN_UP.
29237         (__libc_valloc): Use pagesize.
29238         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29240 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29242         [BZ #17991]
29243         * include/sys/resource.h (__getrlimit64): Declare.  Use
29244         libc_hidden_proto.
29245         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29246         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
29247         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29248         getrlimit64.
29249         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29250         __getrlimit64.
29251         [!getrlimit64] (getrlimit64): Define as weak alias of
29252         __getrlimit64.  Use libc_hidden_weak.
29253         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29254         using __getrlimit64 not __new_getrlimit64.
29255         (__GI_getrlimit64): Likewise.
29256         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29257         Likewise.
29258         (__GI_getrlimit64): Likewise.
29259         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29261         (getrlimit): Add __getrlimit64 alias.
29262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29263         Likewise.
29264         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29265         Remove variable.
29266         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29267         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29269 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
29271         * libio/fileops.c: Add missing sys/mman.h
29272         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29274 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29276         * manual/math.texi (Errors in Math Functions): Clarify goals
29277         regarding inexact and underflow exceptions.
29279 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29281         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29282         * sysdeps/mips/memset.S: Ditto.
29284 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29286         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29288 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29290         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29291         (__v1longjmp): Remove versioned symbol.
29292         (__v1siglongjmp): Remove alias and versioned symbol.
29293         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29294         (__v2siglongjmp): Likewise.
29296 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29298         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29300 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
29302         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29304 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29306         [BZ #17987]
29307         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29308         zero result does not depend on the sign resulting from
29309         subtraction.
29310         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29311         Likewise.
29312         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29313         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29314         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29315         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29316         * math/libm-test.inc (remquo_test_data): Add more tests.
29318 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
29320         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29321         Problem reported by J William Piggott.
29323 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29325         [BZ #17978]
29326         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29327         products 4 * y and 2 * y where those would overflow.
29328         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29329         Likewise.
29330         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29331         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29332         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29333         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29334         * math/libm-test.inc (remquo_test_data): Add more tests.
29336         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29338         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29339         [defined _COMPILING_NEWLIB].
29340         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29341         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29343         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29344         [!defined __mips_isa_rev || __mips_isa_rev < 6].
29346 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29348         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29349         acquired.
29351 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
29353         [BZ #17792]
29354         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29355         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29356         HOST_STACK_END_ADDR): Likewise.
29358 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
29360         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29361         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29362         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29364 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29366         * sysdeps/generic/c++-types.data: New file.
29367         * sysdeps/generic/ld.abilist: New file.
29368         * sysdeps/generic/libBrokenLocale.abilist: New file.
29369         * sysdeps/generic/libanl.abilist: New file.
29370         * sysdeps/generic/libc.abilist: New file.
29371         * sysdeps/generic/libcrypt.abilist: New file.
29372         * sysdeps/generic/libdl.abilist: New file.
29373         * sysdeps/generic/libm.abilist: New file.
29374         * sysdeps/generic/libpthread.abilist: New file.
29375         * sysdeps/generic/libresolv.abilist: New file.
29376         * sysdeps/generic/librt.abilist: New file.
29378 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29380         [BZ #17569]
29381         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29382         Compute absolute value of x as modified by fmod, not original
29383         value of x.
29384         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29385         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
29386         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
29387         RUN_TEST_ffI_f1_mod8.
29388         (remquo_test_data): Add more tests.
29390 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29392         * sysdeps/init_array/pt-crti.S: New file.
29394 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29396         [BZ #17967]
29397         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29398         __builtin_fmaf instead of relying on contraction of a * b + c.
29400 2015-02-12  J William Piggott  <elseifthen@gmx.com>
29402         [BZ #17969]
29403         * manual/time.texi: correct the zoneinfo path in the TZ Variable
29404         node.
29406 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29408         [BZ #17964]
29409         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29410         __builtin_fma instead of relying on contraction of a * b + c.
29412 2015-02-12  Roland McGrath  <roland@hack.frob.com>
29414         * Makeconfig (ASFLAGS): Add -Werror=undef.
29415         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29416         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29417         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29419         * Makeconfig (after-link): New variable.
29420         (+link-pie, +link-pie-tests): Use it.
29421         (+link-static, +link-static-tests): Likewise.
29422         (+link, +link-tests): Likewise.
29423         * Makerules (build-module, build-module-asneeded): Likewise.
29424         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29425         Likewise.
29426         * elf/Makefile ($(objpfx)ld.so): Likewise.
29428 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
29430         [BZ #17965]
29431         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29432         both struct timeval and struct timespec.
29434 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29436         [BZ #16560]
29437         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29438         and redefine.
29439         (__ieee754_exp2l): Do not multiply small fractional parts by
29440         M_LN2l.
29441         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29442         small argument.
29443         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29444         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29445         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29446         * math/auto-libm-test-in: Add more tests of exp2.
29447         * math/auto-libm-test-out: Regenerated.
29449 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29451         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29452         unaligned path.
29454 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29456         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29457         little endian.
29459 2015-02-12  Andreas Schwab  <schwab@suse.de>
29461         [BZ #15790]
29462         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29463         Filter out elision flags from value returned in kind.
29464         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29465         * nptl/tst-pthread-mutexattr.c: New file.
29467 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29469         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29470         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29471         into gnu-gnu, and update comment to refer to abi-tags.
29473 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
29475         [BZ #15467]
29476         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29477         (__sincos): Set errno to EDOM for infinite argument.
29478         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29479         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29480         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29481         (__sincosl): Set errno to EDOM for infinite argument.
29482         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29483         (__sincosl): Set errno to EDOM for infinite argument.
29484         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29485         (__sincosl): Set errno to EDOM for infinite argument.
29486         * math/libm-test.inc (sincos_test_data): Test errno setting.
29488 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
29490         * string/strxfrm_l.c: Remove #define STRCMP.
29491         * string/strcoll_l.c: Remove #define STRLEN.
29492         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29493         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29495 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
29497         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29498         * sysdeps/mips/mips32/sfp-machine.h: ... here.
29499         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29500         * sysdeps/mips/mips64/Makefile: ... here.
29501         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29502         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29503         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29504         * sysdeps/mips/mips64/sfp-machine.h: ... here.
29505         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29506         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29507         * sysdeps/mips/mips64/n64/Implies: Likewise.
29509 2015-02-10  Roland McGrath  <roland@hack.frob.com>
29511         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29512         <sys/time.h>, <string.h>, and <errno.h>.
29513         (dest_offset, dest_address, value, zero): Remove unused variables.
29514         (ldouble): Remove typedef.
29515         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29516         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
29517         1).  Fix code style.
29518         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29519         (check): Function removed.
29520         (CHECK): New macro.
29521         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
29522         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29523         Don't call set_sigaction_FP and remove_sigaction_FP here.
29524         (ldouble_test): Just use 'long double' as macro argument, no need for
29525         the 'ldouble' typedef.
29526         (do_test): Set up SIGFPE handler at start, using plain signal rather
29527         than sigaction.  Fix code style.
29529 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
29531         [BZ #17949]
29532         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29533         jump label.
29535 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29537         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29538         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29540         * sysdeps/powerpc/configure.ac: Remove file.
29541         * sysdeps/powerpc/configure: Likewise.
29543         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29544         [sysdep_routines]: Remove wordcopy-power6 object.
29545         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29546         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29547         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29548         (__memmove_ppc32): Likewise.
29549         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29550         file.
29551         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29552         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29553         Remove preprocessor.
29555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29556         [sysdep_routines]: Remove wide chars objects.
29557         [wcsmbs]: New rule for wide char objects.
29559         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29560         Remove wordcopy-power6 obejct.
29561         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29562         Use local call for wordcopy and memcpy symbols.
29563         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29564         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29565         implementation for loader.
29566         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29568         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29569         Remove wordcopy-power7 object.
29570         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29571         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29572         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29573         (_wordcopy_fwd_dest_aligned): Likewise.
29574         (_wordcopy_bwd_aligned): Likewise.
29575         (_wordcopy_bwd_dest_aligned): Likewise.
29577         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29578         Rewrite to call __memmove_ppc instead of include default
29579         implementation.
29581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29582         Remove wide chars objects.
29583         [wcsmbs]: New rule for wide char objects.
29585 2015-02-09  Andreas Schwab  <schwab@suse.de>
29587         [BZ #17912]
29588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29589         in terms of __O_DIRECTORY.
29591 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29593         * time/getdate.c: Include <stdbool.h>.
29594         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29595         call PTR_MANGLE.
29596         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29597         PTR_DEMANGLE.
29599 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
29601         Add ersatz _Static_assert on older C hosts
29602         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29603         pre-C11 C platform that is not known to support _Static_assert.
29605 2015-02-07  Richard Braun  <rbraun@sceen.net>
29607         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29608         sigstate.
29609         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29611 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29613         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29614         priority against unexistent AIO_PRIO_DELTA_MAX.
29615         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29616         instead of int.
29617         * misc/fchflags.c (fchflags): Likewise.
29618         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29619         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29620         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29621         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29622         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29623         Declare macros.
29624         [__USE_MISC] (chflags, fchflags): Declare functions.
29625         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29626         EINVAL when nfds is greater than FD_SETSIZE.
29627         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29628         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29629         45.
29630         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29631         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29632         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29633         MACH_RCV_TIMED_OUT.
29634         * hurd/hurd/signal.h (_hurd_self_sigstate,
29635         _hurd_critical_section_lock, _hurd_critical_section_unlock):
29636         Explicit casts from void *.
29637         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29638         * abi-tags: Rename gnu-gnu os into gnu.
29640         [BZ #4719]
29641         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29642         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29643         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29644         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29645         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29646         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29648         [BZ #17944]
29649         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29650         duplicates ADDR->sun_path with sockaddr LEN limitation.
29651         * sysdeps/mach/hurd/connect.c: Include <string.h>
29652         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29653         * sysdeps/mach/hurd/sendmsg.c: Likewise.
29654         * sysdeps/mach/hurd/sendto.c: Likewise.
29655         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29656         implementing it by hand.
29658 2015-02-06  Roland McGrath  <roland@hack.frob.com>
29660         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29661         Use sfi_breg on ldr.
29662         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29663         Likewise.
29665         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29666         it's defined.
29667         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29668         Test SIGSETXID only if it's defined.
29670         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29672         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29673         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
29675         * nptl/tst-align2.c: Moved ...
29676         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29677         * nptl/Makefile (tests): Remove tst-align2.
29678         * sysdeps/unix/sysv/linux/Makefile
29679         [$(subdir) = nptl] (tests): Add tst-align-clone.
29680         * nptl/tst-getpid1.c: Moved ...
29681         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29682         * nptl/tst-getpid2.c: Moved ...
29683         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29684         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29685         * sysdeps/unix/sysv/linux/Makefile
29686         [$(subdir) = nptl] (tests): ... here.
29687         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29688         * sysdeps/unix/sysv/linux/Makefile
29689         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29691         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29692         Drop trailing \n from perror argument.  Use return rather than exit.
29694         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29695         on [SA_SIGINFO].
29696         * nptl/tst-cancel21.c (do_test): Likewise.
29697         * debug/tst-backtrace6.c: Include <signal.h> first thing.
29698         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29699         [!SA_SIGINFO]: Make it a stub test.
29701         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29702         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29704         * posix/tst-getlogin.c: Move to ...
29705         * login/tst-getlogin.c: ... here.
29706         * posix/Makefile (tests): Move tst-getlogin to ...
29707         * login/Makefile (tests): ... here.
29709         * libio/tst-atime.c (do_test): Move local variables SV and E
29710         inside [ST_NOATIME] conditional.
29712         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29714         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29716         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29717         (wait_code): New function replaces macro.
29718         Call nanosleep rather than syscall.
29720         * nptl/pt-system.c: Rewritten.  Put everything under
29721         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29722         Use IFUNC to redirect when possible.
29724         * nptl/pt-longjmp.c: Rewritten.  Put everything under
29725         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29726         Use IFUNC to redirect when possible.
29728         * nptl/pt-fork.c: Rewritten.  Put everything under
29729         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29730         Use IFUNC to redirect when possible.
29731         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29733         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29734         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29735         unconditionally nowadays.  This included the only reference to
29736         __vdso_clock_gettime that appears outside libc proper.
29737         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29738         Remove version set (containing only __vdso_clock_gettime).
29739         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29740         Add attribute_hidden.
29741         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29742         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29743         libc_hidden_data_def.
29744         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29745         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29747         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29748         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29749         setrpcent, and getrpcport to ...
29750         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29751         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29752         getrpcbynumber_r, and getrpcent_r to ...
29753         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29754         * inet/getrpcbyname.c: Moved ...
29755         * sunrpc/getrpcbyname.c: ... here.
29756         * inet/getrpcbyname_r.c: Moved ...
29757         * sunrpc/getrpcbyname_r.c: ... here.
29758         * inet/getrpcbynumber.c: Moved ...
29759         * sunrpc/getrpcbynumber.c: ... here.
29760         * inet/getrpcbynumber_r.c: Moved ...
29761         * sunrpc/getrpcbynumber_r.c: ... here.
29762         * inet/getrpcent.c: Moved ...
29763         * sunrpc/getrpcent.c: ... here.
29764         * inet/getrpcent_r.c: Moved ...
29765         * sunrpc/getrpcent_r.c: ... here.
29766         * inet/Makefile (routines): Move those to ...
29767         * sunrpc/Makefile (routines): ... here.
29768         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29769         the $(subdirs) list.
29770         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
29771         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29772         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29773         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29775         * elf/Makefile (routines): Include $(all-dl-routines), not just
29776         $(dl-routines).
29777         (rtld-routines): Likewise.  Use = rather than :=.
29778         * sysdeps/aarch64/Makefile [$(subdir) = elf]
29779         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29780         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29781         * sysdeps/arm/Makefile: Likewise.
29782         * sysdeps/i386/Makefile: Likewise.
29783         * sysdeps/x86_64/Makefile: Likewise.
29784         * sysdeps/hppa/Makefile [$(subdir) = elf]
29785         (sysdep_routines, sysdep-rtld-routines): Don't add
29786         $(sysdep-dl-routines) to these.
29787         * sysdeps/ia64/Makefile: Likewise.
29788         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29789         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29790         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29791         Don't add dl-static to these; sysdep-dl-routines alone is enough.
29792         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29793         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29794         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29795         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29796         * sysdeps/powerpc/Makefile [$(subdir) = elf]
29797         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29798         these; sysdep-dl-routines alone is enough.
29800 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
29802         [BZ #17932]
29803         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29804         where multiplication results in zero and third argument is finite
29805         and nonzero.
29806         * math/auto-libm-test-in: Add more tests of fma.
29807         * math/auto-libm-test-out: Regenerated.
29809         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29810         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29811         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29812         (_FP_CMP_EQ): Likewise.
29813         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29815         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29816         extra argument CHECK_NAN.  Redefine as wrapper around
29817         _FP_EXTEND_CNAN.
29819 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
29821         * version.h (RELEASE): Set to "stable".
29822         (VERSION): Set to "2.21"
29823         * include/features.h (__GLIBC_MINOR__): Set to 21.
29825         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29827 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29828             Paul Eggert  <eggert@cs.ucla.edu>
29830         [BZ #16618]
29831         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29832         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29833         size in bytes. Store needed elements in wpmax. Use needed size
29834         in bytes for extend_alloca.
29836 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
29838         * manual/install.texi: Latest tested versions are GCC 4.9.2,
29839         binutls 2.25, and texinfo 5.2.
29840         * INSTALL: Regenerate.
29841         * sysdeps/nios2/configure: Regenerate.
29842         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29843         * manual/contrib.texi: Update.
29844         * po/be.po: Update.
29845         * po/bg.po: Update.
29846         * po/ca.po: Update.
29847         * po/cs.po: Update.
29848         * po/da.po: Update.
29849         * po/de.po: Update.
29850         * po/el.po: Update.
29851         * po/eo.po: Update.
29852         * po/es.po: Update.
29853         * po/fi.po: Update.
29854         * po/fr.po: Update.
29855         * po/gl.po: Update.
29856         * po/hr.po: Update.
29857         * po/hu.po: Update.
29858         * po/ia.po: Update.
29859         * po/id.po: Update.
29860         * po/it.po: Update.
29861         * po/ja.po: Update.
29862         * po/ko.po: Update.
29863         * po/lt.po: Update.
29864         * po/nb.po: Update.
29865         * po/nl.po: Update.
29866         * po/pl.po: Update.
29867         * po/pt_BR.po: Update.
29868         * po/ru.po: Update.
29869         * po/rw.po: Update.
29870         * po/sk.po: Update.
29871         * po/sl.po: Update.
29872         * po/sv.po: Update.
29873         * po/tr.po: Update.
29874         * po/uk.po: Update.
29875         * po/vi.po: Update.
29876         * po/zh_CN.po: Update.
29877         * po/zh_TW.po: Update.
29879         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29880         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29881         * sysdeps/hppa/dl-irel.h: Remove #warning.
29882         * sysdeps/hppa/entry.h: Provide prototype for
29883         __canonicalize_funcptr_for_compare and cast argument.
29884         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29885         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29886         * sysdeps/hppa/sotruss-lib.c: New file.
29887         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29888         (atomic_compare_and_exchange_val_acq): Use __typeof__.
29889         (atomic_compare_and_exchange_bool_acq): Likewise.
29890         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29891         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29893         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29894         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29895         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29897 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
29899         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29900         called function in non-PIC case.
29902 2015-01-31  David S. Miller  <davem@davemloft.net>
29904         * sysdeps/sparc/sparc32/bits/atomic.h
29905         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29906         unlock not after it.
29907         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29908         volatile register usage warnings from the compiler.
29910         * sysdeps/sparc/nptl/sem_init.c: Delete.
29911         * sysdeps/sparc/nptl/sem_post.c: Delete.
29912         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29913         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29914         * sysdeps/sparc/sparc32/sem_init.c: New file.
29915         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29916         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29917         padding explicitly initialized.
29918         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29919         padding for in-semaphore spinlock.
29920         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29921         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29922         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29923         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29924         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29925         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29926         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29927         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29928         version.
29929         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29930         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29932 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29934         [BZ #17801]
29935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29936         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29937         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29938         New.
29939         (index_AVX_Fast_Unaligned_Load): Likewise.
29940         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29941         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29942         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29943         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29944         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29945         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29946         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29947         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29948         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29950 2015-01-29  Andreas Schwab  <schwab@suse.de>
29952         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29954 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29956         [BZ #17892]
29957         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29959 2015-01-28  Martin Sebor  <msebor@redhat.com>
29961         * math/README.libm-test: Clarify. Add "How to read the test output."
29963 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29965         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29966         Define to 0.
29968 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29970         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29971         (__HAVE_64B_ATOMICS): Define to 0.
29973 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29975         [BZ #17885]
29976         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29977         value to set as new flag.
29979         [BZ #16576]
29980         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29981         and use _ARCH_PPCSQ instead.
29982         (__ieee754_sqrt): Likewise.
29983         (__ieee754_sqrtf): Likewise.
29984         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29985         _ARCH_PPCSQ is defined.
29986         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29987         fsqrt instruction.
29988         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29989         _ARCH_PPCSQ is defined.
29990         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29991         fsqrts instruction.
29992         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29994 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29996         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29997         bug (GCC BZ #64739).
29999 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
30001         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
30002         Mark _retval as used.
30003         (lll_futex_wake_unlock): Likewise.
30004         (lll_futex_timed_wait_requeue_pi): Likewise.
30006         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30007         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
30008         register variables.
30010         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
30011         libm_hidden_def.
30013         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
30014         (__bswap_64): Mark as __always_inline.
30016 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
30018         [BZ #15378]
30019         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
30020         when none of the search directories exist.
30022 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30024         [BZ #17869]
30025         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
30026         power8 in .machine directive.
30028         [BZ #17868]
30029         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
30030         set dependency from opd value.
30032 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
30034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30035         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
30036         architecture.
30038 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
30040         [BZ #17870]
30041         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
30042         with uint64_t.
30043         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
30044         (uint64_t) 1.
30045         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
30046         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
30047         Replace 1UL with (uint64_t) 1.
30048         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
30049         int with uint64_t.
30051 2015-01-23  Roland McGrath  <roland@hack.frob.com>
30053         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
30054         (if_freenameindex): Likewise.
30056         * resource/getrlimit64.c: Add missing libc_hidden_def.
30058 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
30060         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
30061         __label__.
30062         (_FP_FMA): Likewise.
30063         (_FP_TO_INT_ROUND): Likewise.
30064         (_FP_FROM_INT): Likewise.
30066 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30068         [BZ #16418]
30069         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30070         Make code racy and cancel safe.
30072 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
30074         * sysdeps/arm/unwind-resume.h: Fix copyright year.
30075         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
30076         attribution.
30078         * pwd/tst-getpw.c: Rewrite.
30080         [BZ #17702]
30081         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
30082         (modules-names): Add moddummy1 and moddummy2.
30083         ($(objpfx)tst-rec-dlopen): Define.
30084         * dlfcn/moddummy1.c: New file.
30085         * dlfcn/moddummy2.c: New file.
30086         * dlfcn/tst-rec-dlopen.c: New file.
30087         * elf/dl-cache.c (_dl_load_cache_lookup):
30088         Return char*. Copy result with alloca/strcpy/strdup.
30089         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
30090         returns char*. Free cached. If not saving realname
30091         free cached.
30092         * elf/dl-open.c (dl_open_worker): Do not assert that
30093         _r_debug->r_state is RT_CONSISTENT.
30094         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
30095         returns char*.
30097 2015-01-21  Torvald Riegel  <triegel@redhat.com>
30098             Carlos O'Donell  <carlos@redhat.com>
30100         [BZ #12674]
30101         * nptl/sem_waitcommon.c: New file.
30102         * nptl/sem_wait.c: Include sem_waitcommon.c.
30103         (__sem_wait_cleanup, do_futex_wait): Remove.
30104         (__new_sem_wait): Adapt.
30105         (__new_sem_trywait): New function.
30106         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30107         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
30108         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
30109         (sem_timedwait): Adapt.
30110         * nptl/sem_post.c (__new_sem_post): Adapt.
30111         (futex_wake): New function.
30112         (__old_sem_post): Add release MO fence.
30113         * nptl/sem_open.c (sem_open): Adapt.
30114         * nptl/sem_init.c (__new_sem_init): Adapt.
30115         (futex_private_if_supported): New function.
30116         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30117         (__old_sem_getvalue): Add using previous code.
30118         * sysdeps/nptl/internaltypes.h: Adapt.
30119         * nptl/tst-sem13.c (do_test): Adapt.
30120         * nptl/tst-sem11.c (main): Adapt.
30121         * nptl/sem_trywait.c: Remove.
30122         * nptl/DESIGN-sem.txt: Remove.
30123         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30124         (gen-as-const-headers): Remove structsem.sym.
30125         * nptl/structsem.sym: Remove.
30126         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30127         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30128         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30129         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30130         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30131         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30132         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30133         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30134         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30135         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30136         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30137         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30138         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30139         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30140         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30141         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30142         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30143         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30144         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30145         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30146         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30147         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30149 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
30151         * INSTALL: Regenerated.
30153         * po/libc.pot: Regenerated.
30155 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
30156             Sandra Loosemore  <sandra@codesourcery.com>
30157             Andrew Jenner  <andrew@codesourcery.com>
30158             Joseph Myers  <joseph@codesourcery.com>
30159             Nathan Sidwell  <nathan@codesourcery.com>
30161         * NEWS: Mention new Nios II port.
30162         * sysdeps/nios2/Implies: New file.
30163         * sysdeps/nios2/Makefile: New file.
30164         * sysdeps/nios2/Subdirs: New file.
30165         * sysdeps/nios2/Versions: New file.
30166         * sysdeps/nios2/__longjmp.S: New file.
30167         * sysdeps/nios2/abort-instr.h: New file.
30168         * sysdeps/nios2/backtrace.c: New file.
30169         * sysdeps/nios2/bits/endian.h: New file.
30170         * sysdeps/nios2/bits/fenv.h: New file.
30171         * sysdeps/nios2/bits/link.h: New file.
30172         * sysdeps/nios2/bits/setjmp.h: New file.
30173         * sysdeps/nios2/bsd-_setjmp.S: New file.
30174         * sysdeps/nios2/bsd-setjmp.S: New file.
30175         * sysdeps/nios2/configure: New generated file.
30176         * sysdeps/nios2/configure.ac: New file.
30177         * sysdeps/nios2/crti.S: New file.
30178         * sysdeps/nios2/crtn.S: New file.
30179         * sysdeps/nios2/dl-init.c: New file.
30180         * sysdeps/nios2/dl-machine.h: New file.
30181         * sysdeps/nios2/dl-sysdep.h: New file.
30182         * sysdeps/nios2/dl-tls.h: New file.
30183         * sysdeps/nios2/dl-trampoline.S: New file.
30184         * sysdeps/nios2/gccframe.h: New file.
30185         * sysdeps/nios2/gmp-mparam.h: New file.
30186         * sysdeps/nios2/jmpbuf-offsets.h: New file.
30187         * sysdeps/nios2/jmpbuf-unwind.h: New file.
30188         * sysdeps/nios2/ldsodefs.h: New file.
30189         * sysdeps/nios2/libc-tls.c: New file.
30190         * sysdeps/nios2/libm-test-ulps: New file.
30191         * sysdeps/nios2/machine-gmon.h: New file.
30192         * sysdeps/nios2/math-tests.h: New file.
30193         * sysdeps/nios2/math_private.h: New file.
30194         * sysdeps/nios2/memusage.h: New file.
30195         * sysdeps/nios2/nptl/Makefile: New file.
30196         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30197         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30198         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30199         * sysdeps/nios2/nptl/pthreaddef.h: New file.
30200         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30201         * sysdeps/nios2/nptl/tls.h: New file.
30202         * sysdeps/nios2/preconfigure: New file.
30203         * sysdeps/nios2/s_fma.c: New file.
30204         * sysdeps/nios2/s_fmaf.c: New file.
30205         * sysdeps/nios2/setjmp.S: New file.
30206         * sysdeps/nios2/sfp-machine.h: New file.
30207         * sysdeps/nios2/sotruss-lib.c: New file.
30208         * sysdeps/nios2/stackguard-macros.h: New file.
30209         * sysdeps/nios2/stackinfo.h: New file.
30210         * sysdeps/nios2/start.S: New file.
30211         * sysdeps/nios2/sysdep.h: New file.
30212         * sysdeps/nios2/tls-macros.h: New file.
30213         * sysdeps/nios2/tst-audit.h: New file.
30214         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30215         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30216         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30217         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30218         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30219         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30220         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30221         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30222         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30223         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30224         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30225         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30226         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30227         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30228         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30229         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30230         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30231         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30232         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30233         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30234         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30235         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30236         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30237         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30238         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30239         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30240         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30241         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30242         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30243         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30244         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30245         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30246         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30247         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30248         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30249         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30250         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30251         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30252         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30253         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30254         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30255         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30256         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30257         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30259 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30261         [BZ #17844]
30262         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30263         (getutent): Use weak_alias in non SHARED case
30264         and default_symbol_version in SHARED case.
30265         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30266         (getutent_r, pututline): Likewise.
30267         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30268         (getutid): Likewise.
30269         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30270         (getutid_r): Likewise.
30271         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30272         (getutline): Likewise.
30273         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30274         (getutline_r): Likewise.
30275         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30276         (updwtmp): Likewise.
30278 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30280         [BZ #17848]
30281         * sysdeps/s390/s390-32/memcmp.S
30282         (memcmp_g5): Rename to __memcmp_g5.
30283         * sysdeps/s390/s390-32/memcpy.S
30284         (memcpy_g5): Rename to __memcpy_g5.
30285         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30286         (memcpy_mvcle) Rename to __memcpy_mvcle.
30287         * sysdeps/s390/s390-32/memset.S
30288         (memset_g5): Rename to __memset_g5.
30289         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30290         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30291         and use prefixed functions.
30292         * sysdeps/s390/s390-32/multiarch/memcmp.S
30293         (memcmp_z196): Rename to __memcmp_z196.
30294         (memcmp_z10): Rename to __memcmp_z10.
30295         (memcmp): Set alias to __memcmp_g5.
30296         (bcmp): Set alias to __memcmp_g5.
30297         * sysdeps/s390/s390-32/multiarch/memcpy.S
30298         (memcpy_z196): Rename to __memcpy_z196.
30299         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30300         (memcpy_z10): Rename to __memcpy_z10.
30301         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30302         (memcpy): Set alias to __memcpy_g5.
30303         * sysdeps/s390/s390-32/multiarch/memset.S
30304         (memset_z196): Rename to __memset_z196.
30305         Jump to __memset_mvcle instead of memset_mvcle.
30306         (memset_z10): Rename to __memset_z10.
30307         Jump to __memset_mvcle instead of memset_mvcle.
30308         (memset_mvcle) Rename to __memset_mvcle.
30309         (memset): Set alias to __memset_g5.
30310         * sysdeps/s390/s390-64/memcmp.S
30311         (memcmp_z900): Rename to __memcmp_z900.
30312         * sysdeps/s390/s390-64/memcpy.S
30313         (memcpy_z900): Rename to __memcpy_z900.
30314         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30315         (memcpy_mvcle) Rename to __memcpy_mvcle.
30316         * sysdeps/s390/s390-64/memset.S
30317         (memset_z900): Rename to __memset_z900.
30318         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30319         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30320         and use prefixed functions.
30321         * sysdeps/s390/s390-64/multiarch/memcmp.S
30322         (memcmp_z196): Rename to __memcmp_z196.
30323         (memcmp_z10): Rename to __memcmp_z10.
30324         (memcmp): Set alias to __memcmp_z900.
30325         (bcmp): Set alias to __memcmp_z900.
30326         * sysdeps/s390/s390-64/multiarch/memcpy.S
30327         (memcpy_z196): Rename to __memcpy_z196.
30328         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30329         (memcpy_z10): Rename to __memcpy_z10.
30330         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30331         (memcpy): Set alias to __memcpy_z900.
30332         * sysdeps/s390/s390-64/multiarch/memset.S
30333         (memset_z196): Rename to __memset_z196.
30334         Jump to __memset_mvcle instead of memset_mvcle.
30335         (memset_z10): Rename to __memset_z10.
30336         Jump to __memset_mvcle instead of memset_mvcle.
30337         (memset_mvcle) Rename to __memset_mvcle.
30338         (memset): Set alias to __memset_z900.
30340 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
30342         [BZ #17748]
30343         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30344         __fesetenv instead of fesetenv.
30346 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30348         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30349         macro.
30351 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30353         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30354         regression on LE.
30356         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30357         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30358         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30359         strncmp-power8 object.
30360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30361         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30362         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30363         * NEWS: Update.
30365 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30366             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30368         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30369         trailing byte check.
30371 2015-01-13  David S. Miller  <davem@davemloft.net>
30373         * include/signal.h (__sigreturn): Guard with __USE_MISC.
30375 2015-01-13  Roland McGrath  <roland@hack.frob.com>
30377         * login/logout.c (logout): Use memset rather than bzero.
30378         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30379         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30380         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30381         (_gethtbyaddr): Likewise.
30382         * locale/programs/simple-hash.c (bcopy): Macro removed.
30384 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30386         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30387         Add strcmp-power8 object.
30388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30389         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30390         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30391         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30392         __strcmp_power8 implementation.
30393         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30394         * NEWS: Update.
30396         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30397         Add strncpy-power8 and stpncpy-power8 objects.
30398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30399         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30400         implementations.
30401         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30402         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30403         __stpncpy_power8 implementation.
30404         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30405         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30406         __strncpy_power8 implementation.
30407         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30408         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30409         * NEWS: Update.
30411         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30412         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30413         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30415         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30416         strncat-power8 object.
30417         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30418         __strcat_power8 implementation.
30419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30420         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30421         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30422         optimized strcat for power8.
30424         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30425         strcpy-power8 and stpcpy-power8 objects.
30426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30427         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30428         implementations.
30429         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30430         multiarch stpcpy implementation for POWER8.
30431         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30432         multiarch strcpy implementation for POWER8.
30433         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30434         __strcpy_power8 function.
30435         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30436         stpcpy for POWER8.
30437         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30438         strcpy for POWER8.
30439         * NEWS: Update.
30441 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
30443         [BZ #16009]
30444         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30445         weights and rules. Use do_xfrm_cached if data fits in cache,
30446         do_xfrm otherwise.  Moved former main loop to...
30447         * (do_xfrm_cached): New function.
30448         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30449         find_idx, find_position and stack_push.
30450         * (find_idx): New function.
30451         * (find_position): Likewise.
30452         * localedata/sort-test.sh: Added test run for do_xfrm.
30453         * localedata/xfrm-test.c (main): Added command line option
30454         -nocache to run the test with strings that are too large for
30455         the STRXFRM cache.
30457 2015-01-13  Torvald Riegel  <triegel@redhat.com>
30459         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30460         variable to lll_futex_wake call, not the value itself.
30462 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
30464         [BZ #17803]
30465         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30466         twom64.  Adjust value to 0x1p-64L.
30467         (__scalblnl): Only return standard underflowing result for K <=
30468         -64 not K <= -63; adjust exponent for underflowing result by 64
30469         not 63.
30470         * math/libm-test.inc (scalbn_test_data): Add more tests.
30471         (scalbln_test_data): Likewise.
30473         [BZ #17834]
30474         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30475         0x1p63L.
30476         (__scalblnl): Get new exponent of adjusted subnormal value from ES
30477         not HX.
30478         * math/libm-test.inc (scalbn_test_data): Add more tests.
30479         (scalbln_test_data): Likewise.
30481 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30482             Stefani Seibold  <stefani@seibold.net>
30484         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30485         (sysdep_routines): Add dl-vdso here, ...
30486         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30487         (sysdep_routines): ... not here.
30488         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30489         fallback when vDSO is not presented.
30490         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30491         Define with libc_hidden_proto/libc_hidden_data_def definitions.
30492         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30493         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30494         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30495         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30496         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30497         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30498         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30499         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30500         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
30501         fallback configurable symbol when vDSO is not available.
30502         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30503         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
30504         be able to redefine fallback symbol when vDSO is not available.
30505         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30506         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30508 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30510         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30511         (TLS_INIT_TP): Add tm_capable initialization.
30512         (TLS_DEFINE_INIT_TP): Likewise.
30513         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30514         TCB.
30515         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30516         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30517         calculation.
30518         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30519         transactoion is lock elision is built and TCB tm_capable is set.
30520         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30522         (INTERNAL_SYSCALL_NCS): Likewise.
30523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30524         (INTERNAL_SYSCALL_NCS): Likewise.
30525         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30527         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30528         for powerpc.
30529         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30530         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30531         and remove it for 32 bits case.
30532         [pthread_rwlock_t] (__rwelision): New field for lock elision.
30533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30534         initialization.
30535         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30536         Disable lock elision with rdlocks if elision is not available.
30538         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30539         (sysdep_routines): Add lock elision objects.
30540         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30541         [pthread_mutex_t] (__spins): Rework to add lock elision field.
30542         [pthread_mutex_t] (__elision): Add field.
30543         [__PTHREAD_SPINS]: Adjust to init lock elision field.
30544         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30545         elision definitions for powerpc.
30546         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30547         implementation of lock elision for powerpc.
30548         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30549         implementation of timed lock elision for powerpc.
30550         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30551         implementation of trylock with lock elision for powerpc.
30552         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30553         implementaion of unlock for lock elision for powerpc.
30554         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30555         automatic enable lock elision for mutexes.
30556         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30557         transaction execution definitions for powerpc.
30558         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30559         definitions.
30560         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30561         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30562         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30563         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30564         * NEWS: Update.
30566 2015-01-09  Roland McGrath  <roland@hack.frob.com>
30568         * sysdeps/posix/shm-directory.c: Use <> rather than ""
30569         for #include of <shm-directory.h>.
30571 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
30573         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30574         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30576 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
30578         [BZ #17791]
30579         * NEWS: Mention bug fix.
30580         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30581         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30582         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30584 2015-01-09  Torvald Riegel <triegel@redhat.com>
30586         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30588 2015-01-09  Torvald Riegel <triegel@redhat.com>
30590         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30592 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30594         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30595         pointer and cast to uintptr_t.
30597 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30599         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30600         removed.
30601         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30603 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30605         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30606         of 0.
30608 2015-01-08  Roland McGrath  <roland@hack.frob.com>
30610         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30611         <nptl/pthreadP.h> instead.
30612         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30614         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30615         already defined.
30616         [__SIGRTMIN] (init): Function removed.
30617         [__SIGRTMIN] (initialized): Variable removed.
30618         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30619         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30620         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30621         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30622         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30623         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30624         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30625         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30626         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30627         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30628         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30629         * sysdeps/nptl/allocrtsig.c: New file.
30630         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30631         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30632         * sysdeps/generic/testrtsig.h: File removed.
30634         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30635         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30637         * nptl/nptl-init.c (pthread_functions): Conditionalize
30638         .ptr__nptl_setxid initialization on [SIGSETXID].
30640         * sysdeps/nptl/sys/procfs.h: New file.
30641         * nptl_db/Makefile (headers): Add it.
30642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30644         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30645         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30646         * nptl/pthread_attr_setaffinity.c: Include it.
30647         * nptl/pthread_setattr_default_np.c: Likewise.
30648         * nptl/check-cpuset.h: New file.
30650 2015-01-08  Richard Henderson  <rth@redhat.com>
30652         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30653         (CFLAGS-tst-execstack-prog.c): Likewise.
30654         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30656 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
30657             Sandra Loosemore  <sandra@codesourcery.com>
30658             Andrew Jenner  <andrew@codesourcery.com>
30659             Joseph Myers  <joseph@codesourcery.com>
30660             Nathan Sidwell  <nathan@codesourcery.com>
30662         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30663         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30664         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30665         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30666         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30667         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30668         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30669         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30670         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30671         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30672         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30673         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30674         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30675         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30676         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30677         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30678         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30680 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30682         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30683         timespec struct member in syscall macro.
30684         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30685         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30686         first timeval struct member in syscall macro.
30687         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30689 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
30691         [BZ #17748]
30692         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30693         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30694         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30695         __feupdateenv and define as weak alias of __feupdateenv.  Use
30696         libm_hidden_weak.
30697         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30698         libm_hidden_def.
30699         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30700         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
30701         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30702         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30703         libm_hidden_def.
30704         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30705         __feupdateenv and define as weak alias of __feupdateenv.  Use
30706         libm_hidden_weak.
30707         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30708         libm_hidden_def.
30709         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30710         __feupdateenv and define as weak alias of __feupdateenv.  Use
30711         libm_hidden_weak.
30712         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30713         libm_hidden_def.
30714         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30715         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30716         (__feupdateenv): Likewise.
30717         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30718         __feupdateenv and define as weak alias of __feupdateenv.  Use
30719         libm_hidden_weak.
30720         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30721         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30722         libm_hidden_def.
30723         * sysdeps/tile/math_private.h (__feupdateenv): New inline
30724         function.
30725         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30726         libm_hidden_def.
30727         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30728         __feupdateenv instead of feupdateenv.
30729         (default_libc_feupdateenv_test): Likewise.
30730         (libc_feresetround_ctx): Likewise.
30732 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30734         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30735         prototype.
30737 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
30739         * posix/regcomp.c (parse_bracket_exp): Initialize type to
30740         COLL_SYM in a couple of places to avoid uninitialized variable
30741         wanings on tilegx gcc 4.8.2.
30743 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30745         * sysdeps/aarch64/strcpy.S: New file.
30746         * sysdeps/aarch64/stpcpy.S: New file.
30747         * NEWS: Updated.
30749 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30751         * sysdeps/aarch64/strrchr.S: New file.
30752         * NEWS: Updated.
30754 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
30756         [BZ #17658]
30757         * stdlib/setenv.c: Fix memory leak when setting large,
30758         duplicate string.
30760 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
30762         [BZ #17273]
30763         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30764         and tabs from buffer before parsing fstab entry.
30765         * misc/tst-mntent.c (main): Add test for mount entry with
30766         trailing spaces and tabs.
30768 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
30770         [BZ #17748]
30771         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
30772         * math/fesetround.c (fesetround): Rename to __fesetround and
30773         define as weak alias of __fesetround.  Use libm_hidden_weak.
30774         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30775         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30776         * sysdeps/arm/fesetround.c (fesetround): Likewise.
30777         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30778         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30779         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30780         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30781         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30782         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30783         __fesetround_inline.
30784         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30785         __fesetround_inline instead of __fesetround.
30786         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30787         __fesetround and define as weak alias of __fesetround.  Use
30788         libm_hidden_weak.  Call __fesetround_inline instead of
30789         __fesetround.
30790         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30791         __fesetround and define as weak alias of __fesetround.  Use
30792         libm_hidden_weak.
30793         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30794         Likewise.
30795         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30796         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30797         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30798         * sysdeps/tile/math_private.h (__fesetround): New inline function.
30799         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30800         __fesetround and define as weak alias of __fesetround.  Use
30801         libm_hidden_weak.
30802         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30803         __fesetround instead of fesetround.
30804         (default_libc_feholdexcept_setround): Likewise.
30805         (libc_feholdsetround_ctx): Likewise.
30806         (libc_feholdsetround_noex_ctx): Likewise.
30808         [BZ #17748]
30809         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30810         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30811         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30812         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30813         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30814         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30815         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30816         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30817         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30818         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30819         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30820         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30821         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30822         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30823         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30824         libm_hidden_def.
30825         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30826         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30827         Likewise.
30828         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30829         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30830         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30831         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30832         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30833         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30834         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30835         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30836         __fesetenv instead of fesetenv.
30837         (libc_feresetround_noex_ctx): Likewise.
30838         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30839         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30840         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30841         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30842         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30843         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30844         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30845         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30846         (__feupdateenv): Likewise.
30847         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30848         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30849         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30850         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30852 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30854         [BZ #17806]
30855         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30856         addresses have been freed.
30858 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30860         * resolv/res_init.c (__res_vinit): Improve comments about nserv
30861         and nservall.
30863 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
30865         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30866         Clean up check_pf allocation pattern. addresses
30868 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30870         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30871         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30872         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30873         * nptl/pthread_exit.c (__pthread_exit): Likewise.
30874         * nptl/pthread_join.c (pthread_join): Likewise.
30875         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30876         * sysdeps/posix/waitid.c (__waitid): Likewise.
30877         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30878         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30879         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30880         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30881         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30882         Likewise.
30883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30884         (__libc_pread64): Likewise.
30885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30886         (__libc_pwrite): Likewise.
30887         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30888         (__libc_pwrite64): Likewsie.
30889         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30890         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30891         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30892         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30893         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30894         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30895         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30897         Likewise.
30898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30899         (__libc_pread64): Likewise.
30900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30901         Likewise.
30902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30903         (__libc_pwrite64): Likewise.
30904         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30905         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30906         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30907         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30908         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30909         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30910         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30911         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30912         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30913         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30914         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30915         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30916         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30917         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30918         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30919         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30920         Likewise.
30922 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30924         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30925         (CFLAGS-test-double.c): Likewise.
30926         (CFLAGS-test-ldouble.c): Likewise.
30927         (CPPFLAGS-test-ifloat.c): Likewise.
30928         (CPPFLAGS-test-idouble.c): Likewise.
30929         (CPPFLAGS-test-ildoubl.c): Likewise.
30930         (CFLAGS-test-test-fenv.c): Remove variable.
30931         (CFLAGS-test-misc.c): Likewise.
30933 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30935         [BZ #17797]
30936         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30937         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30938         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30939         CLOCKS_PER_SEC == 1000000.
30940         * time/clocktest.c (main): Replace %ld with %jd and cast to
30941         intmax_t.
30943 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30945         * sysdeps/generic/unwind-resume.h: New file.
30946         * sysdeps/gnu/unwind-resume.c: Include it.
30947         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30948         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30949         argument list.
30950         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30951         global rather than static.
30952         (_Unwind_Resume): Update user.
30953         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30954         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30955         rather than static.  Add __attribute__ ((cold)).
30956         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30957         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30958         * sysdeps/arm/arm-unwind-resume.S: New file.
30959         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30960         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30961         * sysdeps/arm/Makefile [$(subdir) = csu]
30962         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30963         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30964         Add rt-arm-unwind-resume.
30965         [$(subdir) = nptl]
30966         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30967         Add pt-arm-unwind-resume.
30968         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30969         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30971 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30973         [BZ #17748]
30974         * include/fenv.h (__feholdexcept): Declare.  Use
30975         libm_hidden_proto.
30976         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30977         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30978         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30979         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30980         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30981         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30982         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30983         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30984         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30985         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30986         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30987         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30988         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30989         (feholdexcept): Likewise.
30990         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30991         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30992         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30993         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30994         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30995         __feholdexcept instead of feholdexcept.
30996         (default_libc_feholdexcept_setround): Likewise.
30998 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
31000         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
31001         to avoid using stl/str to align destination.
31003 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
31005         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
31007 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
31009         [BZ #17796]
31010         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
31011         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
31012         Define as weak alias not strong alias.
31014 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
31016         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
31017         bltzal with addiupc.
31018         (RTLD_START): Ditto.
31020 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
31022         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
31023         for __vdso_* functions in declarations.
31024         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
31025         definitions.
31026         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
31027         INTERNAL_VSYSCALL): Use struct return types to check for error.
31029         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
31030         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
31031         function with cast from llround().
31032         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
31033         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
31034         Define.
31036 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
31038         [BZ #17793]
31039         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
31040         Define as weak alias not strong alias.
31042         [BZ #17635]
31043         * ctype/ctype-c99.c: New file.  isblank implementation moved from
31044         ...
31045         * ctype/ctype-extn.c: ... here.
31046         (__isblank_l): Move to ...
31047         * ctype/ctype-c99_l.c: ... here.  New file.
31048         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
31049         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
31050         Remove variable.
31051         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31052         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31053         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31054         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31055         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31057         [BZ #17777]
31058         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
31059         (posix_fadvise64): Define as weak alias not strong alias.
31060         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31061         (posix_fallocate64): Likewise.
31062         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
31063         Remove variable.
31064         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31065         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31066         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31067         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31068         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31070 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
31072         [BZ #16191]
31073         * NEWS: Mention bug fix.
31074         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
31075         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
31076         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
31077         (HOST_STACK_END_ADDR): Likewise.
31079 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
31081         [BZ #17748]
31082         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
31083         * math/fegetround.c (fegetround): Rename to __fegetround and
31084         define as weak alias of __fegetround.  Use libm_hidden_weak.
31085         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
31086         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
31087         * sysdeps/arm/fegetround.c (fegetround): Likewise.
31088         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
31089         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31090         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
31091         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
31092         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
31093         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31094         Undefine after rather than before function definition; use
31095         parentheses around function name in definition.
31096         (__fegetround): Also undefine macro after function definition.
31097         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
31098         __fegetround and define as weak alias of __fegetround.  Use
31099         libm_hidden_weak.  Do not undefine as macro.
31100         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31101         Likewise.
31102         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
31103         __fegetround and define as weak alias of __fegetround.  Use
31104         libm_hidden_weak.
31105         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31106         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31107         * sysdeps/tile/math_private.h (__fegetround): New inline function.
31108         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
31109         __fegetround and define as weak alias of __fegetround.  Use
31110         libm_hidden_weak.
31111         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
31112         __fegetround instead of fegetround.
31114         [BZ #17782]
31115         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31116         Condition macro definition on [__USE_MISC].
31118         [BZ #17781]
31119         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31120         (struct sigaction): Change type of sa_flags field to int.
31122         [BZ #17780]
31123         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31124         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31125         __glibc_reserved0.
31127         * nptl/version.c (banner): Use single year in copyright notice.
31129         * NEWS: Update copyright dates.
31130         * catgets/gencat.c (print_version): Likewise.
31131         * csu/version.c (banner): Likewise.
31132         * debug/catchsegv.sh: Likewise.
31133         * debug/pcprofiledump.c (print_version): Likewise.
31134         * debug/xtrace.sh (do_version): Likewise.
31135         * elf/ldconfig.c (print_version): Likewise.
31136         * elf/ldd.bash.in: Likewise.
31137         * elf/pldd.c (print_version): Likewise.
31138         * elf/sotruss.sh: Likewise.
31139         * elf/sprof.c (print_version): Likewise.
31140         * iconv/iconv_prog.c (print_version): Likewise.
31141         * iconv/iconvconfig.c (print_version): Likewise.
31142         * locale/programs/locale.c (print_version): Likewise.
31143         * locale/programs/localedef.c (print_version): Likewise.
31144         * login/programs/pt_chown.c (print_version): Likewise.
31145         * malloc/memusage.sh (do_version): Likewise.
31146         * malloc/memusagestat.c (print_version): Likewise.
31147         * malloc/mtrace.pl: Likewise.
31148         * manual/libc.texinfo: Likewise.
31149         * nptl/version.c (banner): Likewise.
31150         * nscd/nscd.c (print_version): Likewise.
31151         * nss/getent.c (print_version): Likewise.
31152         * nss/makedb.c (print_version): Likewise.
31153         * posix/getconf.c (main): Likewise.
31154         * scripts/test-installation.pl: Likewise.
31155         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31157 2015-01-02  Will Newton  <will.newton@linaro.org>
31159         * sysdeps/arm/armv7/configure: Removed.
31160         * sysdeps/arm/armv7/configure.ac: Likewise.
31162 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
31164         * All files with FSF copyright notices: Update copyright dates
31165         using scripts/update-copyrights.
31166         * intl/plural.c: Regenerated.
31167         * locale/programs/charmap-kw.h: Likewise.
31168         * locale/programs/locfile-kw.h: Likewise.
31170 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31172         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31174 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31176         [BZ #17748]
31177         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31178         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31179         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31180         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31181         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31182         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31183         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31184         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31185         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31186         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31187         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31188         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31189         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31190         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31191         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31192         libm_hidden_def.
31193         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31194         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31195         Likewise.
31196         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31197         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31198         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31199         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31200         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31201         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31202         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31203         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31204         __fegetenv instead of fegetenv.
31205         (libc_feholdsetround_noex_ctx): Likewise.
31207 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31209         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31210         (Elf_MIPS_ABIFlags_v0): New structure.
31211         (EF_MIPS_FP64): Define.
31212         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31213         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31214         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31215         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31216         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31217         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31218         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31219         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31220         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31221         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31222         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31223         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31224         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31225         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31226         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31227         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31228         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31229         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31230         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31231         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31232         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31233         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31234         field.
31235         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31236         EF_MIPS_FP64.
31237         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31238         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31239         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31240         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31241         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31242         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31243         * sysdeps/mips/tst-abi-interlink.c: Likewise.
31244         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31245         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31246         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31247         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31248         record the current FP ABI extension.
31249         (mips-mode-switch): Define to show if kernel headers support mode
31250         switching.
31251         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31252         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31253         supported SYSV ABI version to 3.
31254         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31255         feature.
31257 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31258             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31260         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31261         path.
31262         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31264 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31266         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31267         __fegetround and redefine to call __fegetround.  Remove condition
31268         on [!__NO_MATH_INLINES].
31269         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31270         function.
31271         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31272         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31273         Remove macro.
31274         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31275         instead of <fenv_libc.h>.
31276         (__llrintl): Call fegetround instead of __fegetround.
31277         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31278         instead of <fenv_libc.h>.
31279         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31280         (__lrintl): Call fegetround instead of __fegetround.
31281         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31282         instead of <fenv_libc.h>.
31283         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31284         (__rintl): Call fegetround instead of __fegetround.
31286 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31288         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31289         arrays.
31291 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31293         [BZ #17775]
31294         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31295         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31296         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31298 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31300         * sysdeps/i386/tls-macros.h: Include <features.h>.
31301         (TLS_LE): Use non-PIC version for GCC >= 5.0.
31302         (TLS_IE): Likewise.
31303         (TLS_LD): Likewise.
31304         (TLS_GD): Likewise.
31305         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31306         define for GCC >= 5.0.
31308 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
31310         * math/test-fenv.c (test_single_exception, set_single_exc,
31311         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31312         feexcp_mask_test, feenable_test, fe_single_test): Add
31313         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31314         case where they are not used.
31315         * math/libm-test.inc: Likewise.
31316         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31317         unused in the absence of FP rounding/exception support.
31318         * stdio-common/tst-printf-round.c: Likewise.
31319         * stdlib/tst-strtod-round.c: Likewise.
31320         * stdlib/tst-strtod-underflow.c: Likewise.
31322 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
31324         [BZ #17723]
31325         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31326         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31327         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31328         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31329         libm_hidden_weak.
31330         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31331         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31332         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31333         libm_hidden_def.
31334         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31335         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31336         libm_hidden_weak.
31337         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31338         Likewise.
31339         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31340         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31341         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31342         libm_hidden_weak.
31343         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31344         libm_hidden_def.
31345         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31346         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31347         (__feraiseexcept): Likewise.
31348         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31349         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31350         libm_hidden_weak.
31351         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31352         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31353         libm_hidden_def.
31354         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31355         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31356         Use libm_hidden_def.
31357         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31358         libm_hidden_def.
31359         (feraiseexcept): Define as weak not strong alias.  Use
31360         libm_hidden_weak.
31361         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31362         New inline function.  Factored out of ...
31363         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
31364         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31365         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31366         feraiseexcept.
31367         * math/w_acos.c (__acos): Likewise.
31368         * math/w_asin.c (__asin): Likewise.
31369         * math/w_ilogb.c (__ilogb): Likewise.
31370         * math/w_j0.c (y0): Likewise.
31371         * math/w_j1.c (y1): Likewise.
31372         * math/w_jn.c (yn): Likewise.
31373         * math/w_log.c (__log): Likewise.
31374         * math/w_log10.c (__log10): Likewise.
31375         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31376         * sysdeps/aarch64/fpu/math_private.h
31377         (libc_feupdateenv_test_aarch64): Likewise.
31378         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31379         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31380         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31381         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31382         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31383         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31384         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31385         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31386         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31387         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31389 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31391         [BZ #17732]
31392         * io/test-utime.c (main): Replace %ld with %jd and cast to
31393         intmax_t.
31394         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31395         * nptl/tst-mutex5.c: Include <stdint.h>.
31396         (do_test): Replace %ld with %jd and cast to intmax_t.
31397         * posix/tst-regex.c (run_test): Likewise.
31398         (run_test_backwards): Likewise.
31399         * rt/tst-clock.c: Include <stdint.h>.
31400         (clock_test): Replace %ld with %jd and cast to intmax_t.
31401         * rt/tst-cpuclock1.c: Include <stdint.h>.
31402         (do_test): Replace %lu with %ju and cast to uintmax_t.
31403         * rt/tst-cpuclock2.c: Include <stdint.h>.
31404         (do_test): Replace %lu with %ju and cast to uintmax_t.
31405         * rt/tst-mqueue1.c: Include <stdint.h>.
31406         (check_attrs): Replace %ld with %jd and cast to intmax_t.
31407         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31408         intmax_t.
31409         * rt/tst-mqueue4.c (do_test): Likewise.
31410         * rt/tst-timer4.c: Include <stdint.h>.
31411         (check_ts): Replace %ld with %jd and cast to intmax_t.
31412         (do_test): Likewise.
31413         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31414         and cast to intmax_t.
31415         * sysdeps/pthread/tst-timer.c (main): Likewise.
31416         * time/clocktest.c (main): Likewise.
31417         * time/tst-posixtz.c (do_test): Likewise.
31418         * timezone/tst-timezone.c (main): Likewise.
31420 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31421             H.J. Lu  <hongjiu.lu@intel.com>
31423         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31424         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31425         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31426         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31427         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31428         version if bit_Fast_Unaligned_Load is set.
31429         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31430         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31431         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31432         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31433         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31434         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31435         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31436         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31437         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31438         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31439         to 4.
31440         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31441         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31442         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31443         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31445 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
31447         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31448         instead of #if to avoid a Wundef warning.
31449         * stdlib/tst-limits.c (do_test): Likewise.
31451         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31452         parallel other exception macros.
31453         (fegetenv): Convert from macro to extern inline so that it applies
31454         retroactively to inline functions already seen by the compiler.
31455         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31457         * posix/Makefile (before-compile): Use $(objpfx) for
31458         posix-conf-vars-def.h.
31460 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31462         * posix/getconf.c (main): Use size_t for type of I.
31463         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31464         NSPEC.
31466         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31467         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31468         * posix/posix-envs.def: Likewise.
31469         * sysdeps/posix/sysconf.c: Likewise.
31470         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31471         (specs): Remove array.
31472         * scripts/gen-posix-conf-vars.awk: Support generation of specs
31473         array.
31475         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31476         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31477         (__sysconf): Use CONF_IS_* macros.
31479         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31480         ($(objpfx)posix-conf-vars-def.h): New target.
31481         * posix/posix-conf-vars.list: New file.
31482         * posix/posix-conf-vars.h: New file.
31483         * posix/confstr.c: Include posix-conf-vars.h.
31484         (confstr): Use CONF_IS_* macros.
31485         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
31486         CONF_IS_* macros.
31487         * scripts/gen-posix-conf-vars.awk: New file.
31489 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
31491         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31492         fegetround): Add no-op macros to avoid linknamespace issues.
31494         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31495         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31497         * sysdeps/unix/sysv/linux/tile/sysdep.h
31498         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31499         assembly-specific section to avoid a redefinition warning.
31501         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31502         long before casting to pointer to avoid a cast warning.
31504 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
31506         * sysdeps/tile/tilegx/Implies: New file.
31508 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
31510         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31512 2014-12-23  Florian Weimer  <fweimer@redhat.com>
31514         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31516 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31518         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31519         not define.
31520         * sysdeps/unix/sysv/linux/utimes.c: Do not include
31521         <kernel-features.h>.
31522         (__utimes) [__NR_utimes]: Make code unconditional.
31523         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31524         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31525         (__ASSUME_UTIMES): Do not undefine.
31526         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31527         (__ASSUME_UTIMES): Likewise.
31528         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31529         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31530         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31531         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31533 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31535         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31537 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
31539         [BZ #17747]
31540         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31541         alias to weak alias for j0l, y0l.
31542         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31543         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31545         [BZ #17746]
31546         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31547         conversion.
31549 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31551         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31552         to zero if not already defined.
31554 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31556         [BZ #17724]
31557         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31558         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
31559         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
31560         (char *) casts added.
31561         * sysdeps/ieee754/k_standardf.c: New file.
31562         * sysdeps/ieee754/k_standardl.c: Likewise.
31563         * math/Makefile (libm-support): Remove k_standard.
31564         (libm-calls): Add k_standard.
31566 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31568         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31569         Optimize to avoid an unnecessary FPCR read.
31571 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31573         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31574         Optimize to reduce FPCR/FPSR accesses.
31576 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31578         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31579         Call libc_fetestexcept_aarch64.
31581 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31583         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31584         Call libc_fesetround_aarch64.
31586 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31588         [BZ #17733]
31589         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31590         (__bind): Do not define as weak alias.
31591         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31592         define.
31593         (__getsockname): Do not define as weak alias.
31595 2014-12-22  Will Newton  <will.newton@linaro.org>
31597         * manual/install.texi: Document that we require bison 2.7
31598         or above.
31599         * INSTALL: Regenerate.
31600         * configure.ac: Use AC_CHECK_PROG_VER instead of
31601         AC_PATH_PROG when checking for bison and check for
31602         version 2.7 or above.
31603         * configure: Regenerate.
31605 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
31607         [BZ #17745]
31608         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31609         * sysdeps/tile/ffsll.c (ffsll): To here.
31611         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31613 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31615         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31616         if not defined.
31617         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31618         definition.
31619         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31620         hidden ___tls_get_addr.
31621         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31622         hidden __tls_get_addr.
31623         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31624         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31625         Likewise.
31627 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31629         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31630         _dl_init call.
31632 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31634         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31635         from "call _dl_init@PLT".
31636         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31638 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
31640         * manual/search.texi: (Array Sort Function): Clarify stable sorting
31641         guarantees.
31643 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
31645         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31647 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31649         [BZ #17744]
31650         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31651         strnlen.
31653 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31655         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31656         of multu on MIPSr6.
31657         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31658         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31659         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31660         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31661         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31663 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31665         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31666         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31667         (PTR_SUBU): Use subu for mips32r6/mips64r6.
31668         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31669         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31670         mips32r6/mips64r6.
31671         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31673 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
31675         * string/strncat.c (STRNCAT): Simplify implementation.
31677 2014-12-19  David S. Miller  <davem@davemloft.net>
31679         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31680         access the quad as both a long double and as a series of 4 words.
31682         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31683         link_map->l_info array access.
31685 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31687         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31689         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31690         * math/atest-exp2.c (TIMEOUT): Likewise.
31691         * math/atest-sincos.c (TIMEOUT): Likewise.
31693 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31695         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31696         -Wno-error with -fno-builtin-lround.
31698 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31700         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31701         Contains futex constants and functions moved over from ...
31702         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
31703         <lowlevellock-futex.h>.
31704         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31705         (lll_timedwait_tid): Add comments and parentheses around macro
31706         arguments.
31708 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31710         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31711         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
31712         (__lll_private_flag): Remove.
31713         (lll_futex_wait): Likewise.
31714         (lll_futex_timed_wait): Likewise.
31715         (lll_futex_wake): Likewise.
31716         (lll_futex_requeue): Likewise.
31717         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31718         (__lll_timedwait_tid): Spell out argument names.
31719         (lll_timedwait_tid): Add comments and parentheses around macro
31720         arguments.
31721         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31722         LLL_SHARED and LLL_PRIVATE usable from assembly code.
31724 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31726         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31727         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31728         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31729         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31730         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31731         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31732         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31733         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31734         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31735         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31736         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31737         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31738         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31739         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31740         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31741         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31742         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31743         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31744         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31746 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31748         * sysdeps/x86_64/x32/Makefile: New file.
31750 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31752         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31753         1L with (mp_limb_t) 1.
31755 2014-12-17  Roland McGrath  <roland@hack.frob.com>
31757         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31758         * nptl/libc_pthread_init.c: ... here.
31759         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31760         * nptl/register-atfork.c: ... here.
31762         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31763         Use pthread_sigmask rather than INTERNAL_SYSCALL.
31764         Use assert_perror to check its return value.
31765         (__gai_create_helper_thread): Likewise.
31767         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31769         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31771 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
31773         [BZ #17725]
31774         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31775         __profil_counter.
31776         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31777         Likewise.
31778         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31779         Likewise.
31780         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31781         Likewise.
31782         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31783         (profil_counter): Likewise.
31784         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31785         (profil_counter): Likewise.
31786         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31787         Likewise.
31788         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31789         Likewise.
31790         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31791         (profil_counter): Likewise.
31792         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31793         Likewise.
31794         [!__profil_counter] (profil_counter): Define as weak alias of
31795         __profil_counter.
31796         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31797         (profil_counter): Rename to __profil_counter.
31798         [!__profil_counter] (profil_counter): Define as weak alias of
31799         __profil_counter.
31800         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31801         (profil_counter): Rename to __profil_counter.
31802         [!__profil_counter] (profil_counter): Define as weak alias of
31803         __profil_counter.
31804         * sysdeps/posix/profil.c: Update comment referring to
31805         profil_counter.
31806         (__profil): Use __profil_counter instead of profil_counter.
31807         * sysdeps/posix/sprofil.c (profil_counter): Rename to
31808         __profil_counter.  Use __profil_counter_ushort and
31809         __profil_counter_uint in definitions.
31810         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31811         instead of profil_counter_uint and profil_counter_ushort.
31813         [BZ #17722]
31814         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31815         define as weak alias of __inet_makeaddr.
31816         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31817         as weak alias of __inet_addr.
31818         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31819         as weak alias of __inet_pton.  Use libc_hidden_weak.
31820         * include/arpa/inet.h (__inet_pton): Declare.  Use
31821         libc_hidden_proto.
31822         (inet_makeaddr): Don't use libc_hidden_proto.
31823         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
31824         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31825         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
31826         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31827         Remove variable.
31828         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31829         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31831 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
31833         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31835 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31837         * stdio-common/bug-vfprintf-nargs.c (do_test):
31838         Cast value to intptr_t to avoid format warning
31839         for usage with PRIdPTR printing macro.
31841 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31843         * libio/tst-widetext.c (do_test):
31844         Use format type %td instead of %Zd for ptrdiff_t
31845         in order to avoid format warning.
31847 2014-12-17  Andreas Schwab  <schwab@suse.de>
31849         * nscd/mem.c (gc): Add size_t cast to match printf format.
31851 2014-12-16  Roland McGrath  <roland@hack.frob.com>
31853         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31854         (init): Apply PTR_MANGLE to pointers before storing them.
31855         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31856         before using them.
31858 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
31860         [BZ #17719]
31861         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31862         define as weak alias of __memrchr.
31863         (__memrchr): Do not define as strong alias of memrchr.
31864         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31865         Remove variable.
31866         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31867         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31868         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31870         [BZ #17717]
31871         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31872         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
31873         (if_indextoname): Rename to __if_indextoname and define as weak
31874         alias of __if_indextoname.  Use libc_hidden_weak.
31875         (if_freenameindex): Rename to __if_freenameindex and define as
31876         weak alias of __if_freenameindex.
31877         (if_nameindex): Rename to __if_nameindex and define as weak alias
31878         of __if_nameindex.
31879         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31880         __if_nametoindex and define as weak alias of __if_nametoindex.
31881         Use libc_hidden_weak.
31882         (if_freenameindex): Rename to __if_freenameindex and define as
31883         weak alias of __if_freenameindex.
31884         (if_nameindex): Rename to __if_nameindex and define as weak alias
31885         of __if_nameindex.
31886         (if_indextoname): Rename to __if_indextoname and define as weak
31887         alias of __if_indextoname.  Use libc_hidden_weak.
31888         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31889         __if_nametoindex and define as weak alias of __if_nametoindex.
31890         Use libc_hidden_weak.
31891         (if_freenameindex): Rename to __if_freenameindex and define as
31892         weak alias of __if_freenameindex.  Use libc_hidden_weak.
31893         (if_nameindex_netlink): Use __if_freenameindex instead of
31894         if_freenameindex.
31895         (if_nameindex): Rename to __if_nameindex and define as weak alias
31896         of __if_nameindex.  Use libc_hidden_weak.
31897         (if_indextoname): Rename to __if_indextoname and define as weak
31898         alias of __if_indextoname.  Use libc_hidden_weak.
31899         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31900         libc_hidden_proto.
31901         [!_ISOMAC] (__if_freenameindex): Likewise.
31902         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31903         if_nametoindex.
31904         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31905         variable.
31906         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31907         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31908         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31909         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31910         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31911         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31912         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31914         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31915         Remove variable.
31916         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31917         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31919 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31921         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31922         subscript above bounds'
31924         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31925         bounds.
31927 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31929         * libio/tst-fopenloc.c: Use test-skeleton.c.
31931         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31932         (entry): Rename to ITEM.
31933         (do_test, comp): Adjust.
31935         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31937 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31939         * string/tester.c: Include <libc-internal.h>.
31940         (test_memset): Ignore -Wmemset-transposed-args.
31942 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31944         * misc/tst-mntent2.c (do_test): Fix warning.
31946 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31948         * elf/tst-unique4lib.cc(a): Mark as used.
31950 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31952         [BZ #17630]
31953         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31954         names.
31956 2014-12-16  Allan McRae  <allan@archlinux.org>
31958         * stdio-common/Makefile (tests): Re-add bug26.
31960 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31962         [BZ #17657]
31963         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31964         static array.
31966 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31968         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31969         (__lll_lock_wait): Likewise.
31970         (__lll_timedlock_wait): Likewise.
31971         (__lll_timedwait_tid): Likewise.
31972         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31973         (__lll_robust_timedlock_wait): Likewise.
31974         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31975         (lll_cond_trylock): Likewise.
31976         (__lll_lock): Likewise.
31977         (__lll_robust_lock): Likewise.
31978         (__lll_cond_lock): Likewise.
31979         (lll_robust_cond_lock): Likewise.
31980         (__lll_timedlock): Likewise.
31981         (__lll_robust_timedlock): Likewise.
31982         (__lll_unlock): Likewise.
31983         (__lll_robust_unlock): Likewise.
31984         (lll_wait_tid): Likewise.
31985         (lll_timedwait_tid): Likewise.
31987 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31989         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31991 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31993         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31995 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31997         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31998         * stdio-common/tst-sprintf.c: Likewise.
32000 2014-12-15  Torvald Riegel  <triegel@redhat.com>
32002         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
32004 2014-12-15  Jeff Law  <law@redhat.com>
32006         [BZ #16617]
32007         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
32008         on the heap.  (CVE-2012-3406)
32009         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
32010         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
32011         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
32013 2014-12-15  Will Newton  <will.newton@linaro.org>
32015         * manual/install.texi: Bump required version of texinfo
32016         to 4.7 from 4.5.
32017         * INSTALL: Regenerated.
32018         * configure.ac: Check for makeinfo version 4.7 and above.
32019         * configure: Regenerated.
32021 2014-12-12  Roland McGrath  <roland@hack.frob.com>
32023         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
32024         PREFIX, string constant to insert between directory and name.
32025         * sysdeps/posix/shm_open.c: Update caller.
32026         * sysdeps/posix/shm_unlink.c: Likewise.
32027         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
32028         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
32029         (SEM_SHM_PREFIX): New macro.
32030         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
32031         [$(have-thread-library) = no].
32032         * nptl/Makefile (libpthread-routines): Add shm-directory.
32033         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
32034         * sysdeps/nptl/shm-directory.h: New file.
32035         * sysdeps/posix/shm-directory.c
32036         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
32037         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
32038         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
32039         INTERNAL_SYSCALL.
32040         (__where_is_shmfs): Function removed.
32041         (mountpoint, defaultmount, defaultdir, __namedsem_once):
32042         Variables removed.
32043         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
32044         Use SHM_GET_NAME.
32045         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
32047         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
32048         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
32049         unconditional for use inside libpthread.
32050         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
32052 2014-12-12  Roland McGrath  <roland@hack.frob.com>
32054         * nptl/pthread_getaffinity.c: New file.
32055         * nptl/pthread_setaffinity.c: New file.
32056         * nptl/pthread_getname.c: New file.
32057         * nptl/pthread_setname.c: New file.
32059         * nptl/pthread_create.c (START_THREAD_DEFN)
32060         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
32062 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32063             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32065         * resolv/res_send.c (send_vc): Disable warning resplen may
32066         be used uninitialized.
32068 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32070         * nptl/tst-mutex6.c
32071         (ATTR_NULL): New define checks ATTR against NULL.
32072         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
32073         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
32075 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
32077         [BZ #17581]
32078         * malloc/hooks.c
32079         (mem2mem_check): Revert my previous change.
32080         (malloc_check_get_size): Revert my previous change.
32081         (mem2chunk_check): Revert my previous change.
32083 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32085         * sysdeps/posix/shm-directory.c: New file.
32086         * sysdeps/posix/shm-directory.h: New file.
32087         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
32088         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
32089         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
32090         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
32091         Transmute EPERM to EACCES.
32092         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
32093         from ...
32094         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
32095         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
32097 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32099         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
32100         pointer and cast to uintptr_t.
32101         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
32102         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
32103         Add cast to avoid warning.
32104         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
32106 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
32108         * nptl/semaphore.h: Move to ...
32109         * sysdeps/pthread/semaphore.h: ... here.
32110         * Makefile (installed-headers): Change nptl/semaphore.h to
32111         sysdeps/pthread/semaphore.h.
32113 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32115         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32116         generated error format strings.
32118         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32119         -Wformat-extra-args warnings for scanf formats.
32120         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32121         test of zero-length format (duh).
32122         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32123         corner-case scanf format test.
32124         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32125         generated fprintf format string.
32126         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32127         corner-case sprintf format tests.
32128         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32129         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32130         -Wformat-extra-args warnings throughout.
32131         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32132         (CFLAGS-scanf4.c): Likewise.
32133         (CFLAGS-scanf7.c): Likewise.
32134         (CFLAGS-tst-sprintf.c): Likewise.
32135         (CFLAGS-tst-printf.c): Likewise.
32136         (CFLAGS-tst-printfsz.c): Likewise.
32138 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
32140         * include/cpio.h: New file.
32141         * include/fmtmsg.h: Likewise.
32143         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
32144         corresponding format argument to size_t.
32145         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
32146         arguments.
32147         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
32148         corresponding format argument to size_t.
32149         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
32150         arguments.
32151         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
32152         corresponding format argument to size_t.
32153         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32154         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32155         (CFLAGS-tst-mbswcs2.c): Likewise.
32156         (CFLAGS-tst-mbswcs3.c): Likewise.
32157         (CFLAGS-tst-mbswcs4.c): Likewise.
32158         (CFLAGS-tst-mbswcs5.c): Likewise.
32159         (CFLAGS-tst-trans.c): Likewise.
32161 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32163         * posix/regexbug1.c (main): Use "%s" format with regerror results,
32164         rather than assuming they won't contain any '%'s.
32166 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
32168         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32169         inhibit_loop_to_libcall to avoid recursive calls.
32170         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32171         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32173 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
32175         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32176         prototype.
32178 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32180         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32181         integer value instead of boolean.
32183 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32185         * malloc/malloc.c: Fix powerof2 check.
32187 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32189         * locale/programs/locfile.h (maybe_swap_uint32):
32190         Remove inline and add unused attribute.
32192 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32194         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32195         Truncating assembler expression to a .long expression.
32197 2014-12-11  Andreas Schwab  <schwab@suse.de>
32199         * elf/rtld.c (struct map_args): Constify str member.
32200         (do_preload): Constify fname argument.
32202 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32204         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32205         constants definition.
32207 2014-12-11  Andreas Schwab  <schwab@suse.de>
32209         [BZ #16657]
32210         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32211         FORCE_ELISION instead of DO_ELISION.
32212         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32213         Remove.
32214         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32215         Likewise.
32217         * iconvdata/gconv-modules: Remove duplicate entry.
32219 2014-12-11  Will Newton  <will.newton@linaro.org>
32221         Merge gettext 0.19.3 into intl/.
32223         This involves a number of cosmetic changes to comments
32224         and ANSI function definitions and prototypes throughout
32225         all the files. The gettext copyright header is used but
32226         with the date ranges taken from the glibc copy.
32228         * NEWS: Add gettext merge to 2.21.
32229         * intl/bindtextdom.c: Switch to gettext copyright.
32230         Use ANSI definitions and prototypes.
32231         Use gl_* locking primitives rather than __libc_* ones.
32232         Use __builtin_expect rather than __glibc_likely/unlikely.
32233         * intl/dcgettext.c: Switch to gettext copyright.
32234         Use ANSI definitions and prototypes.
32235         * intl/dcigettext.c: Switch to gettext copyright.
32236         Use ANSI definitions and prototypes.
32237         (INTDIV0_RAISES_SIGFPE): New define.
32238         Use gl_* locking primitives rather than __libc_* ones.
32239         Include eval-plural.h instead of plural-eval.c.
32240         Use __builtin_expect rather than __glibc_likely/unlikely.
32241         * intl/dcngettext.c: Switch to gettext copyright.
32242         Use ANSI definitions and prototypes.
32243         * intl/dgettext.c: Likewise.
32244         * intl/dngettext.c: Likewise.
32245         * intl/plural-eval.c: Renamed to...
32246         * intl/eval-plural.h: ...this.
32247         * intl/explodename.c: Switch to gettext copyright.
32248         Use ANSI definitions and prototypes.
32249         (_nl_explode_name): Use strchr instead of __rawmemchr.
32250         * intl/finddomain.c: Switch to gettext copyright.
32251         Use ANSI definitions and prototypes.
32252         Use gl_* locking primitives rather than __libc_* ones.
32253         (_nl_find_domain): Use malloc rather than alloca for
32254         allocation of temporary locale name.
32255         * intl/gettext.c: Switch to gettext copyright.
32256         Use ANSI definitions and prototypes.
32257         * intl/gettextP.h: Switch to gettext copyright.
32258         Use ANSI definitions and prototypes.
32259         Use gl_* locking primitives rather than __libc_* ones.
32260         * intl/gmo.h: Switch to gettext copyright.
32261         (struct sysdep_string): Move struct segment_pair outside of
32262         struct definition.
32263         * intl/hash-string.c: Use ANSI definitions and prototypes.
32264         * intl/hash-string.h: Switch to gettext copyright.
32265         Use ANSI definitions and prototypes.
32266         * intl/l10nflist.c: Switch to gettext copyright.
32267         Use ANSI definitions and prototypes.
32268         (_nl_normalize_codeset): Avoid integer overflow.
32269         * intl/loadinfo.h: Switch to gettext copyright.
32270         Use ANSI definitions and prototypes.
32271         (LIBINTL_DLL_EXPORTED): New define.
32272         (PATH_SEPARATOR): New define.
32273         * intl/loadmsgcat.c: Switch to gettext copyright.
32274         * intl/localealias.c: Switch to gettext copyright.
32275         Use ANSI definitions and prototypes.
32276         (_nl_expand_alias): Use PATH_SEPARATOR.
32277         * intl/ngettext.c: Switch to gettext copyright.
32278         Use ANSI definitions and prototypes.
32279         * intl/plural-exp.c: Likewise.
32280         * intl/plural-exp.h: Switch to gettext copyright.
32281         Use ANSI definitions and prototypes.
32282         (struct expression): Move definition of enum operator outside
32283         of struct definition.
32284         * intl/plural.c: Regenerate.
32285         * intl/plural.y: Switch to gettext copyright.
32286         Use ANSI definitions and prototypes.
32287         Port to bison 3.0.
32288         * intl/textdomain.c: Switch to gettext copyright.
32289         Use ANSI definitions and prototypes.
32290         Use gl_* locking primitives rather than __libc_* ones.
32292 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
32294         * debug/warning-nop.c: Add used atrribute.
32296 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32298         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32300         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32301         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32302         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32304 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32305             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32307         [BZ #17634]
32308         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32309         Undefine after defining function.  Define as weak alias of
32310         __wcschr.  Use libc_hidden_weak.
32311         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
32312         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32313         (libc_hidden_def): Also define __GI___wcschr alias.
32314         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32315         __wcschr and define as weak alias of __wcschr.
32316         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32317         __wcschr.
32318         [!WCSCHR] (DEFAULT_WCSCHR): Define.
32319         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32320         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
32321         libc_hidden_weak.  Do not use libc_hidden_def.
32322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32323         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32324         __GI___wcschr alias.
32325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32326         [IS_IN (libc)] (wcschr): Define as macro expanding to
32327         __redirect_wcschr.
32328         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32329         [IS_IN (libc)] (__wcschr_power6): Likewise.
32330         [IS_IN (libc)] (__wcschr_power7): Likewise.
32331         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
32332         instead of wcschr.
32333         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32334         __libc_wcschr.
32335         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32336         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32337         __wcschr and define as weak alias of __wcschr.  Use
32338         libc_hidden_builtin_def.
32339         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32340         as weak alias of __wcschr.  Use libc_hidden_weak.
32341         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32342         wcschr.
32343         * time/era.c (_nl_init_era_entries): Likewise.
32344         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32345         variable.
32346         (test-xfail-XPG3/time.h/linknamespace): Likewise.
32347         (test-xfail-XPG4/time.h/linknamespace): Likewise.
32349 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32351         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32352         format for long int variable.
32354 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
32356         [BZ #10672]
32357         * manual/search.texi: (Array Sort Function): Remove claim how to make
32358         qsort stable.
32360 2014-12-10  Andreas Schwab  <schwab@suse.de>
32362         [BZ #12847]
32363         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32364         user-controlled locks.
32366 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
32368         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32369         register.
32371 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32373         * configure.ac (--disable-werror): New configure option.
32374         (enable_werror): New AC_SUBST.
32375         * configure: Regenerated.
32376         * config.make.in (enable-werror): New variable.
32377         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32378         -Wno-error=undef.
32379         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32380         * manual/install.texi (Configuring and compiling): Document
32381         --disable-werror.
32382         * INSTALL: Regenerated.
32383         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32384         (CFLAGS-tst-chk2.c): Likewise.
32385         (CFLAGS-tst-chk3.c): Likewise.
32386         (CFLAGS-tst-chk4.cc): Likewise.
32387         (CFLAGS-tst-chk5.cc): Likewise.
32388         (CFLAGS-tst-chk6.cc): Likewise.
32389         (CFLAGS-tst-lfschk1.c): Likewise.
32390         (CFLAGS-tst-lfschk2.c): Likewise.
32391         (CFLAGS-tst-lfschk3.c): Likewise.
32392         (CFLAGS-tst-lfschk4.cc): Likewise.
32393         (CFLAGS-tst-lfschk5.cc): Likewise.
32394         (CFLAGS-tst-lfschk6.cc): Likewise.
32396         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32397         (main): Disable -Wdeprecated-declarations around calls to
32398         register_printf_function.
32400         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32401         (do_test): Disable -Wdiv-by-zero around some calls to
32402         fwrite_unlocked and fread_unlocked.
32404         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32405         (DIAG_POP_NEEDS_COMMENT): Likewise.
32406         (_DIAG_STR1): Likewise.
32407         (_DIAG_STR): Likewise.
32408         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32409         * stdio-common/bug21.c: Include <libc-internal.h>.
32410         (do_test): Disable -Wformat around call to sscanf.
32411         * stdio-common/scanf14.c: Include <libc-internal.h>.
32412         (main): Disable -Wformat around some calls to scanf functions.
32414 2014-12-09  Torvald Riegel  <triegel@redhat.com>
32416         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32418 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32420         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32421         stack variable alignment.
32423 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
32425         [BZ #17682]
32426         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32427         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32428         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32429         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32430         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32431         __getrlimit instead of getrlimit.
32432         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32433         __gettimeofday instead of gettimeofday.
32434         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32435         Likewise.
32436         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32437         Likewise.
32438         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32439         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32440         Remove variable.
32441         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32442         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32444 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32446         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32447         for wide-character tests.
32449 2014-12-04  Roland McGrath  <roland@hack.frob.com>
32451         * io/openat64.c: #include <libc-internal.h>
32452         (__openat64): Prototypify.  Use ignore_value on MODE.
32453         * io/openat.c: Likewise.
32454         * misc/reboot.c: #include <libc-internal.h>
32455         (reboot): Prototypify.  Use ignore_value on HOWTO.
32456         * misc/ptrace.c: #include <libc-internal.h>
32457         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
32459 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
32461         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32462         XPG4, UNIX98 and XOPEN2K.
32463         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32464         Remove variable.
32465         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32467 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32469         * libio/fileops.c: Use ISO C style for function definitions.
32470         * libio/iofopen.c: Likewise.
32471         * libio/wfileops.c: Likewise.
32473         [BZ #17653]
32474         * libio/fileops.c (_IO_new_file_underflow): Unset cached
32475         offset on EOF.
32476         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32477         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32478         (fgets_func): Function pointer to fgets and fgetws.
32479         (do_ftell_test): Add test to verify ftell value after read
32480         EOF.
32481         (do_test): Set fgets_func.
32483         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32484         O_TRUNC flag for w and w+ modes.
32485         (do_rewind_test): Likewise.
32486         (do_ftell_test): Likewise.
32487         (do_write_test): Likewise.
32489         [BZ #17647]
32490         * libio/fileops.c (do_ftell): Seek only when there are
32491         unflushed writes.
32492         * libio/wfileops.c (do_ftell_wide): Likewise.
32493         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32494         test case.
32495         (do_one_test): Call it.
32497 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
32499         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32500         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32501         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32502         Remove variable.
32503         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32504         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32505         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32507 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32509         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32510         Remove variable.
32511         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32513         [BZ #17668]
32514         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32515         as weak alias of __getifaddrs.  Use libc_hidden_weak.
32516         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32517         __freeifaddrs.  Use libc_hidden_weak.
32518         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32519         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
32520         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32521         __freeifaddrs.  Use libc_hidden_weak.
32522         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32523         __getifaddrs and define as weak alias of __getifaddrs.  Use
32524         libc_hidden_weak.
32525         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32526         __freeifaddrs.  Use libc_hidden_weak.
32527         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32528         Remove variable.
32529         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32530         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32532 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32534         [BZ #17601]
32535         * sysdeps/mips/start.S (__start): Use indirect jump to call
32536         __libc_start_main.
32538 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32540         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32542         * nptl/tst-mutex1.c: Include <stdbool.h>.
32543         [!ATTR] (ATTR_NULL): New macro.
32544         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32545         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32546         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32548         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32549         to char *.
32551         [BZ #17665]
32552         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32553         Change conditional to [__USE_MISC].
32555         [BZ #17664]
32556         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32557         fgets_unlocked.
32558         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32559         __fgets_unlocked.
32560         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32561         fgets_unlocked.
32562         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32563         Remove variable.
32564         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32565         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32566         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32567         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32568         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32569         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32570         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32571         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32572         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32574         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32576 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32578         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32579         Remove strpbrk objects.
32580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32581         (__libc_ifunc_impl_list): Remove strpbrk implementation.
32582         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32583         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32584         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32585         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32587         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32588         Remove strcspn objects.
32589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32590         (__libc_ifunc_impl_list): Remove strcspn implementation.
32591         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32592         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32593         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32594         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32596         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32597         Remove strspn objetcs.
32598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32599         (__libc_ifunc_impl_list): Remove strspn implementation.
32600         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32601         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32602         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32603         * sysdeps/powerpc/powerpc64/strspn.S: New file.
32605 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
32607         [BZ #17581]
32608         * malloc/hooks.c
32609         (mem2mem_check): Add a terminator to the chain of checking blocks.
32610         (malloc_check_get_size): Use it here.
32611         (mem2chunk_check): Ditto.
32613 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32615         * sysdeps/powerpc/powerpc64/strtok.S: New file.
32616         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32618 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
32620         * bits/ioctl-types.h: Indent preprocessor directives correctly.
32622         * nptl/nptl-init.c: Include libc-internal.h.
32623         (__pthread_initialize_minimal_internal): Use ROUND_UP.
32625         * elf/ldconfig.c (search_dir): Expand comment.
32627 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
32629         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32630         variable.
32631         (linknamespace-symlist-stdlibs-tests): Likewise.
32632         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32633         instead of $(objpfx)symlist-stdlibs.
32634         (linknamespace-libs-isoc): New variable.
32635         (linknamespace-libs): Use $(linknamespace-libs-isoc).
32636         (linknamespace-libs-ISO): New variable.
32637         (linknamespace-libs-ISO99): Likewise.
32638         (linknamespace-libs-ISO11): Likewise.
32639         (linknamespace-libs-XPG3): Likewise.
32640         (linknamespace-libs-XPG4): Likewise.
32641         (linknamespace-libs-POSIX): Likewise.
32642         (linknamespace-libs-UNIX98): Likewise.
32643         (linknamespace-libs-XOPEN2K): Likewise.
32644         (linknamespace-libs-POSIX2008): Likewise.
32645         (linknamespace-libs-XOPEN2K8): Likewise.
32646         ($(objpfx)symlist-stdlibs): Replace by
32647         $(linknamespace-symlist-stdlibs-tests).  Use
32648         $(linknamespace-libs-$*) as set of libraries.
32649         ($(linknamespace-header-tests)): Update dependencies.  Use
32650         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32651         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32652         * conform/linknamespace.pl: Remove comment about considering
32653         definitions of symbols from irrelevant libraries.
32655 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
32657         [BZ #13862]
32658         * elf/dl-tls.c: Include <atomic.h>.
32659         (oom): Remove #ifdef SHARED/#endif.
32660         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32661         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
32662         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32663         big enough.
32664         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32665         * nptl/Makefile (tests): Add tst-stack4.
32666         (modules-names): Add tst-stack4mod.
32667         ($(objpfx)tst-stack4): New.
32668         (tst-stack4mod.sos): Likewise.
32669         ($(objpfx)tst-stack4.out): Likewise.
32670         ($(tst-stack4mod.sos)): Likewise.
32671         (clean): Likewise.
32672         * nptl/tst-stack4.c: New file.
32673         * nptl/tst-stack4mod.c: Likewise.
32675 2014-11-27  J. Brown  <jb999@gmx.de>
32677         * sysdeps/x86/bits/string.h: Add recent CPUs.
32679 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32681         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32682         sigblock.
32684         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32685         feof.
32687         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32688         variable.
32690 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
32692         * nscd/connections.c: Include libc-internal.h because of macro
32693         usage ignore_value.
32695 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32697         * string/bits/string3.h (__warn_memset_zero_len): Don't
32698         declare for gcc newer than 5.0.
32699         (memset): Don't test for zero-length __LEN for gcc newer than
32700         5.0.
32702 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32704         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32705         size_t for %zu format.
32707         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32708         difference, not %ju.
32710 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32712         * include/libc-internal.h (ignore_value): New macro.
32713         * nscd/connections.c (restart): Wrap calls to setuid and setgid
32714         with ignore_value.
32716         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32717         definition.
32719         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32720         pthread_cleanup_push to void *.
32722         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32723         Undefine.
32725         [BZ #16619]
32726         [BZ #16740]
32727         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32728         instead of 1L << 52.
32730         * libio/bug-rewind.c (do_test): Check fwscanf return values.
32731         * libio/bug-rewind2.c (do_test): Likewise.
32733         * debug/test-stpcpy_chk-ifunc.c: Remove file.
32734         * debug/test-strcpy_chk-ifunc.c: Likewise.
32735         * wcsmbs/test-wcschr-ifunc.c: Likewise.
32736         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32737         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32738         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32739         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32740         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32741         * Rules [$(multi-arch) = no] (tests): Do not filter out
32742         $(tests-ifunc).
32743         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32744         * debug/Makefile (tests-ifunc): Remove variable.
32745         (tests): Do not add $(tests-ifunc).
32746         * wcsmbs/Makefile (tests-ifunc): Remove variable.
32747         (tests): Do not add $(tests-ifunc).
32748         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32749         [TEST_IFUNC]: Remove conditionals.
32750         * string/test-string.h (TEST_IFUNC): Remove macro.
32751         [TEST_IFUNC]: Remove conditionals.
32753         * string/test-strchr.c [!WIDE] (L): New macro.
32754         [WIDE] (L): Likewise.
32755         (check1): Use CHAR instead of char.  Use L on string and character
32756         constants.
32758 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
32760         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32761         tests.
32762         * sysdeps/powerpc/bits/atomic.h
32763         (__arch_atomic_exchange_and_add_32_acq): Add definition.
32764         (__arch_atomic_exchange_and_add_32_rel): Likewise.
32765         (atomic_exchange_and_add_acq): Likewise.
32766         (atomic_exchange_and_add_rel): Likewise.
32767         * sysdeps/powerpc/powerpc32/bits/atomic.h
32768         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32769         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32770         * sysdeps/powerpc/powerpc64/bits/atomic.h
32771         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32772         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32774 2014-11-26  Torvald Riegel  <triegel@redhat.com>
32776         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32777         Change synchronization of __sched_fifo_min_prio and
32778         __sched_fifo_max_prio.
32779         * nptl/pthread_mutexattr_getprioceiling.c
32780         (pthread_mutexattr_getprioceiling): Likewise.
32781         * nptl/pthread_mutexattr_setprioceiling.c
32782         (pthread_mutexattr_setprioceiling): Likewise.
32783         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32784         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32785         Likewise.
32787 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32789         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32790         void.
32792 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32794         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32795         third argument const.
32797 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
32799         fnmatch: work around GCC compiler warning bug with uninit var
32800         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32801         This works around a bug with x86-64 GCC 4.9.2 and earlier
32802         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32803         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32804         used uninitialized in this function [-Wmaybe-uninitialized]".
32806 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32808         * posix/bug-regex31.c (main): Return RES not 0.
32810 2014-11-25  Anton Blanchard <anton@samba.org>
32812         * sysdeps/powerpc/bits/atomic.h
32813         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32815 2014-11-24  Sterling Augustine  <saugustine@google.com>
32817         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32819 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
32821         [BZ #17608]
32822         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32824 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
32826         [BZ #17633]
32827         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32828         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32829         variable.
32830         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32831         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32833 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32835         * string/strncpy.c (strncpy): Improve performance by using memset.
32837 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32839         * string/strcpy.c (strcpy):
32840         Improve performance by using strlen and memcpy.
32842 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
32844         * string/strcoll_l.c (get_next_seq): __always_inline.
32845         * string/strcoll_l.c (do_compare): __always_inline.
32847 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32849         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32850         defined.
32851         * include/mqueue.h: Likewise.
32852         * include/stdlib.h: Likewise.
32854         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32855         (get_null_defines): Adjust.
32856         * sunrpc/Makefile: Adjust comment.
32857         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32858         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32859         (CFLAGS-interp.c): Likewise.
32860         (CFLAGS-ldconfig.c): Likewise.
32861         (CPPFLAGS-.os): Likewise.
32862         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32863         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32864         * extra-modules.mk (extra-modules.mk): Likewise.
32865         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32866         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32867         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32868         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32869         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32870         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32871         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32872         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32873         * iconvdata/Makefile (CPPFLAGS): Likewise.
32874         (cpp-srcs-left): Add libof for all iconvdata routines.
32875         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32876         * include/assert.h: Likewise.
32877         * include/ctype.h: Likewise.
32878         * include/errno.h: Likewise.
32879         * include/libc-symbols.h: Likewise.
32880         * include/math.h: Likewise.
32881         * include/netdb.h: Likewise.
32882         * include/resolv.h: Likewise.
32883         * include/stdio.h: Likewise.
32884         * include/stdlib.h: Likewise.
32885         * include/string.h: Likewise.
32886         * include/sys/stat.h: Likewise.
32887         * include/wctype.h: Likewise.
32888         * intl/l10nflist.c: Likewise.
32889         * libidn/idn-stub.c: Likewise.
32890         * libio/libioP.h: Likewise.
32891         * nptl/libc_multiple_threads.c: Likewise.
32892         * nptl/pthreadP.h: Likewise.
32893         * posix/regex_internal.h: Likewise.
32894         * resolv/res_hconf.c: Likewise.
32895         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32896         * sysdeps/arm/memmove.S: Likewise.
32897         * sysdeps/arm/sysdep.h: Likewise.
32898         * sysdeps/generic/_itoa.h: Likewise.
32899         * sysdeps/generic/symbol-hacks.h: Likewise.
32900         * sysdeps/gnu/errlist.awk: Likewise.
32901         * sysdeps/gnu/errlist.c: Likewise.
32902         * sysdeps/i386/i586/memcpy.S: Likewise.
32903         * sysdeps/i386/i586/memset.S: Likewise.
32904         * sysdeps/i386/i686/memcpy.S: Likewise.
32905         * sysdeps/i386/i686/memmove.S: Likewise.
32906         * sysdeps/i386/i686/mempcpy.S: Likewise.
32907         * sysdeps/i386/i686/memset.S: Likewise.
32908         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32909         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32910         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32911         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32912         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32913         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32914         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32915         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32916         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32917         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32918         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32919         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32920         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32921         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32922         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32923         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32924         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32925         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32926         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32927         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32928         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32929         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32930         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32931         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32932         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32933         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32934         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32935         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32936         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32937         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32938         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32939         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32941         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32942         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32943         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32944         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32945         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32946         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32947         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32948         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32949         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32950         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32951         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32952         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32953         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32954         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32955         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32956         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32957         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32958         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32959         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32960         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32961         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32962         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32963         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32964         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32965         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32966         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32967         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32968         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32969         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32970         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32971         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32972         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32973         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32974         * sysdeps/posix/closedir.c: Likewise.
32975         * sysdeps/posix/opendir.c: Likewise.
32976         * sysdeps/posix/readdir.c: Likewise.
32977         * sysdeps/posix/rewinddir.c: Likewise.
32978         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32979         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32980         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32981         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32982         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32983         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32984         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32985         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32986         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32987         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32989         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32990         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32991         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32992         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32993         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32994         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32995         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32996         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32997         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32998         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32999         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
33000         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
33001         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
33002         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
33003         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
33004         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
33005         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
33006         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
33007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
33008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
33009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
33010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
33011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
33012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
33013         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
33014         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33015         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33016         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
33017         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
33018         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
33019         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
33020         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
33021         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
33022         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
33023         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
33024         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
33025         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
33026         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
33027         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
33028         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
33029         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
33030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33031         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
33032         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
33033         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
33034         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
33035         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
33036         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
33037         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
33038         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
33039         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
33040         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33041         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
33042         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
33043         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
33044         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
33045         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
33046         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
33047         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
33048         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
33049         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
33050         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
33051         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
33052         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
33053         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
33054         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
33055         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
33056         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33057         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
33058         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
33059         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33060         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
33061         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
33062         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33063         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
33064         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
33065         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33066         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33067         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33068         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
33069         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
33070         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
33071         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33072         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33073         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
33074         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33075         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33076         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
33077         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
33078         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33079         * sysdeps/unix/alpha/sysdep.S: Likewise.
33080         * sysdeps/unix/alpha/sysdep.h: Likewise.
33081         * sysdeps/unix/make-syscalls.sh: Likewise.
33082         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33084         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33085         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
33086         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33087         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
33088         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
33089         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33090         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33091         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
33092         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33093         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33094         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33095         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33096         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33097         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33098         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33099         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33100         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33101         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33102         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
33103         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33104         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33105         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33106         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33107         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33108         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33111         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
33112         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33113         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33114         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33115         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33116         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33117         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33120         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33121         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33122         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33123         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33124         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33125         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33126         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33129         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33132         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33133         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33134         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33135         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33136         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33137         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33138         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33140         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33141         * sysdeps/x86_64/memcpy.S: Likewise.
33142         * sysdeps/x86_64/memmove.c: Likewise.
33143         * sysdeps/x86_64/memset.S: Likewise.
33144         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33145         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33146         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33147         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33148         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33149         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33150         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33151         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33152         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33153         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33154         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33155         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33156         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33157         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33158         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33159         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33160         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33161         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33162         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33163         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33164         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33165         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33166         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33167         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33168         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33169         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33170         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33171         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33172         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33173         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33174         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33175         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33176         * sysdeps/x86_64/strcmp.S: Likewise.
33178         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33180         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33181         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33182         * elf/rtld-Rules: Likewise.
33183         * elf/setup-vdso.h: Likewise.
33184         * include/assert.h: Likewise.
33185         * include/bits/stdlib-float.h: Likewise.
33186         * include/errno.h: Likewise.
33187         * include/sys/stat.h: Likewise.
33188         * include/unistd.h: Likewise.
33189         * sysdeps/aarch64/setjmp.S: Likewise.
33190         * sysdeps/alpha/setjmp.S: Likewise.
33191         * sysdeps/arm/__longjmp.S: Likewise.
33192         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33193         * sysdeps/arm/setjmp.S: Likewise.
33194         * sysdeps/arm/sysdep.h: Likewise.
33195         * sysdeps/generic/_itoa.h: Likewise.
33196         * sysdeps/generic/dl-sysdep.h: Likewise.
33197         * sysdeps/generic/ldsodefs.h: Likewise.
33198         * sysdeps/i386/dl-tls.h: Likewise.
33199         * sysdeps/i386/setjmp.S: Likewise.
33200         * sysdeps/m68k/setjmp.c: Likewise.
33201         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33202         * sysdeps/mach/hurd/opendir.c: Likewise.
33203         * sysdeps/posix/getcwd.c: Likewise.
33204         * sysdeps/posix/opendir.c: Likewise.
33205         * sysdeps/posix/profil.c: Likewise.
33206         * sysdeps/powerpc/dl-procinfo.h: Likewise.
33207         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33208         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33209         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33210         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33211         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33212         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33213         * sysdeps/s390/dl-tls.h: Likewise.
33214         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33215         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33216         * sysdeps/sh/sh3/setjmp.S: Likewise.
33217         * sysdeps/sh/sh4/setjmp.S: Likewise.
33218         * sysdeps/unix/alpha/sysdep.h: Likewise.
33219         * sysdeps/unix/arm/sysdep.S: Likewise.
33220         * sysdeps/unix/i386/sysdep.S: Likewise.
33221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33222         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33223         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33224         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33225         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33226         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33227         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33228         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33229         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33230         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33231         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33232         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33233         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33236         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33239         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33240         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33241         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33243         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33244         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33245         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33246         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33247         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33248         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33249         * sysdeps/x86_64/setjmp.S: Likewise.
33251         * include/math.h: Use IS_IN instead of IS_IN_libm.
33252         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33253         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33254         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33255         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33256         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33257         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33258         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33259         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33260         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33261         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33262         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33263         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33264         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33265         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33266         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33267         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33268         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33269         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33270         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33271         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33272         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33273         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33274         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33275         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33276         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33277         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33278         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33279         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33280         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33281         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33282         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33283         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33284         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33286         Likewise.
33287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33288         Likewise.
33289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33290         Likewise.
33291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33292         Likewise.
33293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33294         Likewise.
33295         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33296         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33297         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33298         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33299         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33300         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33306         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33307         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33308         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33309         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33310         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33311         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33312         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33313         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33314         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33315         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33316         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33317         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33318         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33319         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33321         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33323         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33324         * nptl/pthreadP.h: Likewise.
33325         * nptl_db/structs.def: Likewise.
33326         * sysdeps/arm/sysdep.h: Likewise.
33327         * sysdeps/nptl/bits/libc-lock.h: Likewise.
33328         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33329         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33330         * sysdeps/unix/alpha/sysdep.h: Likewise.
33331         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33332         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33333         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33334         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33335         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33336         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33337         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33338         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33339         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33340         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33341         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33342         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33343         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33344         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33349         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33352         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33353         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33354         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33355         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33356         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33358         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33359         * nptl/pthreadP.h: Likewise.
33360         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33361         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33362         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33363         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33364         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33365         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33366         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33367         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33368         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33369         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33370         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33371         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33373         Likewise.
33374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33375         Likewise.
33376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33378         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33379         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33380         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33381         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33382         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33383         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33385         * dlfcn/dladdr.c: Use IS_IN.
33386         * dlfcn/dladdr1.c: Likewise.
33387         * dlfcn/dlclose.c: Likewise.
33388         * dlfcn/dlerror.c: Likewise.
33389         * dlfcn/dlinfo.c: Likewise.
33390         * dlfcn/dlmopen.c: Likewise.
33391         * dlfcn/dlopen.c: Likewise.
33392         * dlfcn/dlsym.c: Likewise.
33393         * dlfcn/dlvsym.c: Likewise.
33395         * include/ifaddrs.h: Use IS_IN.
33396         * inet/check_pf.c: Likewise.
33397         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33398         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33400         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33401         IS_IN_ldconfig.
33402         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33403         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33405         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33406         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33407         IS_IN (libc).
33409         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33411         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33412         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33413         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33414         * include/libc-symbols.h (IS_IN_LIB): New macro.
33415         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33416         * include/netdb.h: Likewise.
33417         * include/stap-probe.h: Remove all uses of IN_LIB.
33419         * Makeconfig (module-cppflags-real): Define MODULE_NAME
33420         instead of IN_MODULE.
33421         * include/libc-symbols.h (IN_MODULE): Define using
33422         MODULE_NAME.
33423         (PASTE_NAME, PASTE_NAME1): New macros.
33424         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33425         of IN_LIB.
33426         (STAP_PROBE_ASM): Likewise.
33428 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33430         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33431         __mach_init in dlopened libc.
33433 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
33435         * sysdeps/arm/preconfigure.ac: Delete EABI check.
33436         * sysdeps/arm/preconfigure: Regenerate.
33438 2014-11-21  Roland McGrath  <roland@hack.frob.com>
33440         * nptl/pthread_create.c (__pthread_create_2_1): Set
33441         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33442         when copying values from IATTR into PD.
33444 2014-11-21  Will Newton  <will.newton@linaro.org>
33445             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
33447         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33448         Refactor inline-asm.  Also add comment.
33450         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33451         ElfW macro instead of hardcoded Elf64 types.
33452         (la_aarch64_gnu_pltenter): Likewise.
33453         * sysdeps/aarch64/dl-machine.h
33454         (elf_machine_runtime_setup): Use ElfW(Addr).
33456         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33457         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33458         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33459         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33460         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33461         (R_AARCH64_TLS_DTPMOD64): Rename to ..
33462         (R_AARCH64_TLS_DTPMOD): This.
33463         (R_AARCH64_TLS_DTPREL64): Rename to ...
33464         (R_AARCH64_TLS_DTPREL): This.
33465         (R_AARCH64_TLS_TPREL64): Rename to ...
33466         (R_AARCH64_TLS_TPREL): This.
33467         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33468         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33469         R_AARCH64_TLS_TPREL64.
33470         (elf_machine_rela): Likewise.
33472 2014-11-21  Torvald Riegel  <triegel@redhat.com>
33474         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33475         by setting it to 0.  64b atomics are not supported currently.
33477 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33479         [BZ #16469]
33480         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33481         search domain names.
33483 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33485         [BZ #16469]
33486         * NEWS: Update.
33487         * resolv/res_query.c (__libc_res_nquerydomain): Retain
33488         trailing dot.
33489         * posix/tst-getaddrinfo5.c: New.
33490         * posix/Makefile (tests): Add it.
33492 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33494         [BZ #14498]
33495         * NEWS: Fixed.
33496         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33497         after parsing line but before break_if_match.
33498         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33499         if there is a protocol mismatch.
33501 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33503         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33504         because the potential race is on the user-supplied stream.
33506 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33508         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33509         string literal if not passed a buffer.
33510         * manual/job.texi (ctermid): Update reasoning, note deviation
33511         from posix, suggest mtasurace when not passed a buffer, for
33512         future non-preliminary safety notes.
33514 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33516         * manual/users.texi (cuserid): Fix MT-Safety note for the case
33517         of not passing it a buffer.
33518         Reported by Peng Haitao.
33520 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33522         * manual/Makefile ($(objpfx)stamp-summary): Require
33523         check-safety.sh to pass.
33524         * manual/check-safety.sh: Wish for verification that every
33525         @deftypefn and @deftypefun is followed by a @safety remark.
33527 2014-11-20  Roland McGrath  <roland@hack.frob.com>
33529         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33531         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33532         PTHREAD_CANCEL_ASYNCHRONOUS.
33533         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33534         send SIGCANCEL.
33536         * nptl/default-sched.h: New file.
33537         * sysdeps/unix/sysv/linux/default-sched.h: New file.
33538         * nptl/pthread_create.c: Include it.
33539         (__pthread_create_2_1): Use collect_default_sched instead of making
33540         Linux syscalls here directly.
33542 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33544         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33545         __pthread_once): Use C11 atomics.
33547 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33549         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33551 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33553         * include/atomic.h (__atomic_link_error, __atomic_check_size,
33554         atomic_thread_fence_acquire, atomic_thread_fence_release,
33555         atomic_thread_fence_seq_cst, atomic_load_relaxed,
33556         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33557         atomic_compare_exchange_weak_relaxed,
33558         atomic_compare_exchange_weak_acquire,
33559         atomic_compare_exchange_weak_release,
33560         atomic_exchange_acquire, atomic_exchange_release,
33561         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33562         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33563         atomic_fetch_and_acquire,
33564         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33566 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33568         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33569         USE_ATOMIC_COMPILER_BUILTINS): Define.
33570         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33572         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33574         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33576         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33578         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33579         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33580         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33582         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33583         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33584         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33585         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33586         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33587         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33588         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33589         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33590         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33591         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33592         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33593         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33594         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33595         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33596         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33597         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33598         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33599         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33600         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33601         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33602         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33603         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33604         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33605         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33606         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33607         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33608         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33611 2014-11-19  Roland McGrath  <roland@hack.frob.com>
33613         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33614         the sched_priority value here.  It was already checked when the user
33615         called pthread_attr_setschedparam.
33617         * nptl/tst-bad-schedattr.c: New file.
33618         * nptl/Makefile (tests): Add it.
33620 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
33621             Florian Weimer  <fweimer@redhat.com>
33622             Joseph Myers  <joseph@codesourcery.com>
33623             Adam Conrad  <adconrad@0c3.net>
33624             Andreas Schwab  <schwab@suse.de>
33625             Brooks  <bmoses@google.com>
33627         [BZ #17625]
33628         * wordexp-test.c (__dso_handle): Add prototype.
33629         (__register_atfork): Likewise.
33630         (__app_register_atfork): New function.
33631         (registered_forks): New global.
33632         (register_fork): New function.
33633         (test_case): Add 3 new tests for WRDE_CMDSUB.
33634         (main): Call __app_register_atfork.
33635         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33636         fork count is non-zero fail the test.
33637         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33638         is set.
33639         (parse_dollars): Remove check for WRDE_NOCMD.
33640         (parse_dquote): Likewise.
33642 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33644         * Makeconfig (built-modules): List non-library modules to be
33645         built.
33646         (module-cppflags): Include libc-modules.h for
33647         everything except shlib-versions.v.i.
33648         (CPPFLAGS): Use it.
33649         (before-compile): Add libc-modules.h.
33650         ($(common-objpfx)libc-modules.h,
33651         $(common-objpfx)libc-modules.stmp): New targets.
33652         (common-generated): Add libc-modules.h and libc-modules.stmp.
33653         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33654         * include/libc-symbols.h: Don't include libc-modules.h.
33655         * include/libc-modules.h: Remove file.
33656         * scripts/gen-libc-modules.awk: New script to generate
33657         libc-modules.h.
33658         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33659         Depend on libc-modules.stmp.
33661         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33663         * Makeconfig (in-module): Get value of libof set for the
33664         translation unit.
33665         (CPPFLAGS): Use $(in-module).
33666         * Makerules: Don't suffix routine names for nonlib.
33667         * include/libc-modules.h: New file.
33668         * include/libc-symbols.h: Include libc-modules.h
33669         (IS_IN): New macro to replace IS_IN_* macros.
33670         * elf/Makefile: Set libof-* for each routine.
33671         * elf/rtld-Rules: Likewise.
33672         * extra-modules.mk: Likewise.
33673         * iconv/Makefile: Likewise.
33674         * iconvdata/Makefile: Likewise.
33675         * locale/Makefile: Likewise.
33676         * malloc/Makefile: Likewise.
33677         * nss/Makefile: Likewise.
33678         * sysdeps/gnu/Makefile: Likewise.
33679         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33680         * sysdeps/unix/sysv/linux/Makefile: Likewise.
33681         * sysdeps/s390/s390-64/Makefile: Likewise.
33682         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
33683         CPPFLAGS for nscd instead of nonlib.
33685 2014-11-18  Roland McGrath  <roland@hack.frob.com>
33687         * nptl/createthread.c: New file.
33689         * nptl/createthread.c: Moved ...
33690         * sysdeps/unix/sysv/linux/createthread.c: ... here.
33692         * nptl/createthread.c: Add proper top-line comment.
33693         (do_clone): Folded into ...
33694         (create_thread): ... here.  Take new arguments STOPPED_START and
33695         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
33696         increment __nptl_threads, do event-reporting logic, do
33697         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33698         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
33699         resource cleanup if sched_setaffinity or sched_setscheduler fails,
33700         just send SIGCANCEL.
33701         * nptl/pthread_create.c: Forward-declare create_thread before
33702         including createthread.c.
33703         (start_thread): Use new macro START_THREAD_DEFN to replace defining
33704         declaration, and new macro START_THREAD_SELF to replace argument.
33705         Remove return statement.
33706         (report_thread_creation): New function.
33707         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
33708         synchronization logic, and __nptl_nthreads increment here, around
33709         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
33710         PD->parent_cancelhandling here, before create_thread.  When
33711         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33712         __deallocate_stack, and ENOMEM translation here.
33714 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
33716         [BZ #17616]
33717         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33718         (mptwo): Rename to __mptwo.
33719         (__inv): Use __mptwo instead of mptwo.
33720         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33721         (mptwo): Rename to __mptwo.
33722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33723         of mpone and __mptwo instead of mptwo.
33724         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33725         instead of mpone.
33726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33727         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33728         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33729         of mpone and __mptwo instead of mptwo.
33730         (__mpranred): Use __mpone instead of mpone.
33731         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33732         variable.
33733         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33734         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33735         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33736         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33737         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33738         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33739         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33740         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33741         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33742         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33743         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33744         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33745         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33746         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33747         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33748         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33749         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33750         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33751         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33753 2014-11-18  Tom de Vries  <tom@codesoucery.com>
33755         * manual/signal.texi (Primitives Interrupted by Signals): In section,
33756         replace BSD Handler xref with BSD Signal Handling.
33758 2014-11-17  Richard Henderson  <rth@redhat.com>
33760         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33761         (_FP_PACK_RAW_2): Remove.
33762         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33763         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33764         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33765         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33766         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33767         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33768         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33769         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33770         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33771         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33772         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33773         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33774         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33775         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33776         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33777         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33779 2014-11-14  Roland McGrath  <roland@hack.frob.com>
33781         * signal/signal.h [__USE_MISC]
33782         (struct sigvec): Remove type.
33783         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33784         (sigvec): Remove declaration.
33785         * sysdeps/posix/sigvec.c: Moved ...
33786         * signal/sigvec.c: ... here, replacing old file.
33787         (struct sigvec): New type, copied from old signal.h definition.
33788         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33789         (__sigvec): Convert definition to prototype.
33790         (sigvec): Replace weak_alias with compat_symbol.
33791         * signal/Versions (libc: GLIBC_2.21): New version set.
33792         * include/signal.h: Remove __sigvec declaration.
33793         * sysdeps/unix/bsd/sigvec.c: Remove file.
33794         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33795         * manual/signal.texi (BSD Handler): Remove subsection.
33796         Move siginterrupt up to ...
33797         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
33798         (Blocking in BSD): Fold subsection into its parent.
33799         * NEWS: Mention sigvec removal.
33801 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33803         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33804         (DLA_FMS): Make definition conditional only on [__FMA4__].
33805         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33806         definition.
33808         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33809         Make definition conditional only on [PROF].
33810         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33811         definition.
33812         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33813         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33815         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33816         !__GNUC__].
33817         * include/signal.h (__sigpause): Move declaration above call to
33818         libc_hidden_proto.
33819         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33820         variable.
33821         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33822         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33824 2014-11-14  David S. Miller  <davem@davemloft.net>
33826         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33827         Define before including <string/memcpy.c> and <string/mempcpy.c>.
33829 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33831         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33832         * configure: Regenerated.
33833         * manual/install.texi (Tools for Compilation): Document a
33834         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33835         compiler verified to work.
33836         * INSTALL: Regenerated.
33838         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33839         redeclare with asm name.
33840         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33841         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33842         including <string.h>.
33843         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33844         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33845         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33846         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33847         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33848         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33849         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33851 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
33853         * stdlib/strtol.c (__strtol): Use prototype definition.
33855         [BZ #17594]
33856         * stdlib/strtol.c (SYM__): New macro.
33857         (SYM__1): Likewise.
33858         (__strtol): Likewise.
33859         (strtol): Rename to __strtol and define as weak alias of
33860         __strtol.  Use libc_hidden_weak.
33862 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33864         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33865         Use numbered labels in inline assembly.
33867 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33869         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33870         Add setjmp LIBC_PROBE.
33871         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33872         Likewise.
33873         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33874         Add longjmp, longjmp_target LIBC_PROBE.
33875         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33876         Likewise.
33878 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33880         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33881         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33882         to get rid of unused variable warning.
33884 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33886         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33887         Check for unwind_backtrace ==  NULL only in SHARED case.
33888         (__backchain_backtrace): Compile only in SHARED case.
33889         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33890         Likewise.
33891         (__backchain_backtrace): Declare as static.
33893 2014-11-12  Roland McGrath  <roland@hack.frob.com>
33895         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33896         (__libc_multiple_threads_ptr): Variable moved ...
33897         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33899 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33901         * conform/GlibcConform.pm: New file.
33902         * conform/conformtest.pl: Use GlibcConform module.
33903         * conform/linknamespace.pl: New file.
33904         * conform/list-header-symbols.pl: Likewise.
33905         * conform/Makefile (linknamespace-symlists-base): New variable.
33906         (linknamespace-symlists-tests): Likewise.
33907         (linknamespace-header-base): Likewise.
33908         (linknamespace-header-tests): Likewise.
33909         (tests-special): Add new tests.
33910         ($(linknamespace-symlists-tests)): New rule.
33911         (linknamespace-libs): New variable.
33912         ($(objpfx)symlist-stdlibs): New rule.
33913         ($(linknamespace-header-tests)): Likewise.
33914         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33915         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33916         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33917         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33918         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33919         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33920         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33921         (test-xfail-ISO/math.h/linknamespace): Likewise.
33922         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33923         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33924         (test-xfail-ISO/time.h/linknamespace): Likewise.
33925         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33926         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33927         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33928         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33929         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33930         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33931         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33932         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33933         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33934         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33935         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33936         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33937         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33938         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33939         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33940         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33941         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33942         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33943         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33944         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33945         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33946         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33947         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33948         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33949         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33950         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33951         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33952         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33953         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33954         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33955         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33956         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33957         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33958         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33959         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33960         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33961         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33962         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33963         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33964         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33965         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33966         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33967         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33968         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33969         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33970         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33971         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33972         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33973         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33974         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33975         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33976         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33977         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33978         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33979         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33980         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33981         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33982         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33983         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33984         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33985         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33986         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33987         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33988         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33989         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33990         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33991         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33992         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33993         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33994         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33995         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33996         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33997         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33998         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33999         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34000         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34001         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
34002         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
34003         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34004         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
34005         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
34006         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
34007         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34008         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34009         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34010         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
34011         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34012         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
34013         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34014         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
34015         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
34016         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
34017         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34018         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34019         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
34020         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34021         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
34022         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
34023         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34024         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34025         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34026         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34027         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34028         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
34029         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34030         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34031         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34032         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34033         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
34034         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34035         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34036         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
34037         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34038         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34039         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34040         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34041         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34042         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34043         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34044         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34045         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34046         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34047         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34048         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34049         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34050         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34051         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
34052         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34053         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34054         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34055         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34056         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34057         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
34058         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34059         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34060         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34061         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34062         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34063         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34064         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34065         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34066         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34067         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34068         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34069         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34070         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34071         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
34072         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34073         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34074         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34076         [BZ #17589]
34077         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
34078         of fgets_unlocked.
34080         [BZ #17585]
34081         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
34082         (memmem): Rename to __memmem and define as weak alias of
34083         __memmem.  Use libc_hidden_weak.
34084         (__memmem): Use libc_hidden_def.
34085         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
34086         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
34087         memmem.
34089         [BZ #17582]
34090         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
34091         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
34092         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
34093         and define as weak alias of __fgets_unlocked.  Use
34094         libc_hidden_weak.
34095         (__fgets_unlocked): Use libc_hidden_def.
34096         * include/stdio.h (__fgets_unlocked): Declare.  Use
34097         libc_hidden_proto.
34098         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
34099         __fgets_unlocked instead of fgets_unlocked.
34100         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
34101         (GET_NPROCS_CONF_PARSER): Likewise.
34102         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
34103         (GET_NPROCS_CONF_PARSER): Likewise.
34105         [BZ #17574]
34106         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34107         weak alias of __wmemset.  Use libc_hidden_weak.
34108         (__wmemset): Use libc_hidden_def.
34109         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
34110         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34111         of wmemset.
34113         [BZ #17573]
34114         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34115         with asm name __mempcpy.
34116         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34118         [BZ #17572]
34119         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34120         and define as weak alias of __rawmemchr.
34121         (__rawmemchr): Do not define as strong alias of rawmemchr.
34123         [BZ #17571]
34124         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34125         alias of __qsort_r.
34126         (qsort): Call __qsort_r instead of qsort_r.
34127         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34128         (__qsort_r): Declare.  Call libc_hidden_proto.
34129         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34130         instead of qsort_r.
34131         * nscd/gai.c (__qsort_r): Define to qsort_r.
34132         * posix/tst-rfc3484.c (__qsort_r): Likewise.
34133         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34134         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34136         [BZ #17570]
34137         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34138         define as weak alias of __malloc_info.
34140         [BZ #17584]
34141         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34142         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34143         (__rewinddir): Use libc_hidden_def.
34144         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34145         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34146         (__rewinddir): Use libc_hidden_def.
34147         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34148         weak alias of __rewinddir.  Don't use libc_hidden_def.
34149         (__rewinddir): Use libc_hidden_def.
34150         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34151         (__rewinddir): Use libc_hidden_proto.
34152         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34153         rewinddir.
34154         (__getcwd): Use __rewinddir instead of rewinddir.
34156         [BZ #17583]
34157         * libio/fileno.c (fileno): Rename to __fileno and define as weak
34158         alias of __fileno.  Use libc_hidden_weak.
34159         (__fileno): Use libc_hidden_def.
34160         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34161         * libio/ftello.c (ftello): Rename to __ftello and define as weak
34162         alias of __ftello.
34163         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34164         __ftello.
34165         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34166         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
34167         libc_hidden_def.
34168         (fread_unlocked): Don't use libc_hidden_ver.
34169         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34170         and define as weak alias of __fread_unlocked.  Don't use
34171         libc_hidden_def.
34172         (__fread_unlocked): Use libc_hidden_def.
34173         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
34174         (ftello): Don't use libc_hidden_proto.
34175         (__ftello): Declare.  Use libc_hidden_proto.
34176         (fread_unlocked): Don't use libc_hidden_proto.
34177         (__fread_unlocked): Declare.  Use libc_hidden_proto.
34178         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34179         and __ftello instead of fileno, fread_unlocked and ftello.
34181 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34183         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34184         GOT12.
34185         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34186         Likewise.
34187         (_dl_start_user): Likewise.
34188         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34190 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
34191             Siddhesh Poyarekar  <siddhesh@redhat.com>
34193         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34194         Move argv and envp down instead of moving argc up.
34195         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34197 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
34199         [BZ #17506]
34200         * test-skeleton.c (main): Return successful if one of
34201         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34202         * string/tst-strcoll-overflow.c: Define expected status.
34204 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
34206         [BZ #17475]
34207         * locale/iso-639.def: Define Bhili and Tulu language codes.
34209 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
34211         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34213 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
34215         [BZ #17555]
34216         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34218 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34220         * configure.ac: Updated check of minimal required version to
34221         2.22.
34222         * manual/install.texi (Tools for Compilation): Updated version
34223         number.
34224         * configure: Regenerated.
34225         * INSTALL: Likewise.
34227 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
34229         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34230         __tls_get_addr.
34232 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
34234         * include/sys/wait.h (__libc_waitpid): Remove declaration.
34235         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34236         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34237         libc_hidden_weak.
34238         (waitpid): Define as alias of __waitpid.
34239         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34240         __waitpid.
34241         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34242         libc_hidden_weak.
34243         (waitpid): Define as alias of __waitpid.
34244         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34245         __libc_waitpid alias.
34246         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34247         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34248         Likewise.
34249         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34250         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34251         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34252         alias.
34253         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34254         __waitpid.
34255         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34256         libc_hidden_weak.
34257         (waitpid): Define as alias of __waitpid.
34259 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
34261         * manual/llio.texi: Add comment that write safety has been
34262         fixed in Linux.
34264         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34265         (localplt-build-dso): Add elf/ld.so.
34266         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34267         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34268         and free for ld.so.
34269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34270         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34272         Likewise.
34273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34274         Likewise.
34275         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34276         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34277         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34278         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34279         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34280         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34281         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34282         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34283         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34284         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34285         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34287 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
34289         [BZ #14132]
34290         * include/libc-symbols.h (INTUSE): Remove macro.
34291         (INTDEF): Likewise.
34292         (INTVARDEF): Likewise.
34293         (_INTVARDEF): Likewise.
34294         (INTDEF2): Likewise.
34295         (INTVARDEF2): Likewise.
34296         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34297         rtld_hidden_def instead of INTVARDEF.
34298         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34299         (_dl_starting_up_internal): Remove declaration.
34300         (_dl_starting_up): Use rtld_hidden_proto.
34301         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34302         declaration.
34303         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34304         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34305         _dl_starting_up.
34306         * elf/dl-writev.h (_dl_writev): Likewise.
34307         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34308         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34309         _dl_starting_up_internal.
34311 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34313         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34314         test-skeleton.c.
34316 2014-11-05  Will Newton  <will.newton@linaro.org>
34318         * benchtests/Makefile: (bench-malloc): Add malloc thread
34319         scalability benchmark.
34320         * benchtests/bench-malloc-threads.c: New file.
34322 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
34324         * sysdeps/aarch64/strchrnul.S: New file.
34326 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34328         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34329         definition.
34330         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34331         Likewise.
34332         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34333         Likewise.
34334         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34335         Likewise.
34336         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34337         Likewise.
34338         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34339         Likewise.
34341 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
34343         * catgets/test-gencat.c: Use test-skeleton.c.
34344         * catgets/tst-catgets.c: Likewise.
34345         * csu/tst-empty.c: Likewise.
34346         * elf/tst-audit2.c: Likewise.
34347         * elf/tst-global1.c: Likewise.
34348         * elf/tst-pathopt.c: Likewise.
34349         * elf/tst-piemod1.c: Likewise.
34350         * elf/tst-tls10.c: Likewise.
34351         * elf/tst-tls11.c: Likewise.
34352         * elf/tst-tls12.c: Likewise.
34353         * gnulib/tst-gcc.c: Likewise.
34354         * iconvdata/tst-e2big.c: Likewise.
34355         * iconvdata/tst-loading.c: Likewise.
34356         * iconv/tst-iconv1.c: Likewise.
34357         * iconv/tst-iconv2.c: Likewise.
34358         * inet/test-inet6_opt.c: Likewise.
34359         * inet/tst-gethnm.c: Likewise.
34360         * inet/tst-network.c: Likewise.
34361         * inet/tst-ntoa.c: Likewise.
34362         * intl/tst-codeset.c: Likewise.
34363         * intl/tst-gettext2.c: Likewise.
34364         * intl/tst-gettext3.c: Likewise.
34365         * intl/tst-ngettext.c: Likewise.
34366         * intl/tst-translit.c: Likewise.
34367         * io/test-stat.c: Likewise.
34368         * libio/test-fmemopen.c: Likewise.
34369         * libio/tst-freopen.c: Likewise.
34370         * libio/tst-sscanf.c: Likewise.
34371         * libio/tst-ungetwc1.c: Likewise.
34372         * libio/tst-ungetwc2.c: Likewise.
34373         * libio/tst-widetext.c: Likewise.
34374         * localedata/tst-ctype.c: Likewise.
34375         * localedata/tst-digits.c: Likewise.
34376         * localedata/tst-leaks.c: Likewise.
34377         * localedata/tst-mbswcs1.c: Likewise.
34378         * localedata/tst-mbswcs2.c: Likewise.
34379         * localedata/tst-mbswcs3.c: Likewise.
34380         * localedata/tst-mbswcs4.c: Likewise.
34381         * localedata/tst-mbswcs5.c: Likewise.
34382         * localedata/tst-setlocale.c: Likewise.
34383         * localedata/tst-trans.c: Likewise.
34384         * localedata/tst-wctype.c: Likewise.
34385         * localedata/tst-xlocale1.c: Likewise.
34386         * login/tst-grantpt.c: Likewise.
34387         * malloc/tst-calloc.c: Likewise.
34388         * malloc/tst-malloc.c: Likewise.
34389         * malloc/tst-mallocstate.c: Likewise.
34390         * malloc/tst-mcheck.c: Likewise.
34391         * malloc/tst-mtrace.c: Likewise.
34392         * malloc/tst-obstack.c: Likewise.
34393         * math/atest-exp2.c: Likewise.
34394         * math/atest-exp.c: Likewise.
34395         * math/atest-sincos.c: Likewise.
34396         * math/test-matherr.c: Likewise.
34397         * math/test-misc.c: Likewise.
34398         * math/test-powl.c: Likewise.
34399         * math/tst-definitions.c: Likewise.
34400         * misc/tst-dirname.c: Likewise.
34401         * misc/tst-efgcvt.c: Likewise.
34402         * misc/tst-fdset.c: Likewise.
34403         * misc/tst-hsearch.c: Likewise.
34404         * misc/tst-mntent2.c: Likewise.
34405         * nptl/tst-sem7.c: Likewise.
34406         * nptl/tst-sem8.c: Likewise.
34407         * nptl/tst-sem9.c: Likewise.
34408         * nss/test-netdb.c: Likewise.
34409         * posix/tst-fnmatch.c: Likewise.
34410         * posix/tst-getlogin.c: Likewise.
34411         * posix/tst-gnuglob.c: Likewise.
34412         * posix/tst-mmap.c: Likewise.
34413         * pwd/tst-getpw.c: Likewise.
34414         * resolv/tst-inet_ntop.c: Likewise.
34415         * rt/tst-timer.c: Likewise.
34416         * stdio-common/test-fseek.c: Likewise.
34417         * stdio-common/test-popen.c: Likewise.
34418         * stdio-common/test-vfprintf.c: Likewise.
34419         * stdio-common/tst-cookie.c: Likewise.
34420         * stdio-common/tst-fileno.c: Likewise.
34421         * stdio-common/tst-gets.c: Likewise.
34422         * stdio-common/tst-obprintf.c: Likewise.
34423         * stdio-common/tst-perror.c: Likewise.
34424         * stdio-common/tst-sprintf2.c: Likewise.
34425         * stdio-common/tst-sprintf3.c: Likewise.
34426         * stdio-common/tst-sprintf.c: Likewise.
34427         * stdio-common/tst-swprintf.c: Likewise.
34428         * stdio-common/tst-tmpnam.c: Likewise.
34429         * stdio-common/tst-unbputc.c: Likewise.
34430         * stdio-common/tst-wc-printf.c: Likewise.
34431         * stdlib/tst-environ.c: Likewise.
34432         * stdlib/tst-fmtmsg.c: Likewise.
34433         * stdlib/tst-limits.c: Likewise.
34434         * stdlib/tst-rand48-2.c: Likewise.
34435         * stdlib/tst-rand48.c: Likewise.
34436         * stdlib/tst-random2.c: Likewise.
34437         * stdlib/tst-random.c: Likewise.
34438         * stdlib/tst-strtol.c: Likewise.
34439         * stdlib/tst-strtoll.c: Likewise.
34440         * stdlib/tst-tls-atexit.c: Likewise.
34441         * stdlib/tst-xpg-basename.c: Likewise.
34442         * string/test-ffs.c: Likewise.
34443         * string/tst-bswap.c: Likewise.
34444         * string/tst-inlcall.c: Likewise.
34445         * string/tst-strtok.c: Likewise.
34446         * string/tst-strxfrm.c: Likewise.
34447         * sysdeps/x86_64/tst-audit10.c: Likewise.
34448         * sysdeps/x86_64/tst-audit3.c: Likewise.
34449         * sysdeps/x86_64/tst-audit4.c: Likewise.
34450         * sysdeps/x86_64/tst-audit5.c: Likewise.
34451         * time/tst-ftime_l.c: Likewise.
34452         * time/tst-getdate.c: Likewise.
34453         * time/tst-mktime3.c: Likewise.
34454         * time/tst-mktime.c: Likewise.
34455         * time/tst-posixtz.c: Likewise.
34456         * time/tst-strptime2.c: Likewise.
34457         * time/tst-strptime3.c: Likewise.
34458         * wcsmbs/tst-btowc.c: Likewise.
34459         * wcsmbs/tst-mbrtowc.c: Likewise.
34460         * wcsmbs/tst-mbsrtowcs.c: Likewise.
34461         * wcsmbs/tst-wchar-h.c: Likewise.
34462         * wcsmbs/tst-wcpncpy.c: Likewise.
34463         * wcsmbs/tst-wcrtomb.c: Likewise.
34464         * wcsmbs/tst-wcsnlen.c: Likewise.
34465         * wcsmbs/tst-wcstof.c: Likewise.
34467 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
34469         [BZ #14132]
34470         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34471         INTDEF.
34472         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34473         declaration.
34474         (_dl_mcount): Use rtld_hidden_proto.
34475         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34476         _dl_mcount.
34477         * elf/rtld.c (_rtld_global_ro): Likewise.
34479         [BZ #14132]
34480         * elf/dl-init.c (_dl_init): Don't use INTDEF.
34481         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34482         of _dl_init_internal.
34483         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34484         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34485         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34486         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34487         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34488         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34489         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34490         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34491         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34492         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34493         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34494         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34495         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34496         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34497         * sysdeps/tile/dl-start.S (_start): Likewise.
34498         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34499         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34501         [BZ #14132]
34502         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34503         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34504         (rtld_progname): Make macro definition unconditional.
34505         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34506         INTDEF.
34507         (dlmopen_doit): Do not use INTUSE with _dl_argv.
34508         (dl_main): Likewise.
34509         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34510         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34511         instead of _dl_argv_internal.
34512         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34513         __GI__dl_argv instead of INTUSE(_dl_argv).
34514         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34515         __GI__dl_argv instead of _dl_argv_internal.
34517         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34518         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34519         macro.
34520         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34521         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34522         New macro.
34523         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34524         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34525         macro.
34526         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34527         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34529 2014-11-04  Andreas Schwab  <schwab@suse.de>
34531         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34533 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34535         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34536         mtvsrd instruction in binary form.
34538 2014-11-03  Andreas Schwab  <schwab@suse.de>
34540         [BZ #17522]
34541         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34542         for less than MB_LEN_MAX use a local buffer of that size.
34543         * libio/tst-fputws.c: New file.
34544         * libio/Makefile (tests): Add tst-fputws.
34546 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
34548         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34549         the size of the fpu_fr.fpu_dregs[] array.
34551 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
34553         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34554         (__nanosleep): Do not define as alias.
34555         (nanosleep): Define as alias of __nanosleep.
34556         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34557         __libc_nanosleep name.
34559 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34561         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34562         install.texi in comment.
34564 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34566         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34567         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34568         ... add here and use lwsync or sync ...
34569         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34570         ... and add here using lwsync.
34572 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34574         * elf/dl-machine-reject-phdr.h: New file.
34575         * elf/dl-load.c: #include that.
34576         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34577         if that returned true.
34579 2014-10-31  Roland McGrath  <roland@hack.frob.com>
34581         [BZ #17496]
34582         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34583         gen-as-const-headers chunk.  Add a big scare comment after the last
34584         safe place to touch before-compile.
34586 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34588         * manual/install.texi (Tools for Compilation): Update autoconf
34589         version requirements.
34590         * INSTALL: Regenerated.
34592         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34593         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34594         (__libc_pselect): Likewise.
34596         [BZ #14138]
34597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34602 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34604         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34605         correct barrier instruction.
34606         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34607         Likewise.
34608         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34609         Likewise.
34611 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34613         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34614         after defining inlines.  Instead, just use parens to defeat macro
34615         expansion of __isctype in its declaration.
34617 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34619         * include/sys/uio.h (__libc_readv): Remove declaration.
34620         (__libc_writev): Likewise.
34621         * misc/readv.c (__libc_readv): Rename to __readv.
34622         (__readv): Do not define as alias.
34623         (readv): Define as alias of __readv.
34624         * misc/writev.c (__libc_writev): Rename to __writev.
34625         (__writev): Do not define as alias.
34626         (writev): Define as alias of __writev.
34627         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34628         (__readv): Do not define as alias.
34629         (readv): Define unconditionally as alias of __readv.
34630         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34631         (__writev): Do not define as alias.
34632         (writev): Define unconditionally as alias of __writev.
34633         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34634         name.
34635         (writev): Do not define __libc_writev name.
34637 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34639         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34640         (convert_charseq): New function, broken out of ...
34641         (use_from_charmap): ... here.  Call it.
34642         (use_to_charmap): Use convert_charseq and free instead of duplicating
34643         its code with a variable-length stack struct.
34645 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34647         * include/fcntl.h (__libc_creat): Remove declaration.
34648         * io/creat.c (__libc_creat): Rename to creat.
34649         (creat): Do not define as alias.
34650         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34651         of creat instead of __libc_creat.
34652         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34653         to creat.
34654         (creat): Do not define as alias.
34655         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34656         __libc_creat.
34657         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34658         __libc_creat name.
34659         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34660         Likewise.
34662 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
34664         * manual/llio.texi: Add comments discussing why write() may be
34665         considered MT-unsafe on Linux.
34667 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
34669         * dl-load.c (local_strdup): Remove.
34670         (expand_dynamic_string_token): Use __strdup.
34671         (decompose_rpath): Likewise.
34672         (_dl_map_object): Likewise.
34674 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
34676         [BZ #14132]
34677         * sysdeps/generic/unwind-dw2-fde.c
34678         (__register_frame_info_bases_internal): Do not declare.
34679         (__register_frame_info_table_bases_internal): Likewise.
34680         (__deregister_frame_info_bases_internal): Likewise.
34681         (__register_frame_info_bases): Declare and use hidden_proto before
34682         definition.  Use hidden_def instead of INTDEF.
34683         (__register_frame_info_table_bases): Likewise.
34684         (__deregister_frame_info_bases): Likewise.
34685         (__register_frame_info): Do not use INTUSE.
34686         (__register_frame): Likewise.
34687         (__register_frame_info_table): Likewise.
34688         (__register_frame_table): Likewise.
34689         (__deregister_frame_info): Likewise.
34690         (__deregister_frame): Likewise.
34692 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
34694         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34695         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34696         not undefine.
34697         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34698         Likewise.
34699         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34700         Likewise.
34702 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
34704         [BZ #14138]
34705         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34706         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34707         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34708         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34709         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34710         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34711         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34712         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34713         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34714         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34715         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34716         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34717         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34718         syscall.
34719         (setfsuid): Likewise.
34720         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34721         (setfsuid): Likewise.
34722         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34723         (setfsuid): Likewise.
34724         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34725         Likewise.
34726         (setfsuid): Likewise.
34727         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34728         (setfsuid): Likewise.
34729         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34730         Likewise.
34731         (setfsuid): Likewise.
34733 2014-10-27  Andreas Schwab  <schwab@suse.de>
34735         [BZ #17501]
34736         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34737         check for Slow_SSE4_2 feature bit.
34738         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34739         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34740         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34741         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
34743 2014-10-24  Roland McGrath  <roland@hack.frob.com>
34745         * configure.ac: Validate compiler version with a empirical test of
34746         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34747         $CC -v output.
34748         * configure: Regenerated.
34750         * inet/htons.c (htons): Prototypify.
34751         * inet/htonl.c (htonl): Likewise.
34753 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34755         * string/strncat.c (strncat): Improve performance by using strlen.
34757 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34759         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34761 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34763         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34764         Call libc_fetestexcept_aarch64.
34766 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34768         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34769         Call libc_feholdexcept_aarch64.
34771 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34773         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34774         Call get_rounding_mode.
34776 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34778         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34779         Simplify logic.
34781 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34783         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34784         Simplify logic.
34786 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
34788         [BZ #14138]
34789         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34790         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34791         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34792         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34793         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34794         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34795         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34796         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34797         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34798         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34799         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34800         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34801         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34802         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34803         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34804         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34805         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34806         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34807         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34808         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34809         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34810         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34811         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34812         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34813         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34814         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34815         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34816         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34817         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34818         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34819         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34820         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34821         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34822         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34823         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34824         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34825         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34826         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34827         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34828         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34829         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34830         syscall.
34831         (geteuid): Likewise.
34832         (getgid): Likewise.
34833         (getuid): Likewise.
34834         (getresgid): Likewise.
34835         (getresuid): Likewise.
34836         (getgroups): Likewise.
34837         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34838         (geteuid): Likewise.
34839         (getgid): Likewise.
34840         (getuid): Likewise.
34841         (getresgid): Likewise.
34842         (getresuid): Likewise.
34843         (getgroups): Likewise.
34844         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34845         (geteuid): Likewise.
34846         (getgid): Likewise.
34847         (getuid): Likewise.
34848         (getresgid): Likewise.
34849         (getresuid): Likewise.
34850         (getgroups): Likewise.
34851         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34852         Likewise.
34853         (geteuid): Likewise.
34854         (getgid): Likewise.
34855         (getuid): Likewise.
34856         (getresgid): Likewise.
34857         (getresuid): Likewise.
34858         (getgroups): Likewise.
34859         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34860         (geteuid): Likewise.
34861         (getgid): Likewise.
34862         (getuid): Likewise.
34863         (getresgid): Likewise.
34864         (getresuid): Likewise.
34865         (getgroups): Likewise.
34866         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34867         Likewise.
34868         (geteuid): Likewise.
34869         (getgid): Likewise.
34870         (getuid): Likewise.
34871         (getgroups): Likewise.
34873         [BZ #14138]
34874         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34875         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34876         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34877         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34878         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34879         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34880         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34881         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34882         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34883         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34884         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34885         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34886         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34887         __chown.
34888         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34889         (lchown): Likewise.
34890         (fchown): Likewise.
34891         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34892         Likewise.
34893         (lchown): Likewise.
34894         (fchown): Likewise.
34895         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34896         (lchown): Likewise.
34897         (fchown): Likewise.
34898         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34899         Likewise.
34900         (lchown): Likewise.
34901         (fchown): Likewise.
34903 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34905         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34906         Simplify logic.
34908 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34910         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34911         Cleanup logic.
34913 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34915         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34916         Remove unused include.
34918 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34920         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34921         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34922         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34923         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34925 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34926             Helge Deller <deller@gmx.de>
34928         [BZ #17508]
34929         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34930         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34931         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34933 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34935         [BZ #14132]
34936         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34937         Remove macro definition.
34938         (__ashrdi3_v_glibc20): Likewise.
34939         (__lshrdi3_v_glibc20): Likewise.
34940         (__cmpdi2_v_glibc20): Likewise.
34941         (__ucmpdi2_v_glibc20): Likewise.
34942         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34943         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34944         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34945         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34946         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34947         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34949 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34951         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34952         old GNU extension [0] syntax.
34953         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34954         alloca rather than an array member with variable length.
34955         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34956         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34957         (parse_opt): ... here.  Likewise use alloca there.
34958         Validate the -i argument before checking for rootness.
34959         (send_shutdown): New function, broken out of ...
34960         (parse_opt): ... here.
34962 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34964         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34965         macro to get at the _rt_local_ro field.
34966         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34967         ([PIC] case) or _dl_hwcap ([!PIC] case).
34968         * sysdeps/arm/setjmp.S: Likewise.
34970         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34971         * sysdeps/arm/configure.ac: New check to define it.
34972         * sysdeps/arm/configure: Regenerated.
34973         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34974         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34975         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34976         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34977         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34978         Use move/movt pair instead of a load.
34979         (LDST_GLOBAL): Macro removed.
34980         (LDR_GLOBAL): New macro replaces it.
34981         (LDR_HIDDEN): New macro.
34982         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34983         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34985         * setjmp/tst-setjmp-static.c: New file.
34986         * setjmp/Makefile (tests): Add it.
34987         (tests-static): New variable.
34989 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34991         [BZ #17485]
34992         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34994 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34996         [BZ #14132]
34997         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34999 2014-10-21  Roland McGrath  <roland@hack.frob.com>
35001         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
35003 2014-10-20  Roland McGrath  <roland@hack.frob.com>
35005         * io/fts.c (dirent_not_directory): New function.
35006         (fts_build): Call it.
35008 2014-10-20  Roland McGrath  <roland@hack.frob.com>
35010         * nptl/version.c (__nptl_main): Use normal __write rather than
35011         INTERNAL_SYSCALL.
35012         (banner): Update copyright years.
35014         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
35015         gettimeofday.
35016         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35017         * nptl/pthread_cond_timedwait.c: Likewise.
35018         * nptl/pthread_mutex_timedlock.c: Likewise.
35019         * nptl/sem_timedwait.c: Likewise.
35021         * sysdeps/nptl/bits/libc-lock.h
35022         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35023         (__libc_lock_init_recursive): Return void, not 0.
35024         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
35025         (__libc_rwlock_init): Likewise.
35026         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
35028 2014-10-20  Torvald Riegel  <triegel@redhat.com>
35030         [BZ #15215]
35031         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
35032         (__pthread_once_slow): ... here.
35033         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
35034         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
35036 2014-10-20  Torvald Riegel  <triegel@redhat.com>
35038         [BZ #15215]
35039         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
35040         __PTHREAD_ONCE_FORK_GEN_INCR): New.
35041         * sysdeps/nptl/fork.c (__libc_fork): Use them.
35042         * nptl/pthread_once.c (__pthread_once): Likewise.
35043         Update comments.
35045 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
35047         [BZ #14138]
35048         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
35049         name.
35050         (writev): Use __libc_writev as strong name.
35051         * sysdeps/unix/sysv/linux/readv.c: Remove file.
35052         * sysdeps/unix/sysv/linux/writev.c: Likewise.
35054 2014-10-17  Roland McGrath  <roland@hack.frob.com>
35056         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
35058         * sysdeps/i386/nptl/tls.h
35059         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
35060         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
35061         New macros.
35062         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
35063         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
35064         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
35065         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
35066         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
35067         Call CHECK_THREAD_SYSINFO instead of doing an assert.
35069         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35070         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
35071         on [__NR_futex].
35072         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
35073         broken out of ...
35074         (__pthread_mutex_init): ... here.  Call it.
35075         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
35076         Conditionalize PI cases on [__NR_futex].
35077         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
35078         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
35079         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
35081         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
35082         conditional on [SIGSETXID].
35083         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
35084         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
35085         is defined.  Likewise for SIGSETXID.
35086         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
35087         Conditionalize definitions on [SIGSETXID].
35088         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
35089         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
35090         unblocking on [SIGCANCEL].
35092         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
35093         [__NR_set_robust_list].
35095 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35097         * string/strcoll_l.c (get_next_seq): Fix up formatting.
35098         (do_compare): Likewise.
35100 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
35102         [BZ #15884]
35103         * string/strcoll_l.c: Don't include stdio.h.
35104         (coll_seq): Remove members idxarr and rulearr.
35105         (get_next_seq_cached): Remove function.
35106         (get_next_seq): Likewise.
35107         (get_next_seq_nocache): Rename to get_next_seq.
35108         (do_compare): Remove function.
35109         (do_compare_nocache): Rename to do_compare.
35110         (STRCOLL): Remove weight and rules cache.
35112 2014-10-16  Roland McGrath  <roland@hack.frob.com>
35114         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35115         * sysdeps/arm/sfp-machine.h: ... to here.
35116         * sysdeps/arm/Implies: Remove arm/soft-fp.
35118 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
35120         * conform/data/sys/utsname.h-data (*_t): Allow.
35121         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35122         [POSIX] (WEXITED): Do not expect constant.
35123         [POSIX] (WSTOPPED): Likewise.
35124         [POSIX] (WNOHANG): Likewise.
35125         [POSIX] (WNOWAIT): Likewise.
35126         [POSIX] (siginfo_t): Do not expect type or elements.
35127         [POSIX] (pid_t): Do not expect type.
35128         [POSIX] (signal.h): Do not allow header.
35129         [POSIX] (sys/resource.h): Likewise.
35130         [POSIX] (si_*): Do not allow pattern.
35131         [POSIX] (W*): Likewise.
35132         [POSIX] (P_*): Likewise.
35133         [POSIX] (BUS_*): Likewise.
35134         [POSIX] (CLD_*): Likewise.
35135         [POSIX] (FPE_*): Likewise.
35136         [POSIX] (ILL_*): Likewise.
35137         [POSIX] (POLL_*): Likewise.
35138         [POSIX] (SEGV_*): Likewise.
35139         [POSIX] (SI_*): Likewise.
35140         [POSIX] (TRAP_*): Likewise.
35141         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35142         variable.
35144 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
35146         [BZ #12926]
35147         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35148         infinite loop when __recvmsg returns 0.
35150 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
35152         * CANCEL-FCT-WAIVE: Remove file.
35153         * CANCEL-FILE-WAIVE: Likewise.
35155         [BZ #14132]
35156         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35157         instead of INTVARDEF.
35158         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35159         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35160         rtld_hidden_data_def instead of INTVARDEF.
35161         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35162         * elf/dl-deps.c (expand_dst): Likewise.
35163         * elf/dl-load.c (_dl_dst_count): Likewise.
35164         (_dl_dst_substitute): Likewise.
35165         (decompose_rpath): Likewise.
35166         (_dl_init_paths): Likewise.
35167         (open_path): Likewise.
35168         (_dl_map_object): Likewise.
35169         * elf/rtld.c (dl_main): Likewise.
35170         (process_dl_audit): Likewise.
35171         (process_envvars): Likewise.
35172         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35173         Remove declaration.
35174         (__libc_enable_secure): Use rtld_hidden_proto.
35176 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35178         * elf/dl-load.c
35179         (add_path): New function broken out of _dl_rtld_di_serinfo.
35180         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
35182 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35184         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35185         parentheses around macro arguments.
35186         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35187         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35188         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35190         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35191         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35192         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35195         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35196         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35197         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35198         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35199         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35200         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35201         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35202         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35207         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35208         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35209         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35211         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35212         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35213         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35215         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35216         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35217         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35218         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35219         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35220         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35221         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35222         Likewise.
35223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35224         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35226         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35230         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35231         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35232         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35233         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35234         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35235         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35236         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35237         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35241         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35242         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35243         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35244         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35245         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35246         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35247         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35248         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35249         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35250         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35251         (_FP_FRAC_SRS_1): Likewise.
35252         (_FP_FRAC_CLZ_1): Likewise.
35253         (_FP_MUL_MEAT_1_imm): Likewise.
35254         (_FP_MUL_MEAT_1_wide): Likewise.
35255         (_FP_MUL_MEAT_1_hard): Likewise.
35256         (_FP_SQRT_MEAT_1): Likewise.
35257         (_FP_FRAC_ASSEMBLE_1): Likewise.
35258         (_FP_FRAC_DISASSEMBLE_1): Likewise.
35259         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35260         (__FP_CLZ_2): Likewise.
35261         (_FP_MUL_MEAT_2_wide): Likewise.
35262         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35263         (_FP_MUL_MEAT_2_gmp): Likewise.
35264         (_FP_MUL_MEAT_2_120_240_double): Likewise.
35265         (_FP_SQRT_MEAT_2): Likewise.
35266         (_FP_FRAC_ASSEMBLE_2): Likewise.
35267         (_FP_FRAC_DISASSEMBLE_2): Likewise.
35268         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35269         (_FP_FRAC_CLZ_4): Likewise.
35270         (_FP_MUL_MEAT_4_wide): Likewise.
35271         (_FP_MUL_MEAT_4_gmp): Likewise.
35272         (_FP_SQRT_MEAT_4): Likewise.
35273         (_FP_FRAC_ASSEMBLE_4): Likewise.
35274         (_FP_FRAC_DISASSEMBLE_4): Likewise.
35275         * soft-fp/op-common.h (_FP_CMP): Likewise.
35276         (_FP_CMP_EQ): Likewise.
35277         (_FP_CMP_UNORD): Likewise.
35278         (_FP_TO_INT): Likewise.
35279         (_FP_FROM_INT): Likewise.
35280         [!__FP_CLZ] (__FP_CLZ): Likewise.
35281         (_FP_DIV_HELP_imm): Likewise.
35282         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35283         Likewise.
35284         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35287         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35288         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35291         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35295         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35296         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35297         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35298         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35299         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35300         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35309         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35313         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35314         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35315         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35316         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35317         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35318         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35319         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35320         (FP_UNPACK_RAW_SP): Likewise.
35321         (FP_PACK_RAW_S): Likewise.
35322         (FP_PACK_RAW_SP): Likewise.
35323         (FP_UNPACK_S): Likewise.
35324         (FP_UNPACK_SP): Likewise.
35325         (FP_UNPACK_SEMIRAW_S): Likewise.
35326         (FP_UNPACK_SEMIRAW_SP): Likewise.
35327         (FP_PACK_S): Likewise.
35328         (FP_PACK_SP): Likewise.
35329         (FP_PACK_SEMIRAW_S): Likewise.
35330         (FP_PACK_SEMIRAW_SP): Likewise.
35331         (_FP_SQRT_MEAT_S): Likewise.
35332         (FP_CMP_S): Likewise.
35333         (FP_CMP_EQ_S): Likewise.
35334         (FP_CMP_UNORD_S): Likewise.
35335         (FP_TO_INT_S): Likewise.
35336         (FP_FROM_INT_S): Likewise.
35338         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35340         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35341         (FP_EX_INVALID_IMZ): Likewise.
35342         (FP_EX_INVALID_IMZ_FMA): Likewise.
35343         (FP_EX_INVALID_ISI): Likewise.
35344         (FP_EX_INVALID_ZDZ): Likewise.
35345         (FP_EX_INVALID_IDI): Likewise.
35346         (FP_EX_INVALID_SQRT): Likewise.
35347         (FP_EX_INVALID_CVI): Likewise.
35348         (FP_EX_INVALID_VC): Likewise.
35349         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35350         "invalid" exceptions.
35351         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35352         (_FP_ADD_INTERNAL): Likewise.
35353         (_FP_MUL): Likewise.
35354         (_FP_FMA): Likewise.
35355         (_FP_DIV): Likewise.
35356         (_FP_CMP_CHECK_NAN): Likewise.
35357         (_FP_SQRT): Likewise.
35358         (_FP_TO_INT): Likewise.
35359         (FP_EXTEND): Likewise.
35361 2014-10-09  Allan McRae  <allan@archlinux.org>
35363         * po/fr.po: Update French translation from translation project.
35365 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35367         [BZ #14132]
35368         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35369         of INTDEF.
35370         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35371         (__cxa_atexit): Use libc_hidden_proto.
35372         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35374         [BZ #14132]
35375         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35376         declaration.
35377         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35378         [!_ISOMAC] (__iswspace_l_internal): Likewise.
35379         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35380         [!_ISOMAC] (__iswctype_internal): Likewise.
35381         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35382         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35383         alias.
35384         (fcntl): Remove __fcntl_internal alias.
35385         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35386         __connect_internal alias.
35387         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35388         Likewise.
35390         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35391         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35392         FP_DENORM_ZERO.
35393         (_FP_CHECK_FLUSH_ZERO): New macro.
35394         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35395         (_FP_CMP): Likewise.
35396         (_FP_CMP_EQ): Likewise.
35397         (_FP_TO_INT): Do not set inexact for subnormal arguments if
35398         FP_DENORM_ZERO.
35399         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35400         (FP_TRUNC): Likewise.
35402         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35403         treated as invalid conversion, not as normal exponent.
35405         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35406         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
35407         (_FP_CMP_EQ): Likewise.
35408         (_FP_CMP_UNORD): Likewise.
35409         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35410         (FP_CMP_EQ_D): Likewise.
35411         (FP_CMP_UNORD_D): Likewise.
35412         * soft-fp/extended.h (FP_CMP_E): Likewise.
35413         (FP_CMP_EQ_E): Likewise.
35414         (FP_CMP_UNORD_E): Likewise.
35415         * soft-fp/quad.h (FP_CMP_Q): Likewise.
35416         (FP_CMP_EQ_Q): Likewise.
35417         (FP_CMP_UNORD_Q): Likewise.
35418         * soft-fp/single.h (FP_CMP_S): Likewise.
35419         (FP_CMP_EQ_S): Likewise.
35420         (FP_CMP_UNORD_S): Likewise.
35421         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35422         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35423         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35424         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35425         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35426         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35427         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35428         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35429         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35430         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35431         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35432         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35433         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35434         to FP_CMP_Q.
35435         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35436         FP_CMP_Q.
35437         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35438         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35439         FP_CMP_EQ_Q.
35440         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35441         FP_CMP_Q.
35442         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35443         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35444         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35445         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35446         FP_CMP_EQ_Q.
35447         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35448         FP_CMP_Q.
35449         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35450         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35451         FP_CMP_EQ_Q.
35452         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35453         FP_CMP_Q.
35454         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35455         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35456         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35457         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35458         FP_CMP_EQ_Q.
35460         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35461         a subnormal result, set the underflow exception if trapping on
35462         underflow is enabled.
35463         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35464         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35465         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35466         redefine to 0.
35467         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35468         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35469         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35470         * soft-fp/extendxftf2.c (__extendxftf2): Use
35471         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35473         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35474         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35475         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35476         FP_HANDLE_EXCEPTIONS.
35477         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35478         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35479         FP_HANDLE_EXCEPTIONS.
35480         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35481         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35482         FP_HANDLE_EXCEPTIONS.
35483         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35484         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35485         FP_HANDLE_EXCEPTIONS.
35487 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
35489         [BZ #14132]
35490         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35491         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35492         use INTUSE.
35493         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35494         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35495         Remove alias.
35496         (__adjtimex): Define using libc_hidden_ver.
35497         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35498         Remove declaration.
35499         (ntp_gettime): Call __adjtimex directly.
35500         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35501         Remove declaration.
35502         (ntp_gettimex): Call __adjtimex directly.
35503         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35504         __adjtimex_internal alias.
35506 2014-10-08  Roland McGrath  <roland@hack.frob.com>
35508         [BZ #17460]
35509         * nscd/nscd.c (more_help): Rewrite list of tables collection
35510         using xstrdup and asprintf.
35512         * nscd/nscd_conf.c: Remove local xstrdup declaration.
35514 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35515             Roland McGrath  <roland@hack.frob.com>
35517         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35518         (do_lookup_unique): ... local function 'enter' here; update callers.
35520 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
35522         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35523         compat_symbol calls on [SHARED].
35524         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35525         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35526         Remove.
35527         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35528         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35529         (oldsetrlimit): Remove.
35530         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35532         (lchown): New syscall entry.
35533         (oldsetrlimit): Remove.
35534         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35535         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35536         (oldsetrlimit): Remove.
35537         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35539         [BZ #14138]
35540         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35541         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35542         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35543         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35544         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35545         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35546         (fchown): Likewise.
35547         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35548         (fchown): Likewise.
35549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35550         Likewise.
35552 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35554         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35555         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35556         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35557         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35558         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35559         Likewise.
35560         (__old_sem_post): Likewise.
35562 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
35564         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35565         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35566         HAVE_CLOCK_GETTIME_VSYSCALL macros.
35567         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35568         Use INLINE_VSYSCALL macro.
35569         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35570         __vdso_clock_gettime.
35571         * sysdeps/unix/sysv/linux/tile/init-first.c
35572         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35573         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35574         __vdso_clock_gettime.
35576         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35577         to set up frame more cleanly.
35579         * sysdeps/tile/memcmp.c: New file.
35581         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35583         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35584         * sysdeps/tile/tilegx/strcasestr.c: New file.
35585         * sysdeps/tile/tilegx/strnlen.c: New file.
35586         * sysdeps/tile/tilegx/strstr.c: New file.
35588         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35590 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
35592         * nptl/tst-setuid3.c: Write errors to stdout.
35594 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35596         * elf/dl-deps.c
35597         (preload): New functions broken out of _dl_map_object_deps.
35598         (_dl_map_object_deps):  Remove a nested function. Update call sites.
35600 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
35602         [BZ #14138]
35603         * sysdeps/unix/sysv/linux/execve.c: Remove file.
35604         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35606 2014-10-01  Steve Ellcey  <sellcey@mips.com>
35608         * sysdeps/mips/strcmp.S: New.
35610 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
35612         [BZ #14138]
35613         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35614         (linkat): Likewise.
35615         (mkdirat): Likewise.
35616         (readlinkat): Likewise.
35617         (renameat): Likewise.
35618         (symlinkat): Likewise.
35619         (unlinkat): Likewise.
35620         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35621         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35622         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35623         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35624         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35625         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35626         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35628 2014-09-30  Will Newton  <will.newton@linaro.org>
35630         * math/math.h: Define long double math functions if
35631         _LIBC_TEST is defined.
35632         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35634         * localedata/Makefile: Move assignment to tests-special
35635         into an ifdef testing run-built-tests.
35636         * timezone/Makefile: Likewise.
35638 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
35640         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35641         with $(BASH) not $(SHELL).
35643 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
35644             Matthew LeGendre  <legendre1@llnl.gov>
35646         [BZ #17411]
35647         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35648         l_reloc_result.
35650 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35652         * stdio-common/printf_fp.c
35653         (hack_digit): New function, broken out of ...
35654         (__printf_fp): ... local function here.  Update call sites.
35655         hack_digit now takes an additional parameter that is a pointer
35656         to a struct of the referenced locals.  Those locals moved inside
35657         the struct and references updated.
35659 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
35661         * aclocal.m4: Require autoconf 2.69.
35662         * configure: Regenerated.
35663         * sysdeps/aarch64/configure: Likewise.
35664         * sysdeps/alpha/configure: Likewise.
35665         * sysdeps/arm/armv7/configure: Likewise.
35666         * sysdeps/arm/configure: Likewise.
35667         * sysdeps/ia64/configure: Likewise.
35668         * sysdeps/mach/configure: Likewise.
35669         * sysdeps/mips/configure: Likewise.
35670         * sysdeps/s390/configure: Likewise.
35671         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35674         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35675         file.
35676         * sysdeps/ia64/configure.ac: Likewise.
35678 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
35680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35681         specify symbol version for ld.so.  Do not include entry for
35682         libpthread.
35683         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35684         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35685         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35687         [BZ #14171]
35688         * Makeconfig [$(build-shared) = yes]
35689         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35690         makefiles.
35691         [$(build-shared) = yes && $(soversions.mk-done) = t]
35692         ($(common-objpfx)gnu/lib-names.h): Remove rule.
35693         [$(build-shared) = yes && $(soversions.mk-done) = t]
35694         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
35695         to Makerules.
35696         [$(build-shared) = yes && $(soversions.mk-done) = t]
35697         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35698         here.
35699         [$(build-shared) = yes && $(soversions.mk-done) = t]
35700         (common-generated): Don't append gnu/lib-names.h and
35701         gnu/lib-names.stmp here.
35702         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35703         (lib-names-h-abi): New variable.
35704         [$(build-shared) = yes && $(soversions.mk-done) = t]
35705         (lib-names-stmp-abi): Likewise.
35706         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35707         abi-variants] (before-compile): Append
35708         $(common-objpfx)$(lib-names-h-abi).
35709         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35710         abi-variants] (common-generated): Append gnu/lib-names.h.
35711         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35712         abi-variants] (install-others-nosubdir): Depend on
35713         $(inst_includedir)/$(lib-names-h-abi).
35714         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35715         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35716         [$(build-shared) = yes && $(soversions.mk-done) = t]
35717         ($(common-objpfx)$(lib-names-h-abi)): New rule.
35718         [$(build-shared) = yes && $(soversions.mk-done) = t]
35719         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35720         [$(build-shared) = yes && $(soversions.mk-done) = t]
35721         (common-generated): Append $(lib-names-h-abi) and
35722         $(lib-names-stmp-abi).
35723         * scripts/lib-names.awk: Do not handle multi being set.
35724         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35725         Remove variable.
35726         (abi-lp64_be-ld-soname): Likewise.
35727         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35728         Likewise.
35729         (abi-hard-ld-soname): Likewise.
35730         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35731         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35732         Remove variable.
35733         (abi-o32_hard-ld-soname): Likewise.
35734         (abi-o32_soft_2008-ld-soname): Likewise.
35735         (abi-o32_hard_2008-ld-soname): Likewise.
35736         (abi-n32_soft-ld-soname): Likewise.
35737         (abi-n32_hard-ld-soname): Likewise.
35738         (abi-n32_soft_2008-ld-soname): Likewise.
35739         (abi-n32_hard_2008-ld-soname): Likewise.
35740         (abi-n64_soft-ld-soname): Likewise.
35741         (abi-n64_hard-ld-soname): Likewise.
35742         (abi-n64_soft_2008-ld-soname): Likewise.
35743         (abi-n64_hard_2008-ld-soname): Likewise.
35744         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35745         Likewise.
35746         (abi-64-v2-ld-soname): Likewise.
35747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35748         ld.so entries.
35749         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35750         variable.
35751         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35752         entry.
35753         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35754         variable.
35755         (abi-64-ld-soname): Likewise.
35756         (abi-x32-ld-soname): Likewise.
35757         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35758         entry.
35759         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35761 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
35763         [BZ #14138]
35764         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35765         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35766         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35767         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35768         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35769         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35770         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35771         syscall entry for GLIBC_2.2 symbol version.
35772         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35773         Likewise.
35774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35775         (setrlimit): Likewise.
35776         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35777         Likewise.
35779 2014-09-23  Will Newton  <will.newton@linaro.org>
35781         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35782         _LINUX_ARM_SYSDEP_H include guard too.
35783         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35784         define.
35786 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35788         * sysdeps/unix/sysv/linux/eventfd.c:
35789         Make first argument unsigned.
35790         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35791         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35793 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
35795         [BZ #16852]
35796         * socket/recvmmsg.c (recvmmsg): Drop const argument.
35797         * socket/sys/socket.h: Likewise.
35798         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35800 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35802         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35804 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
35806         * time/tst-ftime.c: New test.
35807         * time/Makefile (tests): Add tst-ftime.
35809 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
35811         * soft-fp/extended.h: Fix comment formatting.
35812         * soft-fp/op-1.h: Likewise.
35813         * soft-fp/op-2.h: Likewise.
35814         * soft-fp/op-4.h: Likewise.
35815         * soft-fp/op-8.h: Likewise.
35816         * soft-fp/op-common.h: Likewise.
35817         * soft-fp/soft-fp.h: Likewise.
35819         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35821 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
35823         [BZ #6652]
35824         * Makeconfig (soversions-default-setname): Remove variable.
35825         ($(common-objpfx)soversions.i): Don't pass default_setname to
35826         soversions.awk.
35827         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35828         oldest_abi to abi-versions.awk.
35829         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35830         * config.make.in (oldest-abi): Remove variable.
35831         * configure.ac (--enable-oldest-abi): Remove configure option.
35832         * configure: Regenerated.
35833         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35834         text.
35835         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35836         * scripts/soversions.awk: Do not handle default_setname variable.
35837         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35838         variable.
35839         * sysdeps/mach/hurd/configure: Regenerated.
35840         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35841         variable.
35842         * sysdeps/unix/sysv/linux/configure: Regenerated.
35844 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35846         * elf/Makefile (CFLAGS-interp.c): Remove.
35847         ($(elf-objpfx)runtime-linker.h): Generate header with linker
35848         path string.
35849         * elf/interp.c: Include generated runtime-linker.h
35851         * Makerules (lib%.so): Don't include $(+interp) in
35852         prerequisites.
35853         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35854         * dlfcn/eval.c: Remove file.
35856         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35857         macros.
35859         [BZ #17266]
35860         * misc/sys/cdefs.h: Define __extern_always_inline for clang
35861         4.2 and newer.
35863         [BZ #17370]
35864         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35866 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35867             Jakub Jelinek  <jakub@redhat.com>
35869         [BZ #17266]
35870         * libio/stdio.h: Check definition of __fortify_function
35871         instead of __extern_always_inline to include bits/stdio2.h.
35872         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35873         check if __extern_always_inline is defined.
35874         [__USE_MISC || __USE_XOPEN]: Likewise.
35875         [__USE_ISOC99] Likewise.
35876         * misc/sys/cdefs.h (__fortify_function): Define only if
35877         __extern_always_inline is defined.
35878         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35879         __extern_always_inline and __extern_inline only for g++-4.3
35880         and newer or a compatible gcc.
35882 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
35884         [BZ #17371]
35885         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35886         last change to handle zero prefix length.
35888 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35890         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35891         _SC_REGEX_VERSION.
35893         * posix/getconf.c (vars): Add _POSIX_IPV6 and
35894         _POSIX_RAW_SOCKETS.
35896 2014-09-13  Allan McRae  <allan@archlinux.org>
35898         * po/ru.po: Update Russian translation from translation project.
35900 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35902         * locale/programs/locale.c (show_locale_vars): Inline local function
35903         into its sole call site.  Clean up some style nits.
35904         (print_item): New function, broken out of ...
35905         (show_info): ... local function here.  Clean up style nits.
35907         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35908         out of ...
35909         (set_class_defaults): ... local function set_default here.
35910         Define set_default as a macro locally to pass constant parameters.
35911         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35912         rather than a shared local.
35914         * stdlib/rpmatch.c (try): New function, broken out of ...
35915         (rpmatch): ... local function here.  Also, prototypify definition.
35917 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35919         * scripts/soversions.awk: Do not handle configuration names.
35920         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35921         vendor and os variables to soversions.awk.
35922         * configure.ac: Do not modify gnu-* host_os.
35923         * configure: Regenerated
35924         * shlib-versions: Remove first column with configuration names.
35925         * nptl/shlib-versions: Likewise.
35926         * nptl_db/shlib-versions: Likewise.
35927         * sysdeps/hppa/shlib-versions: Likewise.
35928         * sysdeps/m68k/shlib-versions: Likewise.
35929         * sysdeps/mach/hurd/shlib-versions: Likewise.
35930         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35931         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35932         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35933         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35934         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35935         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35936         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35937         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35939         Likewise.
35940         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35941         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35942         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35943         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35944         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35945         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35946         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35947         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35950         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35952         Regenerated.
35953         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35955         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35957         * shlib-versions: Remove OS-specific entries.  Moved to files in
35958         sysdeps.
35959         * sysdeps/mach/hurd/shlib-versions: New file.
35960         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35962         * nptl/shlib-versions: Remove architecture-specific entries.
35963         Moved to files in sysdeps.
35964         * shlib-versions: Likewise.
35965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35966         file.
35967         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35968         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35969         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35970         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35972         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35973         (UDP_NO_CHECK6_RX): Likewise.
35975 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35977         * sysdeps/posix/sysconf.c (__sysconf): Spell
35978         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35980 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35982         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35983         loading.
35984         * iconv/Versions (__gconv_transliterate): Export for use from
35985         gconv modules.
35986         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35987         (struct __gconv_trans_data, __gconv_trans_fct,
35988         __gconv_trans_context_fct, __gconv_trans_query_fct,
35989         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35990         definitions.
35991         (struct __gconv_step_data): Remove __trans member.
35992         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35993         longer hidden.  Remove unused trans_data argument.
35994         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35995         (__gconv_translit_find): Remove declaration.
35996         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35997         prototype.
35998         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35999         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
36000         trans_data argument.  Add hidden definition.
36001         (__gconv_translit_find): Remove.
36002         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
36003         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
36004         * iconv/skeleton.c: Remove transliteration initialization.
36005         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
36006         __gconv_step_data initialization.
36007         * libio/iofwide.c (__libio_translit_): Remove.
36008         (_IO_fwide): Adjust struct __gconv_step_data initialization.
36009         * wcsmbs/btowc.c (__btowc): Likewise.
36010         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36011         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36012         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
36013         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
36014         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
36015         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
36016         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
36017         * wcsmbs/wctob.c (wctob): Likewise.
36019 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36021         [BZ #16194]
36022         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
36023         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
36024         register usage.
36025         * sysdeps/x86/Makefile: Adjust.
36027 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36028             Roland McGrath  <roland@hack.frob.com>
36030         * locale/weight.h: Add include guard.
36031         (findidx): Make static rather than auto; take new parameters
36032         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
36033         * locale/weightwc.h: Likewise.
36034         * posix/fnmatch_loop.c
36035         (FCT): Change type of EXTRA from int32_t to wint_t.
36036         Don't include either header inside the function.
36037         Call FINDIDX rather than findidx, and pass new arguments.
36038         #undef FINDIDX at the end of the file.
36039         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
36040         FINDIDX before including fnmatch_loop.c for the non-wide version.
36041         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
36042         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
36043         for the wide version.
36044         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
36045         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
36046         Pass new arguments to findidx.
36047         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
36048         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
36049         Don't #include it inside the function.  Pass new arguments to findidx.
36050         * posix/regex_internal.h
36051         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
36052         (re_string_elem_size_at): Don't #include it inside the function.
36053         Pass new arguments to findidx.
36054         * string/strcoll_l.c: #include WEIGHT_H at top level.
36055         (get_next_seq): Don't #include it inside the function.
36056         Pass new arguments to findidx.
36057         (get_next_seq_nocache): Likewise.
36058         * string/strxfrm_l.c: #include WEIGHT_H at top level.
36059         (STRXFRM): Don't #include it inside the function.
36060         Pass new arguments to findidx.
36062 2014-09-11  Florian Weimer  <fweimer@redhat.com>
36064         [BZ #17344]
36065         * malloc/malloc.c (unlink): Turn asserts into a call to
36066         malloc_printerr.
36068 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
36070         [BZ #17370]
36071         * libio/wfileops (do_ftell_wide): Free OUT.
36073 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
36075         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
36077 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36079         [BZ #17363]
36080         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
36081         group if the current group is empty.
36083 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36085         * benchtests/bench-memset.c (test_main): Add more test from size
36086         from 32 to 512 bytes.
36087         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36088         Add POWER8 memset object.
36089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36090         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
36091         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
36092         implementation.
36093         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
36094         Likewise.
36095         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
36096         multiarch POWER8 memset optimization.
36097         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
36098         POWER8 memset optimization.
36100         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36101         Remove bzero multiarch objects.
36102         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
36103         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
36104         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
36105         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
36106         Remove define.
36107         [__bzero]: Redefine to specific name.
36108         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
36109         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
36110         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
36111         define.
36112         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36113         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36115 2014-09-10  Florian Weimer  <fweimer@redhat.com>
36117         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36118         warnings into errors.
36120         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36121         __cxa_thread_atexit_impl prototype.
36123 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36125         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36126         Fix capitalization of error message.
36128 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36130         * sysdeps/mips/preconfigure: Modify ABI tests.
36132 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
36134         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36136 2014-09-07  Roland McGrath  <roland@hack.frob.com>
36137             Carlos O'Donell  <carlos@systemhalted.org>
36139         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36140         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36141         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36142         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36143         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36144         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36145         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36146         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36147         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36148         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36149         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36150         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36151         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36152         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36153         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36154         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36156         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36157         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36158         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36159         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36160         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36161         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36162         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36163         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36164         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36165         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36166         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36167         Deconditionalize the code that was previously under [RESET_PID].
36168         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36169         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36170         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36171         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36172         include sysdep.h.
36174 2014-09-08  Allan McRae  <allan@archlinux.org>
36176         * version.h (RELEASE): Set to "development".
36177         (VERSION): Set to "2.20.90"
36179 2014-09-07  Allan McRae  <allan@archlinux.org
36181         * version.h (RELEASE): Set to "stable".
36182         (VERSION): Set to "2.20"
36183         * include/features.h (__GLIBC_MINOR__): Set to 20.
36185         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36186         Liebler.
36188         * po/ko.po: Update Korean translation from translation project.
36190 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
36192         [BZ #17354]
36193         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36194         macro for handling signed relocations.
36196 2014-09-03  Florian Weimer  <fweimer@redhat.com>
36198         [BZ #17325]
36199         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36200         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36201         assert.
36202         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36203         * iconvdata/ibm935.c (BODY): Likewise.
36204         * iconvdata/ibm937.c (BODY): Likewise.
36205         * iconvdata/ibm939.c (BODY): Likewise.
36206         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36207         assert.
36208         * iconvdata/Makefile (iconv-test.out): Pass module list to test
36209         script.
36210         * iconvdata/run-iconv-test.sh: New test loop for checking for
36211         decoder crashers.
36213 2014-09-02  Khem Raj  <raj.khem@gmail.com>
36215         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36216         libm_hidden_ver.
36218 2014-09-01  Allan McRae  <allan@archlinux.org>
36220         * po/eo.po: Update Esperanto translation from translation project.
36222         * po/ca.po: Update Catalan translation from translation project.
36224 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36226         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36227         __proc_dostop call.
36229 2014-08-27  Mark Wielaard  <mjw@redhat.com>
36231         [BZ #17319]
36232         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36233         to call set_thread_area instead of hand written asm.
36234         (__NR_set_thread_area): Removed define.
36235         (TLS_FLAG_WRITABLE): Likewise.
36236         (__ASSUME_SET_THREAD_AREA): Remove check.
36237         (TLS_EBX_ARG): Remove define.
36238         (TLS_LOAD_EBX): Likewise.
36240 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36242         Simplify atomicity of socket creation in bind.
36244         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36245         looking up the name after linking the file.
36247 2014-08-27  Allan McRae  <allan@archlinux.org>
36249         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36251 2014-08-26  Florian Weimer  <fweimer@redhat.com>
36253         [BZ #17187]
36254         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36255         trans_compare, open_translit, __gconv_translit_find):
36256         Remove module loading code.
36258 2014-08-26  Allan McRae  <allan@archlinux.org>
36260         * po/vi.po: Update Vietnamese translation from translation project.
36262         * po/uk.po: Update Ukrainian translation from translation project.
36264         * po/fr.po: Update French translation from translation project.
36266         * po/ru.po: Update Russian translation from translation project.
36268         * po/pl.po: Update Polish translation from translation project.
36270         * po/cs.po: Update Czech translation from translation project.
36272         * po/de.po: Update German translation from translation project.
36274         * po/bg.po: Update Bulgarian translation from translation project.
36276         * po/sv.po: Update Sweedish translation from translation project.
36278         * po/nl.po: Update Dutch translation from translation project.
36280         * po/es.po: Update Spanish translation from translation project.
36282 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36284         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36286         * catgets/Makefile (CPPFLAGS-gencat): Remove.
36287         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36288         (CPPFLAGS-iconvconfig): Likewise.
36289         * timezone/Makefile (CPPFLAGS-zic): Likewise.
36291         * include/libc-symbols.h: Remove unnecessary check for
36292         NOT_IN_libc.
36293         * nptl/pthreadP.h: Likewise.
36294         * sysdeps/aarch64/setjmp.S: Likewise.
36295         * sysdeps/alpha/setjmp.S: Likewise.
36296         * sysdeps/arm/sysdep.h: Likewise.
36297         * sysdeps/i386/setjmp.S: Likewise.
36298         * sysdeps/m68k/setjmp.c: Likewise.
36299         * sysdeps/posix/getcwd.c: Likewise.
36300         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36301         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36302         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36303         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36304         * sysdeps/sh/sh3/setjmp.S: Likewise.
36305         * sysdeps/sh/sh4/setjmp.S: Likewise.
36306         * sysdeps/unix/alpha/sysdep.h: Likewise.
36307         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36308         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36309         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36310         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36315         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36318         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36320         * sysdeps/x86_64/setjmp.S: Likewise.
36322 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
36324         [BZ #17263]
36325         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36326         <stdint.h>.
36327         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36328         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36330 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36332         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36334         [BZ #17262]
36335         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36336         and __x86_64__ when disabling x87 inline functions.
36338 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36340         [BZ #17259]
36341         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36342         asm statement with __cpuid_count.
36344 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
36346         * configure.ac: Change __ehdr_start code to dereference the struct.
36347         Run readelf on the output to look for relocations.
36348         * configure: Regenerated.
36350 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
36352         [BZ #17261]
36353         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36354         value to 0.
36355         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36357 2014-08-12  Roland McGrath  <roland@hack.frob.com>
36359         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36361 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
36363         [BZ #16892]
36364         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36365         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36367 2014-08-12  Sean Anderson  <seanga2@gmail.com>
36369         * malloc/malloc.c: Fix typo in comment.
36371 2014-08-09  Allan McRae  <allan@archlinux.org>
36373         * Regenerate libc.po.
36375 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
36377         * intl/tst-gettext2.sh: Check every lang file for creation.
36379 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36381         * sysdeps/aarch64/fpu/math_private.h
36382         (libc_feholdsetround_noex_aarch64_ctx): New function.
36384 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36386         * sysdeps/arm/armv6/strcpy.S (strcpy):
36387         Fix performance issue in misaligned cases.
36389 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36391         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36392         Move definition from termios.h.
36393         (struct termio): Likewise.
36394         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36395         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36396         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36397         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36398         Likewise.
36399         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36400         Move definition to ioctl-types.h
36401         (struct termio): Likewise.
36402         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36403         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36404         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36405         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36406         Likewise.
36408 2014-08-05  Richard Henderson  <rth@redhat.com>
36410         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36411         exceptions.
36412         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36413         Add fraiseexcpt.
36414         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36415         Use __feraiseexcept.
36416         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36417         Protect libm symbols with IS_IN_libm.
36419         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36421 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
36423         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36425 2014-08-04  Will Newton  <will.newton@linaro.org>
36427         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36428         file.
36430 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
36432         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36433         variants for each function.
36435 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36437         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36438         appended ...
36439         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36440         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36441         appended ...
36442         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36443         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36444         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36445         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36446         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36447         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36448         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36449         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36450         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36451         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36452         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36453         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36454         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36455         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36456         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36457         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36458         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36459         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36460         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36461         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36462         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36463         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36464         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36465         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36466         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36467         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36468         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36469         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36470         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36471         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36472         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36473         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36474         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36475         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36476         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36477         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36478         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36479         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36480         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36481         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36482         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36483         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36484         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36485         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36486         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36487         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36488         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36489         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36490         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36491         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36492         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36493         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36494         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36495         Update #include.
36496         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36497         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36499 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36501         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36502         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36503         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36504         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36505         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36506         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36508 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36510         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36511         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36512         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36513         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36515 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36517         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36518         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36519         (__libc_vfork): Define function under this name.
36520         (__vfork): Define as an alias.
36521         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36522         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36524 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36526         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36527         that was previously under [RESET_PID].
36528         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36530 2014-08-04  Andreas Schwab  <schwab@suse.de>
36532         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36534 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
36536         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36537         (main): Likewise.
36539 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36541         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36543 2014-08-01  Richard Henderon  <rth@redhat.com>
36545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36546         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36547         typo in exact zero test.
36548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36549         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36550         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36552 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36554         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36555         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36556         * sysdeps/arm/sysdep.h: ... here.
36557         [!__ASSEMBLER__]: Include <stdint.h>.
36559 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36561         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36562         (HAVE_WCTYPE_H): Likewise.
36563         (HAVE_ISWCTYPE): Likewise.
36564         (ENABLE_NLS): Likewise.
36565         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36566         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36568         * posix/regex_internal.c: Check if DEBUG is defined and is
36569         set.
36571         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36572         (HAVE_MBSRTOWCS): Likewise.
36573         * posix/fnmatch.c: Include string.h unconditionally.
36575 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36577         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36578         reversal.
36580 2014-07-31  Roland McGrath  <roland@hack.frob.com>
36582         * sysdeps/generic/safe-fatal.h: New file.
36583         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36584         * nptl/forward.c: Include it.
36585         (__pthread_unwind): Use __safe_fatal as default action, rather
36586         than a bogus use of INTERNAL_SYSCALL that could never work.
36588         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36589         * configure.ac (libc_cv_builtin_trap): New test.
36590         * configure: Regenerated.
36591         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36592         (ABORT_INSTRUCTION): Define using __builtin_trap.
36594         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36595         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36596         * sysdeps/nptl/nptl-signals.h: New file.
36597         * nptl/pthreadP.h: Include <nptl-signals.h>.
36599 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36601         * sysdeps/s390/s390-64/utf16-utf32-z9.c
36602         (ONE_DIRECTION): Define.
36603         * sysdeps/s390/s390-64/utf8-utf16-z9.c
36604         (ONE_DIRECTION): Define.
36605         * sysdeps/s390/s390-64/utf8-utf32-z9.c
36606         (ONE_DIRECTION): Define.
36608 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36610         * sysdeps/s390/Makefile: Delete file.
36611         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36612         * sysdeps/s390/__longjmp.c: Delete file.
36613         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36614         Remove fields __flags and __reserved.
36615         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36616         and add versioning.
36617         * sysdeps/s390/rtld-__longjmp.c: Delete file.
36618         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36619         * sysdeps/s390/rtld-setjmp.S: Likewise.
36620         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36621         * sysdeps/s390/s390-32/__longjmp.c: ... here.
36622         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36623         * sysdeps/s390/s390-32/setjmp.S: ... here.
36624         Add versioning.
36625         (__sigsetjmp): Remove setting __flags field.
36626         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36627         * sysdeps/s390/s390-64/__longjmp.c: ... here.
36628         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36629         * sysdeps/s390/s390-64/setjmp.S: ... here.
36630         Add versioning.
36631         (__sigsetjmp): Remove setting __flags field.
36632         * sysdeps/s390/setjmp.S: Delete file.
36633         * sysdeps/s390/sigjmp.c: Likewise.
36634         * sysdeps/s390/v1-longjmp.c: Likewise.
36635         * sysdeps/s390/v1-setjmp.h: Likewise.
36636         * sysdeps/s390/v1-sigjmp.c: Likewise.
36637         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36638         Remove v1-longjmp_chk.
36639         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36640         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36641         Include debug/longjmp_chk.c and add versioning.
36642         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36643         Include nptl/pt-longjmp.c and add versioning.
36644         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36645         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36646         Include __longjmp.c.
36647         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36648         Move to ...
36649         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36650         (__getcontext): Remove setting __flags field.
36651         Add versioning.
36652         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36653         Don't restore upper high grps.
36654         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36655         Likewise.
36656         (__swapcontext): Remove setting uc_flags field.
36657         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36658         Delete file.
36659         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36660         Include __longjmp.c.
36661         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36662         Move to ...
36663         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36664         (__getcontext): Remove setting __flags field.
36665         Add versioning.
36666         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36667         (__swapcontext): Remove setting uc_flags field.
36668         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36669         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36670         Remove fields uc_high_gprs and __reserved.
36671         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36672         New file with reverted content.
36673         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36674         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36675         Regenerated.
36676         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36677         Regenerated.
36679 2014-07-31  Andreas Schwab  <schwab@suse.de>
36681         * config.h.in (HAVE_IFUNC): Define to 0.
36682         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36683         definedness.
36685 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
36687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36688         memmove-avx-unaligned, memcpy-avx-unaligned and
36689         mempcpy-avx-unaligned.
36690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36691         Add tests for AVX memcpy functions.
36692         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36693         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36694         memcpy_chk.
36695         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36696         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36697         memmove_chk.
36698         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36699         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36700         mempcpy_chk.
36701         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36702         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36703         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36705 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36707         [BZ #17213]
36708         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36709         powerpc64le.
36711 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
36713         [BZ #16839]
36714         * manual/llio.texi: Add section about open file description locks.
36715         * manual/examples/ofdlocks.c: Example of open file description
36716         lock usage.
36717         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36718         F_OFD_SETLK, and F_OFD_SETLKW.
36720 2014-07-23  Allan McRae  <allan@archlinux.org>
36722         * po/es.po: Update Spanish translation from translation project.
36724 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
36726         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36728 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
36730         [BZ #17078]
36731         * sysdeps/arm/dl-machine.h (elf_machine_rela)
36732         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36733         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36735 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
36737         [BZ #17088]
36738         * math/fesetenv.c (__fesetenv)
36739         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36740         * math/feupdateenv.c (__feupdateenv)
36741         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36743         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36744         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36745         (__ASSUME_SOCKETCALL): Do not define.
36747         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36748         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36749         (__ASSUME_SOCKETCALL): Do not define.
36750         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36751         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36752         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36753         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36754         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36755         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36756         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36757         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36759         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36760         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36761         (__ASSUME_SOCKETCALL): Do not define.
36762         (__ASSUME_IPC64): Define unconditionally.
36763         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36764         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36765         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36766         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36767         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36769         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36770         Likewise.
36772         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36773         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36774         (__ASSUME_SOCKETCALL): Do not define.
36775         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36776         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36777         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36778         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36779         (__ASSUME_REQUEUE_PI): Define unconditionally.
36780         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36781         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36782         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36783         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36784         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36785         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36787         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36788         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36789         (__ASSUME_SOCKETCALL): Do not define.
36790         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36791         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36792         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36793         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36794         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36795         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36797         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36798         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36799         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36800         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36801         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36802         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36804         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36805         (__ASSUME_GETCPU_SYSCALL): Likewise.
36807         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36808         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
36809         cases for individual architectures.
36810         * sysdeps/gnu/configure: Regenerated.
36811         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36812         LIBC_SLIBDIR_RTLDDIR.
36813         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36814         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36815         LIBC_SLIBDIR_RTLDDIR.
36816         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36818         LIBC_SLIBDIR_RTLDDIR.
36819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36820         Regenerated.
36821         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36822         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36823         file.
36824         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36825         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36826         file.
36827         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36828         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36829         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36830         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36832         * sysdeps/aarch64/shlib-versions: Move to ...
36833         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36834         * sysdeps/alpha/shlib-versions: Move to ...
36835         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36836         * sysdeps/arm/shlib-versions: Move to ...
36837         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36838         * sysdeps/hppa/shlib-versions: Move all contents except for
36839         libgcc_s entry to ...
36840         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
36841         entry from ...
36842         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
36843         * sysdeps/ia64/shlib-versions: Move to ...
36844         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
36845         entry from ...
36846         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
36847         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36848         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36849         * sysdeps/microblaze/shlib-versions: Move to ...
36850         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36851         * sysdeps/mips/shlib-versions: Move to ...
36852         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
36853         entry from ...
36854         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
36855         * sysdeps/tile/shlib-versions: Move to ...
36856         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36857         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36858         from ...
36859         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
36860         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36861         entry from ...
36862         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
36864 2014-07-17  Will Newton  <will.newton@linaro.org>
36866         * sysdeps/arm/bits/atomic.h
36867         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36868         (__arch_compare_and_exchange_bool_16_int): Likewise.
36869         (__arch_compare_and_exchange_bool_64_int): Likewise.
36871         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36872         into an #else block.
36874 2014-07-16  Roland McGrath  <roland@hack.frob.com>
36876         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36877         just Linux configurations.  Test empirically that the compiler sets
36878         __ARM_EABI__, rather than using the tuple to decide.
36879         * sysdeps/arm/preconfigure: Regenerated.
36880         * sysdeps/unix/sysv/linux/arm/configure: File removed.
36881         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36882         contents appended ...
36883         * sysdeps/arm/configure.ac: ... here.
36884         * sysdeps/arm/configure: Regenerated.
36886 2014-07-15  Roland McGrath  <roland@hack.frob.com>
36888         * nptl/pthread_kill.c: New file.
36889         * nptl/pthread_sigmask.c: New file.
36890         * nptl/pthread_sigqueue.c: New file.
36892         * sysdeps/nptl/lowlevellock.h: New file.
36893         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36894         * sysdeps/nptl/lowlevellock-futex.h: New file.
36896         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36897         Remove dead declarations.
36899 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36901         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36902         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36903         config-cflags-avx2.
36904         * sysdeps/x86_64/configure.ac: Likewise.
36905         * sysdeps/i386/configure: Regenerated.
36906         * sysdeps/x86_64/configure: Likewise.
36907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36908         memset-avx2 only if config-cflags-avx2 is yes.
36909         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36910         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36911         defined.
36912         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36913         only if HAVE_AVX2_SUPPORT is defined.
36914         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36916 2014-07-14  Alan Modra  <amodra@gmail.com>
36918         [BZ #17153]
36919         * elf/elf.h (DT_PPC64_NUM): Correct value.
36920         * NEWS: Add to fixed bug list.
36922 2014-07-13  Jim Meyering  <meyering@fb.com>
36924         [BZ 17150]
36925         regex: don't deref NULL upon heap allocation failure
36926         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36927         failure in one more place.
36928         To trigger the segfault, configure grep -with-included-regex,
36929         build it, and run these commands:
36930         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36932 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36934         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36936 2014-07-11  Richard Henderson  <rth@redhat.com>
36938         * sysdeps/aarch64/libm-test-ulps: Update.
36940 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36942         [BZ #17135]
36943         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36944         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36945         (__nptl_setxid): Initialize error member.  Call
36946         __nptl_setxid_error.
36947         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36948         * nptl/descr.h (struct xid_command): Add error member.
36949         * nptl/tst-setuid3.c: New file.
36950         * nptl/Makefile (tests): Add it.
36952 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36954         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36955         New define.
36956         (__lll_trylock): Use __lll_base_trylock.
36957         (__lll_cond_trylock): Likewise.
36959 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36961         * nptl/pthread_create.c (start_thread): Use atomic_or and
36962         lll_futex_wake directly rather than lll_robust_dead.
36963         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36964         (lll_robust_dead): Macro removed.
36965         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36966         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36967         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36968         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36969         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36970         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36971         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36972         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36973         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36974         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36975         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36976         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36977         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36978         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36979         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36981         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36982         Use atomic_compare_and_exchange_val_acq directly rather than
36983         lll_robust_trylock.
36984         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36985         (__lll_robust_trylock, lll_robust_trylock): Removed.
36986         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36987         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36988         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36990         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36991         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36992         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36993         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36994         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36995         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36996         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36997         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36998         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36999         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37001 2014-07-02  Florian Weimer  <fweimer@redhat.com>
37003         * manual/locale.texi (Locale Names): New section documenting
37004         locale name syntax.  Adjust menu and node chaining accordingly.
37005         (Choosing Locale): Reference Locale Names, Locale Categories.
37006         Mention setting LC_ALL=C.  Reflect that name syntax is now
37007         documented.
37008         (Locale Categories): New section title.  Reference Locale Names.
37009         LC_ALL is an environment variable, but not a category.
37010         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
37011         description, now in Locale Name.  Reference that section.  Locale
37012         name syntax is now documented.
37014 2014-07-02  Florian Weimer  <fweimer@redhat.com>
37016         [BZ #17137]
37017         * locale/findlocale.c (name_present, valid_locale_name): New
37018         functions.
37019         (_nl_find_locale): Use the loc_name variable to store name
37020         candidates.  Call name_present and valid_locale_name to check and
37021         validate locale names.  Return an error if the locale is invalid.
37023 2014-07-02  Florian Weimer  <fweimer@redhat.com>
37025         * locale/setlocale.c (setlocale): Use strdup for allocating
37026         composite name copy.
37028 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37030         Sync up with gnulib.
37031         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
37032         [!_LIBC && ENABLE_NLS]: Include gettext.h.
37033         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
37034         and _GL_ARG_NONNULL.
37035         [USE_UNLOCKED_IO]: Include unlocked-io.h.
37036         [!_LIBC]: Include code for Windows and Cygwin.
37037         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
37038         Include prototype for int strerror_r.
37039         [!_LIBC] (is_open): New function.
37040         (flush_stdout): New function.
37041         (print_errno_message): Use it.
37042         (error): Likewise.
37043         (error_at_line): Likewise.
37044         (error_tail) Add function attribute macros.  Use
37045         __builtin_expect.
37047         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
37049         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
37051         * io/ftw.c: Include sys/param.h unconditionally.
37053         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
37055         [BZ #17125]
37056         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
37057         libc_freeres_ptr.
37058         (freecache): New function to free CACHE on exit.
37060         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
37061         initialization.
37063 2014-07-09  David S. Miller  <davem@davemloft.net>
37065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37067         * sysdeps/sparc/nptl/internaltypes.h: Delete.
37068         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
37069         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
37070         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
37071         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
37072         * sysdeps/sparc/nptl/sem_init.c: Likewise.
37073         * sysdeps/sparc/nptl/sem_post.c: Likewise.
37074         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
37075         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
37076         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
37077         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
37078         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
37079         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
37081 2014-07-09  Andreas Schwab  <schwab@suse.de>
37083         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
37084         output.
37085         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
37086         (do_test): Likewise.
37088         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37090 2014-07-09  Will Newton  <will.newton@linaro.org>
37092         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
37093         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
37094         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
37095         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
37096         * sysdeps/hppa/start.S (_start): Likewise.
37098 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37100         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
37102         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
37103         defined.
37105 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37107         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
37108         after checking that it is non-NULL.
37110         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
37112 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37114         * sysdeps/powerpc/memmove.c: Remove file.
37115         * sysdeps/powerpc/powerpc32/power4/memcopy.h
37116         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37117         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37118         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37119         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37120         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37121         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37122         string memmove instead of removed powerpc one.
37124         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37125         [weak_alias]: Fix compiler warning due trailing data.
37126         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37127         [weak_alias]: Likewise.
37128         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37129         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37132         (__libc_ifunc_impl_list): Add memmove functions.
37134 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37136         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37137         Remove code.
37138         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37139         Likewise.
37140         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37141         Likewise.
37142         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37143         Likewise.
37144         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37145         Likewise.
37146         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37147         Likewise.
37148         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37149         Likewise.
37150         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37151         Likewise.
37152         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37153         Likewise.
37154         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37155         Likewise.
37156         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37157         Likewise.
37158         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37159         Likewise.
37160         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37161         Likewise.
37162         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37163         Likewise.
37164         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37165         Likewise.
37166         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37167         Likewise.
37168         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37169         Likewise.
37171 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37173         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37174         to avoid alignment traps in non-cacheable memory.
37175         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37178         multiarch objects.
37179         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37180         file: multiarch power7 memmove.
37181         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37182         multiarch default memmove.
37183         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37184         multiarch memove for powerpc32/power4.
37186         * string/bcopy.c: Use full path to include memmove.c.
37187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37188         multiarch objects.
37189         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37190         bcopy for powerpc64.
37191         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37192         bcopy for powerpc64.
37193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37194         and memmove implementations.
37195         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37196         optimized multiarch memmove for POWER7/powerpc64.
37197         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37198         default multiarch memmove for powerpc64.
37199         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37200         multiarch for powerpc64.
37201         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37202         for POWER7/powerpc64.
37203         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37204         memmove for POWER7/powerpc64.
37206         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37207         glibc default one.
37209         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37210         __ELF_NATIVE_CLASS equal to 64.
37212 2014-07-07  Roland McGrath  <roland@hack.frob.com>
37214         * sysdeps/nptl/lowlevellock.h: File removed.
37216         * NEWS: NPTL is no longer an add-on!
37217         * nptl/internaltypes.h: Moved ...
37218         * sysdeps/nptl/internaltypes.h: ... here.
37219         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37220         * sysdeps/nptl/fork.c: Likewise.
37221         * sysdeps/nptl/gai_misc.h: Likewise.
37222         * sysdeps/nptl/librt-cancellation.c: Likewise.
37223         * sysdeps/nptl/jmp-unwind.c: Likewise.
37224         * sysdeps/nptl/setxid.h: Likewise.
37225         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37226         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37227         * sysdeps/unix/sysv/linux/arm/Implies: New file.
37228         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37229         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37230         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37231         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37232         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37233         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37234         * sysdeps/unix/sysv/linux/mips/Implies: New file.
37235         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37236         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37237         * sysdeps/unix/sysv/linux/sh/Implies: New file.
37238         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37239         * sysdeps/unix/sysv/linux/tile/Implies: New file.
37240         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37241         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37242         * nptl/Makeconfig: Moved ...
37243         * sysdeps/nptl/Makeconfig: ... here.
37244         * nptl/configure: File removed.
37245         * nptl/ANNOUNCE: File removed.
37246         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37247         * sysdeps/unix/sysv/linux/configure: Regenerated.
37249         * nptl/Makefile (routines): Add libc_pthread_init,
37250         libc_multiple_threads, register-atfork and unregister-atfork.
37251         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37252         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37253         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37254         pthread-pi-defines.sym, structsem.sym.
37255         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37256         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37257         [$(subdir) = nptl] (tests): Add tst-setgetname.
37258         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37259         * sysdeps/unix/sysv/linux/sigaction.c: Just include
37260         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37261         [!LIBC_SIGACTION]: Remove aliases.
37262         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37263         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37264         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37265         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37266         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37267         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37268         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37269         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37270         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37271         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37272         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37273         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37274         __libc_allocate_rtsig_private.
37275         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37276         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37277         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37278         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37279         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37280         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37281         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37282         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37283         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37284         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37285         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37286         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37287         * nptl/internaltypes.h: ... here.
37288         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37289         * sysdeps/nptl/jmp-unwind.c: ... here.
37290         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37291         * nptl/libc-lowlevellock.c: ... here.
37292         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37293         * nptl/libc_multiple_threads.c: ... here.
37294         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37295         * nptl/libc_pthread_init.c: ... here.
37296         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37297         * nptl/lowlevelbarrier.sym: ... here.
37298         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37299         * nptl/lowlevelcond.sym: ... here.
37300         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37301         * nptl/lowlevellock.c: ... here.
37302         * nptl/lowlevellock.h: Moved ...
37303         * sysdeps/nptl/lowlevellock.h: ... here.
37304         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37305         * nptl/lowlevelrobustlock.c: ... here.
37306         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37307         * nptl/lowlevelrobustlock.sym: ... here.
37308         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37309         * nptl/lowlevelrwlock.sym: ... here.
37310         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37311         * nptl/pt-fork.c: ... here.
37312         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37313         * nptl/pthread-pi-defines.sym: ... here.
37314         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37315         * nptl/pthread_attr_getaffinity.c: ... here.
37316         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37317         * nptl/pthread_attr_setaffinity.c: ... here.
37318         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37319         * nptl/pthread_mutex_cond_lock.c: ... here.
37320         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37321         Update #include.
37322         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37323         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37324         * nptl/pthread_once.c: ... here, replacing old file.
37325         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37326         * nptl/pthread_yield.c: ... here.
37327         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37328         * nptl/register-atfork.c: ... here.
37329         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37330         * nptl/sem_post.c: ... here.
37331         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37332         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37333         * nptl/sem_timedwait.c: ... here.
37334         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37335         * nptl/sem_trywait.c: ... here.
37336         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37337         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37338         * nptl/sem_wait.c: ... here.
37339         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37340         * nptl/structsem.sym: ... here.
37341         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37342         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37343         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37344         * nptl/unregister-atfork.c: ... here.
37345         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37346         * nptl/unwindbuf.sym: ... here.
37347         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37348         * sysdeps/nptl/fork.c: ... here.
37349         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37350         * sysdeps/nptl/fork.h: ... here.
37351         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37352         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37353         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37354         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37355         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37356         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37357         * sysdeps/unix/sysv/linux/getpid.c: ... here.
37358         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37359         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37360         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37361         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37362         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37363         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37364         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37365         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37366         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37367         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37368         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37369         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37370         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37371         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37372         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37373         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37374         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37375         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37376         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37377         * sysdeps/unix/sysv/linux/raise.c: ... here.
37378         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37379         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37380         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37381         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37382         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37383         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37384         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37385         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37386         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37387         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37388         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37389         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37390         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37391         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37392         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37394 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37396         * sysdeps/generic/memcopy.h: Add comment for
37397         MEMCPY_OK_FOR_FWD_MEMMOVE.
37399 2014-07-04  Will Newton  <will.newton@linaro.org>
37401         * string/memchr.c: Merge from gnulib.
37402         [_LIBC]: Remove conditionals.
37403         (__ptr_t): Remove define.
37404         (LONG_MAX_32_BITS): Likewise.
37405         (LONG_MAX): Likewise.
37406         (MEMCHR): Use ANSI prototype and optimize algorithm.
37408         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37410 2014-07-03  Roland McGrath  <roland@hack.frob.com>
37412         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37413         (lll_futex_timed_wait_bitset): Fix syscall argument count.
37415         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37416         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37417         in a bare environment with no <stdlib.h> installed.
37418         * sysdeps/nptl/configure: Regenerated.
37420         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37422         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37423         AC_EGREP_CPP for kernel header checks, so they only succeed if
37424         including <linux/version.h> actually works right.
37425         * sysdeps/unix/sysv/linux/configure: Regenerated.
37427         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37428         value so it's not diagnosed as unused.
37430         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37431         thing) with "ifeq ($(subdir),rt)".
37433 2014-07-03  Richard Henderson  <rth@redhat.com>
37435         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37436         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37437         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37439         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37440         (math_force_eval): New.
37442         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37443         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37445         * sysdeps/alpha/fpu/s_round.c: Remove file.
37446         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37448         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37449         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37450         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37451         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37452         (_dl_start, print_statistics): Likewise.
37453         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37454         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37456         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37457         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37458         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37459         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37460         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37461         (HP_SMALL_TIMING_AVAIL): Define.
37462         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37463         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37464         (HP_SMALL_TIMING_AVAIL): Define.
37465         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37466         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37468         * sysdeps/aarch64/hp-timing.h: New file.
37470         * sysdeps/generic/hp-timing.h: Remove dead comment.
37471         * sysdeps/generic/hp-timing-common.h: New file.
37472         * sysdeps/alpha/hp-timing.h: Include it.
37473         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37474         * sysdeps/i386/i686/hp-timing.h: Likewise.
37475         * sysdeps/ia64/hp-timing.h: Likewise.
37476         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37477         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37478         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37479         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37480         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37481         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37482         (hp_timing_t): New.
37484         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37485         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37486         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37487         * elf/rtld.c (_dl_start_final): Likewise.
37488         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37489         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37490         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37491         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37492         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37493         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37494         (HP_TIMING_DIFF_INIT): Remove.
37495         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37496         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37497         (HP_TIMING_DIFF_INIT): Remove.
37498         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37499         * sysdeps/i386/i686/hp-timing.c: Remove file.
37500         * sysdeps/x86_64/hp-timing.c: Remove file.
37501         * sysdeps/ia64/hp-timing.c: Remove file.
37502         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37503         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37504         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37505         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37507         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37508         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37509         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37510         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37511         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37512         (HP_TIMING_ACCUM): Remove.
37513         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37514         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37515         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37517         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37518         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37519         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37520         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37521         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37522         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37523         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37524         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37526         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37528 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
37530         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37532 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37534         Sync up with gettext.
37535         * intl/loadmsgcat.c: Define O_BINARY if not defined.
37536         [_MSC_VER]: Include malloc.h
37537         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37538         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37539         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
37540         TEMP_FAILURE_RETRY.  Cast return of alloca.
37541         [!_LIBC] Call gl_rwlock_init.
37542         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37544 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37546         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37547         before checking its value.
37549 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37551         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37553         * debug/memcpy_chk.c: Don't include pagecopy.h.
37554         * debug/mempcpy_chk.c: Likewise.
37555         * string/memcpy.c: Likewise.
37556         * string/memmove.c: Likewise.
37557         * sysdeps/powerpc/memmove.c: Likewise.
37558         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
37559         definition of PAGE_COPY_FWD_MAYBE here...
37560         * sysdeps/generic/pagecopy.h: ... from here.
37561         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37563 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37564             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37566         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37568         optimizations.
37569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37570         (__libc_ifunc_impl_list): Likewise.
37571         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37572         multiarch strcat for PPC64.
37573         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37574         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37576 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37578         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37580 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37582         * intl/loadmsgcat.c: Remove declaration of
37583         get_sysdep_segment_value.
37584         (get_sysdep_segment_value): Use ISO C style.
37585         (_nl_load_domain): Use ISO C style.  Get rid of redundant
37586         semicolon.  Fix typo and formatting in comment.
37587         (_nl_unload_domain): Use ISO C style.
37589         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37591 2014-07-02  Will Newton  <will.newton@linaro.org>
37593         * malloc/obstack.c: Merge from gnulib master.
37594         [HAVE_CONFIG_H]: Remove conditional code.
37595         [!_LIBC]: Include config.h.
37596         [!ELIDE_CODE]: Don't include inttypes.h, include
37597         stdint.h unconditionally.
37598         (print_and_abort): Mark as _Noreturn.
37599         (_obstack_allocated_p): Mark as __attribute_pure__.
37600         (obstack_free): Rename to __obstack_free.
37601         [!__attribute__]: Remove conditional code.
37602         * malloc/obstack.h: Merge from gnulib master.
37603         [__cplusplus]: Move conditional down.
37604         [!__attribute_pure__]: Define __attribute_pure__ here
37605         if it is not already defined.
37606         (_obstack_memory_used): Mark as __attribute_pure__.
37607         [!__obstack_free]: Define as obstack_free.
37608         [__GNUC__]: Remove check for ancient NeXT gcc.
37610 2014-07-02  Will Newton  <will.newton@linaro.org>
37611             Paul Eggert  <eggert@cs.ucla.edu>
37613         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37615 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37617         * resolv/gethnamaddr.c: Add comment warning that the file is
37618         not maintained.
37620 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
37622         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37623         entries.
37625         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37626         entry for aio_cancel and aio_cancel64.
37627         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37628         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37629         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37630         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37631         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37632         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37633         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37634         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37635         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37636         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37637         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37638         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37639         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37641 2014-07-01  Roland McGrath  <roland@hack.frob.com>
37643         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37644         * nptl/pthread_mutex_lock.c: Likewise.
37645         * nptl/pthread_mutex_timedlock.c: Likewise.
37646         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37648 2014-07-01  Richard henderson  <rth@redhat.com>
37650         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37651         (__isnan, __isnanl): Remove.
37652         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37654         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37656 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37658         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37660 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37662         * resolv/nss_dns/dns-host.c (getanswer_r)
37663         [MULTI_PTRS_ARE_ALIASES]: Remove code.
37665 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
37667         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37668         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37669         undefine.
37670         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37671         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37673 2014-07-01  Roland McGrath <roland@hack.frob.com>
37675         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37676         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37678         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37679         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37681         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37682         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37683         ... here.
37684         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37685         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37687         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37688         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37689         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37690         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37692         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37693         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37694         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37695         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37696         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37697         Moved ...
37698         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37699         ... here.
37700         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37701         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37702         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37703         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37704         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37705         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37706         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37707         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37708         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37709         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37710         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37711         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37712         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37713         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37714         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37715         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37716         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37717         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37718         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37719         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37720         ... here.
37721         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37722         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37723         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37724         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37725         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37726         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37727         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37728         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37730 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
37732         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37733         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37734         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37735         Add sysdep.
37737 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37741 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37743         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37744         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37746         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37748         * sysdeps/arm/libm-test-ulps: Regenerated.
37750 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37751             Roland McGrath <roland@hack.frob.com>
37753         * test-skeleton.c (signal_handler): Kill the whole process group
37754         before killing the child individually.
37755         (main): Report any failure on `setpgid'.
37757 2014-06-30  Roland McGrath  <roland@hack.frob.com>
37759         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37760         from _TLS_H to _ARM_NPTL_TLS_H.
37761         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37762         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37764 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37766         [BZ #16539]
37767         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37768         (__expm1l): Return argument unchanged when small but not
37769         subnormal.
37771         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37772         include macro name.
37773         (_FP_UNPACK_RAW_1_P): Likewise.
37774         (_FP_PACK_RAW_1): Likewise.
37775         (_FP_PACK_RAW_1_P): Likewise.
37776         (_FP_MUL_MEAT_1_wide): Likewise.
37777         (_FP_MUL_MEAT_DW_1_hard): Likewise.
37778         (_FP_MUL_MEAT_1_hard): Likewise.
37779         (_FP_DIV_MEAT_1_imm): Likewise.
37780         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37781         (_FP_DIV_MEAT_1_udiv): Likewise.
37782         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37783         (_FP_UNPACK_RAW_2): Likewise.
37784         (_FP_UNPACK_RAW_2_P): Likewise.
37785         (_FP_PACK_RAW_2): Likewise.
37786         (_FP_PACK_RAW_2_P): Likewise.
37787         (_FP_MUL_MEAT_DW_2_wide): Likewise.
37788         (_FP_MUL_MEAT_2_wide): Likewise.
37789         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37790         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37791         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37792         (_FP_MUL_MEAT_2_gmp): Likewise.
37793         (_FP_DIV_MEAT_2_udiv): Likewise.
37794         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37795         (_FP_FRAC_SRL_4): Likewise.
37796         (_FP_FRAC_SRST_4): Likewise.
37797         (_FP_FRAC_SRS_4): Likewise.
37798         (_FP_UNPACK_RAW_4): Likewise.
37799         (_FP_UNPACK_RAW_4_P): Likewise.
37800         (_FP_PACK_RAW_4): Likewise.
37801         (_FP_PACK_RAW_4_P): Likewise.
37802         (_FP_MUL_MEAT_DW_4_wide): Likewise.
37803         (_FP_MUL_MEAT_4_wide): Likewise.
37804         (_FP_MUL_MEAT_4_gmp): Likewise.
37805         (umul_ppppmnnn): Likewise.
37806         (_FP_DIV_MEAT_4_udiv): Likewise.
37807         (__FP_FRAC_ADD_4): Likewise.
37808         (__FP_FRAC_SUB_3): Likewise.
37809         (__FP_FRAC_SUB_4): Likewise.
37810         (__FP_FRAC_DEC_3): Likewise.
37811         (__FP_FRAC_DEC_4): Likewise.
37812         (__FP_FRAC_ADDI_4): Likewise.
37813         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37814         (_FP_FRAC_SRL_8): Likewise.
37815         (_FP_FRAC_SRS_8): Likewise.
37817         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37818         include macro name.
37819         (FP_UNPACK_RAW_EP): Likewise.
37820         (FP_PACK_RAW_E): Likewise.
37821         (FP_PACK_RAW_EP): Likewise.
37822         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37823         (_FP_ISSIGNAN): Likewise.
37824         (_FP_ADD_INTERNAL): Likewise.
37825         (_FP_FMA): Likewise.
37826         (_FP_CMP): Likewise.
37827         (_FP_SQRT): Likewise.
37828         (_FP_TO_INT): Likewise.
37829         (_FP_FROM_INT): Likewise.
37830         (FP_EXTEND): Likewise.
37831         (_FP_DIV_MEAT_N_loop): Likewise.
37833 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37835         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37836         throughout.
37838 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
37840         [BZ #17097]
37841         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37842         result with correct sign in case of exponents that produce
37843         overflow except for X very close to 1.
37845 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
37847         mktime: merge #if/#ifdef usage from glibc
37848         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37849         as that works with both Glibc's and Gnulib's style.
37850         See thread starting at Siddhesh Poyarekar's bug report at:
37851         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37853 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37855         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37856         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37857         * sysdeps/tile/tilegx/memmove.c: Remove file.
37859 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37861         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37862         abi-name definition.
37863         * scripts/soversions.awk: Do not handle or generate ABI lines.
37864         * shlib-versions: Remove ABI entries.
37865         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37866         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37868 2014-06-27  Roland McGrath  <roland@hack.frob.com>
37870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37871         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37872         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37873         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37875         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37877         Moved ...
37878         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37879         ... here.
37880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37881         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37883         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37885         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37887         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37889         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37891         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37893         Moved ...
37894         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37896         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37897         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37898         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37900         Moved ...
37901         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37902         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37903         Moved ...
37904         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37906         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37908         Moved ...
37909         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37910         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37911         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37912         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37913         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37915         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37917         Moved ...
37918         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37920         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37921         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37922         Moved ...
37923         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37924         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37925         Moved ...
37926         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37928         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37929         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37930         Moved ...
37931         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37932         ... here.
37933         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37934         Identical file removed.
37935         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37936         Moved ...
37937         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37938         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37939         Identical file removed.
37940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37941         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37942         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37943         Moved ...
37944         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37946         Identical file removed.
37947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37948         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37949         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37950         Identical file removed.
37951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37952         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37954         Identical file removed.
37955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37956         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37957         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37958         Identical file removed.
37959         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37960         Moved ...
37961         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37962         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37963         Identical file removed.
37964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37965         Moved ...
37966         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37967         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37968         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37970         Identical file removed.
37971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37972         Moved ...
37973         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37974         ... here.
37975         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37976         Identical file removed.
37977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37978         Moved ...
37979         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37980         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37981         Identical file removed.
37982         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37983         Moved ...
37984         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37985         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37986         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37987         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37988         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37989         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37990         Moved ...
37991         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37992         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37993         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37995         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37996         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37997         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37998         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37999         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
38001 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
38003         [BZ #17092]
38004         * nscd/nscd.c (monitor_child): Return exit status of child
38005         instead of return value from wait syscall.
38007 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
38009         * configure.ac (libc_commonpagesize): Remove variable.
38010         (libc_relro_required): Likewise.
38011         (libc_cv_z_relro): Remove configure test.
38012         * configure: Regenerated.
38013         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
38014         variable.
38015         (libc_relro_required): Likewise.
38016         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
38017         (libc_relro_required): Likewise.
38018         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
38019         (libc_relro_required): Likewise.
38020         * sysdeps/arm/preconfigure: Regenerated.
38021         * sysdeps/ia64/preconfigure: Remove file.
38022         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
38023         variable.
38024         (libc_relro_required): Likewise.
38026         [BZ #16561]
38027         [BZ #16562]
38028         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
38029         (__ieee754_yn): Set FE_TONEAREST mode internally and then
38030         recompute overflowing results in original rounding mode.
38031         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
38032         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
38033         recompute overflowing results in original rounding mode.
38034         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
38035         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38036         recompute overflowing results in original rounding mode.
38037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
38038         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38039         recompute overflowing results in original rounding mode.
38040         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
38041         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38042         recompute overflowing results in original rounding mode.
38043         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
38044         (libc_feholdsetround_ctx): New macro.
38045         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
38046         * sysdeps/i386/fpu/libm-test-ulps: Update.
38047         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
38049 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38051         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
38052         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
38053         corresponding .cpsetup call.
38055 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38057         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
38058         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
38059         * sysdeps/arm/Makefile [$(subdir) = csu]
38060         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
38061         (static-only-routines): Add aeabi_read_tp here.
38062         (shared-only-routines): Add libc-aeabi_read_tp here.
38063         (CFLAGS-libc-start.c): Add -fexceptions here.
38064         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
38065         (sysdep_routines, static-only-routines, shared-only-routines):
38066         Don't add to these here.
38067         (CFLAGS-libc-start.c): Likewise.
38069         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
38070         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38071         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
38072         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38073         * sysdeps/arm/Makefile [$(subdir) = rt]
38074         (librt-sysdep_routines, librt-shared-only-routines):
38075         Append rt-aeabi_unwind_cpp_pr1 here.
38076         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
38077         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
38078         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
38079         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38080         Append nptl-aeabi_unwind_cpp_pr1 here.
38081         (tests): Filter out tst-cleanupx4 here.
38082         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
38083         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
38084         Don't do those here.
38086 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38088         * scripts/list-sources.sh: Do not handle ports specially.
38090 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38092         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
38093         * sysdeps/arm/feupdateenv.c: Likewise.
38095         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
38097 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38099         * manual/texinfo.tex: Update to version 2014-05-05.10 with
38100         trailing whitespace removed.
38101         * scripts/config.guess: Update to version 2014-03-23.
38102         * scripts/config.sub: Update to version 2014-05-01
38103         * scripts/install-sh: Update to version 2013-12-25.23.
38104         * scripts/move-if-change: Update from gnulib.
38106 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38108         * debug/memmove_chk.c: Remove pagecopy.h include.
38110 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
38112         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
38113         identical to gnulib mktime.
38115 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38117         * configure.ac: Do not test for machine being rs6000.  Do not test
38118         for powerpc*-*soft.
38119         * configure: Regenerated.
38121         [BZ #11505]
38122         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38123         test.
38124         * configure: Regenerated.
38125         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38126         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38127         Remove configure test.
38128         * sysdeps/arm/configure: Regenerated.
38129         * sysdeps/nptl/configure.ac: Do not check
38130         libc_cv_asm_cfi_directives.
38131         * sysdeps/nptl/configure: Regenerated.
38132         * sysdeps/x86_64/nptl/configure.ac: Remove file.
38133         * sysdeps/x86_64/nptl/configure: Remove generated file.
38134         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38135         unconditional.
38136         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38138 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38140         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38141         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38142         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38143         it is defined.
38145         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38146         instead of whether it is defined.
38147         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38148         * sysdeps/hppa/dl-machine.h: Likewise.
38149         * sysdeps/ia64/dl-machine.h: Likewise.
38150         * sysdeps/m68k/dl-machine.h: Likewise.
38151         * sysdeps/microblaze/dl-machine.h: Likewise.
38152         * sysdeps/mips/dl-machine.: Likewise.
38153         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38154         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38155         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38156         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38157         * sysdeps/sh/dl-machine.h: Likewise.
38158         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38159         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38160         * sysdeps/tile/dl-machine.h: Likewise.
38161         * sysdeps/x86_64/dl-machine.h: Likewise.
38163         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38164         code.
38165         (verify_persistent_db): Likewise.
38167 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38170         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38172         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38174         Moved ...
38175         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38176         ... here.
38177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38178         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38180         Identical file removed.
38181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38182         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38184         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38186         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38188         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38190         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38192         Moved ...
38193         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38195         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38197         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38199         Moved ...
38200         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38202         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38204         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38206         Identical file removed.
38207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38208         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38210         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38212         Moved ...
38213         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38214         ... here.
38215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38216         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38218         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38220         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38222         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38224         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38226         Moved ...
38227         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38229         Moved ...
38230         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38232         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38234         Moved ...
38235         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38237         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38239         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38240         folded into ...
38241         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38242         * sysdeps/unix/sysv/linux/s390/Versions
38243         (libpthread: GLIBC_2.19): New version set.
38244         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38245         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38246         (librt: GLIBC_2.3.3): New version set.
38247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38248         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38249         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38250         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38251         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38252         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38253         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38254         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38255         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38256         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38257         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38258         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38259         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38260         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38261         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38262         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38263         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38264         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38265         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38266         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38267         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38268         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38269         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38270         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38271         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38272         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38273         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38274         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38275         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38276         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38277         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38278         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38283         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38284         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38285         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38287         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38289         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38291         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38293         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38294         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38295         (__libc_vfork): Define the function under this name.
38296         [!NOT_IN_libc] (__vfork): Make this an alias.
38297         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38298         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38299         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38300         (__libc_vfork): Define the function under this name.
38301         [!NOT_IN_libc] (__vfork): Make this an alias.
38302         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38303         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38304         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38306         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38307         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38309         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38310         code that was previously under [RESET_PID].
38311         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38312         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38315         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38316         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38317         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38318         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38319         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38320         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38321         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38322         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38323         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38324         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38325         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38326         Moved ...
38327         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38328         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38329         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38330         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38331         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38332         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38333         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38334         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38335         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38336         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38337         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38338         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38339         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38340         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38341         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38342         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38343         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38344         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38345         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38346         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38347         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38348         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38349         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38350         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38351         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38352         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38353         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38354         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38355         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38357 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38359         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38360         that was previously under [RESET_PID].
38361         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38363 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38365         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38366         not undefine and redefine.
38367         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38368         [O_CLOEXEC]: Make code unconditional.
38369         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38370         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38371         <kernel-features.h>.
38372         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38373         conditional variable definition.
38374         (shm_open) [O_CLOEXEC]: Make code unconditional.
38375         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38376         code.
38378         * configure.ac (USE_REGPARMS): Don't define here.
38379         * configure: Regenerated.
38380         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38381         * sysdeps/i386/configure: Regenerated.
38383         * nptl/createthread.c: Don't include kernel-features.h.
38384         * nptl/pthread_cancel.c: Likewise.
38385         * nptl/pthread_condattr_setclock.c: Likewise.
38386         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38387         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38388         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38389         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38390         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38391         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38392         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38395         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38396         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38397         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38398         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38399         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38400         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38401         * nscd/gai.c: Likewise.
38402         * nss/nss_db/db-open.c: Likewise.
38403         * sysdeps/generic/ldsodefs.h: Likewise.
38404         * sysdeps/sh/nptl/tls.h: Likewise.
38405         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38406         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38407         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38408         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38409         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38410         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38411         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38412         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38413         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38414         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38415         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38416         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38417         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38418         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38419         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38420         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38421         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38422         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38423         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38424         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38425         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38426         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38427         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38428         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38429         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38433         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38434         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38435         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38436         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38437         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38438         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38439         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38440         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38441         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38442         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38443         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38444         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38445         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38446         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38447         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38448         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38449         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38450         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38451         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38452         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38453         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38454         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38455         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38456         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38457         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38458         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38459         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38460         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38461         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38462         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38485         * sysdeps/unix/sysv/linux/pread.c: Likewise.
38486         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38487         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38488         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38489         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38490         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38491         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38492         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38493         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38494         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38495         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38496         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38497         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38498         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38499         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38500         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38501         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38502         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38503         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38504         * sysdeps/unix/sysv/linux/system.c: Likewise.
38505         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38506         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38507         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38508         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38509         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38510         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38511         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38513         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38514         * configure: Regenerated.
38515         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38517         * configure.ac (base_machine): Do not set specially for particular
38518         machines here.
38519         * configure: Regenerated.
38520         * sysdeps/powerpc/preconfigure: Move machine and base_machine
38521         settings from configure.ac.
38522         * sysdeps/i386/preconfigure: New file.
38523         * sysdeps/s390/preconfigure: Likewise.
38524         * sysdeps/sh/preconfigure: Likewise.
38525         * sysdeps/sparc/preconfigure: Likewise.
38527 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38529         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38530         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38531         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38532         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38533         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38534         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38535         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38536         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38537         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38538         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38539         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38540         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38541         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38542         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38543         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38544         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38545         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38546         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38547         * sysdeps/sparc/sparc64/Makefile: ... appended here.
38549         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38550         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38551         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38552         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38553         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38554         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38555         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38556         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38557         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38558         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38559         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38560         * sysdeps/sparc/sparc32/sem_post.c: ... here.
38561         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38562         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38563         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38564         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38565         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38566         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38567         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38568         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38569         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38570         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38571         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38572         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38573         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38574         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38575         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38576         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38577         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38578         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38579         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38580         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38581         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38582         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38583         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38584         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38585         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38586         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38589         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38591         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38593         Moved ...
38594         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38595         ... here.
38596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38597         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38599         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38601         Moved ...
38602         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38604         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38606         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38608         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38610         Moved ...
38611         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38613         Moved ...
38614         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38616         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38618         Moved ...
38619         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38621         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38623         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38625         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38627         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38629         Moved ...
38630         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38631         ... here.
38632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38633         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38635         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38637         Moved ...
38638         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38640         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38642         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38644         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38646         Moved ...
38647         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38649         Moved ...
38650         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38652         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38654         Moved ...
38655         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38657         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38659         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38661 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38663         * timezone/checktab.awk: Update from tzcode 2014e.
38664         * timezone/private.h: Likewise.
38665         * timezone/tzfile.h: Likewise.
38666         * timezone/zdump.c: Likewise.
38667         * timezone/zic.c: Likewise.
38669         * sysdeps/unix/sysv/linux/kernel-features.h
38670         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38671         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38672         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38673         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38674         Remove conditional code.
38676 2014-06-25  Will Newton  <will.newton@linaro.org>
38678         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38679         (_dl_arm_cap_flags): Add HWCAP2 values.
38680         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38681         (_DL_HWCAP_COUNT): Increase to 37.
38682         (_DL_HWCAP_LAST): New define.
38683         (_DL_HWCAP2_LAST): New define.
38684         (_dl_procinfo): Add support for printing
38685         AT_HWCAP2 entries.
38686         (_dl_string_hwcap): Use _dl_hwcap_string.
38688 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38692 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38694         * README: Do not mention ports directory.
38696         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38697         Remove macro.
38698         * sysdeps/unix/sysv/linux/futimes.c: Do not include
38699         <kernel-features.h>.
38700         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38701         conditional variable definition.
38702         (__futimes): Update comment.
38703         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38704         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38706         [BZ #16560]
38707         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38708         arguments close to 0.
38709         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38710         Likewise.
38711         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38712         Likewise.
38713         * math/auto-libm-test-in: Add more tests of exp10.
38714         * math/auto-libm-test-out: Regenerated.
38715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38717         * sysdeps/unix/sysv/linux/kernel-features.h
38718         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38719         * sysdeps/unix/sysv/linux/readv.c: Do not include
38720         <kernel-features.h>.
38721         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38722         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38723         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38724         unconditional.
38725         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38726         conditional code.
38727         * sysdeps/unix/sysv/linux/writev.c: Do not include
38728         <kernel-features.h>.
38729         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38730         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38731         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38732         unconditional.
38733         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38734         conditional code.
38736 2014-06-25  Will Newton  <will.newton@linaro.org>
38738         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38739         comment changes throughout the file.  Remove checks
38740         for HAVE_*_H definitions that are not required.
38741         (__gen_tempname): Call abort if an unknown kind value is
38742         passed.
38744 2014-06-25  Andreas Schwab  <schwab@suse.de>
38746         [BZ #17086]
38747         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38748         scalbln, scalblnf, scalblnl in libc.
38750 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38752         [BZ #17086]
38753         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38754         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38755         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38757 2014-06-24  Roland McGrath  <roland@hack.frob.com>
38759         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38760         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38761         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38762         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38763         Update #include.
38764         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38765         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38766         Update #include.
38767         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38768         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38769         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38770         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38771         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38772         * sysdeps/x86/bits/pthreadtypes.h: ... here.
38773         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38774         * sysdeps/x86/bits/semaphore.h: ... here.
38775         * sysdeps/x86/nptl/elide.h: Moved ...
38776         * sysdeps/x86/elide.h: ... here.
38777         * sysdeps/x86_64/nptl/Implies: File removed.
38778         * sysdeps/i386/nptl/Implies: File removed.
38780 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
38782         [BZ #16539]
38783         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38784         return the argument for normal arguments with exponent below -64.
38785         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38786         Likewise.
38787         * math/auto-libm-test-in: Add another test of expm1.
38788         * math/auto-libm-test-out: Regenerated.
38790         [BZ #16287]
38791         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38792         calling __erfcl for arguments at least 16.
38793         * math/auto-libm-test-in: Add more tests of erf.
38794         * math/auto-libm-test-out: Regenerated.
38796         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38797         individual architectures.
38798         * sysdeps/unix/sysv/linux/configure: Regenerated.
38799         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38800         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38801         * sysdeps/unix/sysv/linux/powerpc/configure.ac
38802         (ldd_rewrite_script): Define variable.
38803         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38805         file.
38806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38807         generated file.
38808         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38809         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38810         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38811         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38812         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38813         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38814         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38815         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38817 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38819         [BZ #17084]
38820         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38821         Rename member __data.d to __data.__elision_data.
38823 2014-06-24  Wilco  <wdijkstr@arm.com>
38825         * NEWS: Add 16918 to fixed bug list.
38827 2014-06-24  Wilco  <wdijkstr@arm.com>
38829         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38831 2014-06-24  Wilco  <wdijkstr@arm.com>
38833         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38834         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38835         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38836         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38837         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38838         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38839         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38840         Use _FPU_MASK_RM.
38842 2014-06-24  Wilco  <wdijkstr@arm.com>
38844         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38846 2014-06-24  Wilco  <wdijkstr@arm.com>
38848         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38849         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38850         * sysdeps/arm/fesetround.c (fesetround): Remove space.
38851         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38853 2014-06-24  Wilco  <wdijkstr@arm.com>
38855         [BZ #16918]
38856         * sysdeps/arm/feupdateenv.c (feupdateenv):
38857         Rewrite to reduce FPSCR accesses and fix return value.
38859 2014-06-24  Wilco  <wdijkstr@arm.com>
38861         * sysdeps/arm/fclrexcpt.c (feclearexcept):
38862         Optimize to avoid unnecessary FPSCR writes.
38863         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38864         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38865         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38866         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38868 2014-06-24  Wilco  <wdijkstr@arm.com>
38870         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38871         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38872         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38873         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38874         Call libc_fetestexcept_vfp.
38875         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38876         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38877         __SOFTFP__ ifdef so that they can be built for softfp.
38879 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38881         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38882         argument type signed char.
38884         * Makerules (check-abi): Dump diff of symlist if the test
38885         fails.
38887 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38889         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38890         using abort.
38892         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38893         Remove unused variable ST.
38895 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38897         [BZ #16354]
38898         [BZ #17061]
38899         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38900         small arguments before calling __expm1.
38901         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38902         small arguments before calling __expm1f.
38903         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38904         small arguments before calling __expm1l.
38905         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38906         Likewise.
38907         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38908         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38909         spurious underflow for some cosh tests.
38910         * math/auto-libm-test-out: Regenerated.
38911         * sysdeps/i386/fpu/libm-test-ulps: Update.
38913         [BZ #17050]
38914         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38915         (__ieee754_y1): Set errno if return value overflows.
38916         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38917         (__ieee754_y1f): Set errno if return value overflows.
38918         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38919         (__ieee754_y1l): Set errno if return value overflows.
38920         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38921         (__ieee754_y1l): Set errno if return value overflows.
38922         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38923         * math/auto-libm-test-out: Regenerated.
38925         * math/gen-auto-libm-tests.c: Document use of
38926         ignore-zero-inf-sign.
38927         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38928         (input_flags): Add ignore-zero-inf-sign.
38929         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38930         * math/gen-libm-test.pl (generate_testfile): Handle
38931         ignore-zero-inf-sign.
38932         * math/auto-libm-test-in: Mark some cpow tests with
38933         ignore-zero-inf-sign and some with xfail-rounding.
38934         * math/auto-libm-test-out: Regenerated.
38935         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38936         * sysdeps/i386/fpu/libm-test-ulps: Update.
38937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38939         [BZ #16315]
38940         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38941         overflowing or underflowing operations take place with sign of
38942         result.
38943         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38944         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38945         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38946         (__ieee754_pow): Recompute overflowing and underflowing results in
38947         original rounding mode.
38948         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38949         (__powl_helper): Allow negative argument X and scale negated value
38950         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38951         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38952         overflowing or underflowing operations take place with sign of
38953         result.
38954         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38955         Include <math.h>.
38956         * math/auto-libm-test-in: Add more tests of pow.
38957         * math/auto-libm-test-out: Regenerated.
38958         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38959         (pow_tonearest_test_data): Remove.
38960         (pow_test_tonearest): Likewise.
38961         (pow_towardzero_test_data): Likewise.
38962         (pow_test_towardzero): Likewise.
38963         (pow_downward_test_data): Likewise.
38964         (pow_test_downward): Likewise.
38965         (pow_upward_test_data): Likewise.
38966         (pow_test_upward): Likewise.
38967         (main): Don't call removed functions.
38968         * sysdeps/i386/fpu/libm-test-ulps: Update.
38969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38971 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38974         Moved ...
38975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38977         Moved ...
38978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38980         Moved ...
38981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38983         Moved ...
38984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38986         File removed.
38987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38988         File removed.
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38990         File removed.
38991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38992         File removed.
38993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38994         File removed.
38995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38996         File removed.
38997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38998         File removed.
38999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39000         File removed.
39001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
39002         File removed.
39003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39004         File removed.
39005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
39006         File removed.
39007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
39008         File removed.
39009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
39010         Moved ...
39011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
39012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
39013         Moved ...
39014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
39015         ... here.
39016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
39017         Moved ...
39018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
39019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
39020         Moved ...
39021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
39023         Moved ...
39024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
39025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
39026         Moved ...
39027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
39028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
39029         Moved ...
39030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
39031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
39032         Moved ...
39033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
39034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
39035         Moved ...
39036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
39037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
39038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
39039         ... here.
39040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
39041         Moved ...
39042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
39043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39044         Moved ...
39045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
39046         ... here.
39047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
39048         Moved ...
39049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
39050         ... here.
39051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39052         Moved ...
39053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39054         ... here.
39055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39056         Moved ...
39057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
39058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39059         Moved ...
39060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
39061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
39062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
39063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39064         Moved ...
39065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
39066         ... here.
39067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39068         Moved ...
39069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
39070         ... here.
39071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39072         Moved ...
39073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
39074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39075         Moved ...
39076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
39077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39078         Moved ...
39079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
39080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39081         Moved ...
39082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
39083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39084         Moved ...
39085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
39086         ... here.
39087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39088         Moved ...
39089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
39090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39091         Moved ...
39092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
39093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39094         Moved ...
39095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
39096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39097         Moved ...
39098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
39099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
39100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
39101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39102         Moved ...
39103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
39104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39105         Moved ...
39106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
39107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39108         Moved ...
39109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
39110         ... here.
39111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39112         Moved ...
39113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39114         ... here.
39115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39116         Moved ...
39117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39118         ... here.
39119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39120         Moved ...
39121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39123         Moved ...
39124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39126         Moved ...
39127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39129         Moved ...
39130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39131         ... here.
39132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39133         Moved ...
39134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39135         ... here.
39136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39137         Moved ...
39138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39139         ... here.
39140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39141         Moved ...
39142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39144         Moved ...
39145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39147 2014-06-23  Will Newton  <will.newton@linaro.org>
39148             Wilco  <wdijkstr@arm.com>
39150         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39151         implementation.  Include get-rounding-mode.h.
39152         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39153         [!libc_feholdsetround_noex_ctx]: Define
39154         libc_feholdsetround_noex_ctx.
39155         [!libc_feholdsetround_noexf_ctx]: Define
39156         libc_feholdsetround_noexf_ctx.
39157         [!libc_feholdsetround_noexl_ctx]: Define
39158         libc_feholdsetround_noexl_ctx.
39159         (libc_feholdsetround_ctx): New function.
39160         (libc_feresetround_ctx): New function.
39161         (libc_feholdsetround_noex_ctx): New function.
39162         (libc_feresetround_noex_ctx): New function.
39164 2014-06-23  Roland McGrath  <roland@hack.frob.com>
39166         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39167         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39168         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39169         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39170         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39171         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39173         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39174         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39175         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39176         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39177         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39178         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39179         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39180         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39181         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39182         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39183         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39184         Moved ...
39185         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39186         ... here.
39187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39188         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39189         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39190         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39191         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39192         Moved ...
39193         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39195         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39196         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39197         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39198         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39199         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39200         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39201         Moved ...
39202         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39204         Moved ...
39205         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39206         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39207         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39208         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39209         Moved ...
39210         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39211         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39212         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39213         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39214         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39215         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39216         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39217         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39218         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39219         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39220         Moved ...
39221         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39222         ... here.
39223         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39224         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39225         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39226         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39227         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39228         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39230         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39232         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39233         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39234         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39235         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39236         Moved ...
39237         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39238         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39239         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39240         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39241         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39242         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39243         Moved ...
39244         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39246         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39247         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39248         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39250         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39251         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39252         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39253         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39254         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39255         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39256         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39257         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39259         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39260         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39261         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39262         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39263         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39264         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39265         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39266         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39267         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39268         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39269         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39270         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39271         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39272         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39273         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39274         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39275         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39276         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39277         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39279 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
39281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39282         (FALLOC_FL_COLLAPSE_RANGE): New macro.
39283         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39284         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39285         (IPV6_PMTUDISC_INTERFACE): Likewise.
39286         (IPV6_PMTUDISC_OMIT): Likewise.
39288 2014-06-23  Andreas Schwab  <schwab@suse.de>
39290         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39291         Remove unused errout label.
39293 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39295         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39296         macro: hardware supports Vector Crypto instructions.
39298 2014-06-23  Will Newton  <will.newton@linaro.org>
39300         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39301         rather than __builtin_expect.
39303         * elf/dl-lookup.c (undefined_msg): Remove variable.
39304         (_dl_lookup_symbol_x): Replace undefined_msg with string
39305         literal.
39307         * elf/dl-lookup.c (do_lookup_unique): New function.
39308         (do_lookup_x): Move STB_GNU_UNIQUE handling code
39309         to a separate function.
39311 2014-06-23  Andreas Schwab  <schwab@suse.de>
39313         [BZ #17079]
39314         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39315         before reading the next line.
39317 2014-06-23  Will Newton  <will.newton@linaro.org>
39319         * test-skeleton.c (signal_handler): Use printf and %m
39320         rather than perror.  Use printf rather than fprintf to
39321         stderr.  Use puts rather than fputs to stderr.
39322         (main): Likewise.
39324 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
39326         * nscd/nscd.c (thread_info_t): Remove typedef.
39327         (thread_info): Remove variable.
39329 2014-06-21  Allan McRae  <allan@archlinux.org>
39331         * NEWS: Mention CVE-2014-4043.
39333 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39335         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39336         * nptl/smp.h: ... here.
39338         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39340         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39341         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39342         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39343         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39345         * nptl/allocatestack.c: Include <stack-aliasing.h>.
39346         * nptl/stack-aliasing.h: New file.
39347         * sysdeps/i386/i686/stack-aliasing.h: New file.
39348         * sysdeps/i386/i686/nptl/Makefile: File removed.
39349         * sysdeps/x86_64/stack-aliasing.h: New file.
39350         * sysdeps/x86_64/nptl/Makefile
39351         (CFLAGS-pthread_create.c): Variable removed.
39353         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39354         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39355         old file.
39356         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39357         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39358         old file.
39360 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
39362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39363         (__ASSUME_SIGFRAME_V2): Remove macro.
39364         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39365         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39366         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39367         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39368         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39369         Declare as function.  Remove conditional macro definitions.
39370         (__default_rt_sa_restorer): Likewise.
39371         (__default_sa_restorer_v1): Remove declaration.
39372         (__default_sa_restorer_v2): Likewise.
39373         (__default_rt_sa_restorer_v1): Likewise.
39374         (__default_rt_sa_restorer_v2): Likewise.
39375         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39376         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39377         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39379 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39381         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39382         (libpthread-routines): Add sysdep.
39383         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39384         * sysdeps/unix/sysv/linux/sparc/Versions
39385         (libpthread: GLIBC_2.3.3): New version set.
39386         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39387         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39388         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39389         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39390         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
39391         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39392         Moved ...
39393         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39394         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39395         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39396         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39397         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39398         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39399         * sysdeps/sparc/nptl/sem_init.c: ... here.
39400         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39401         * sysdeps/sparc/nptl/sem_post.c: ... here.
39402         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39403         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39404         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39405         * sysdeps/sparc/nptl/sem_wait.c: ... here.
39406         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39407         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39408         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39409         (libpthread-routines): Add cpu_relax.
39410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39411         File removed.
39412         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39413         (librt: GLIBC_2.3.3): New version set.
39414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39415         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39416         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39417         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39420         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39422         Moved ...
39423         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39425         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39427         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39429         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39431         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39433         Moved ...
39434         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39435         Update #include.
39436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39437         Moved ...
39438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39439         Update #include.
39440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39441         Moved ...
39442         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39443         Update #include.
39444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39445         Moved ...
39446         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39447         Update #include.
39448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39449         Moved ...
39450         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39451         Update #include.
39452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39453         Moved ...
39454         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39455         Update #include.
39456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39457         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39459         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39463         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39465         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39467         Moved ...
39468         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39470         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39472         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39474 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39476         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39477         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39478         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39479         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39480         * nscd/nscd.c: Likewise.
39481         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39482         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39483         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39484         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39486         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39487         <kernel-features.h>.
39488         (init_mq_netlink): Remove conditional have_sock_cloexec
39489         definitions.  Remove code conditional on have_sock_cloexec < 0.
39490         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39491         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39492         * sysdeps/unix/sysv/linux/opensock.c: Do not include
39493         <kernel-features.h>.
39494         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39495         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39497 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39500         Add tests for memset_chk and memset.
39502         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39503         with AVX2_Usable.
39505 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39507         [BZ #16046]
39508         * elf/tst-dl-iter-static.c: New file.
39509         * elf/Makefile (tests-static): Add tst-dl-iter-static.
39511         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39512         error.
39514 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39516         * sysdeps/unix/sysv/linux/kernel-features.h
39517         (__ASSUME_F_GETOWN_EX): Remove macro.
39518         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39519         <kernel-features.h>.
39520         (miss_F_GETOWN_EX): Remove variable or macro.
39521         (do_fcntl): Do not check miss_F_GETOWN_EX.
39522         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39525         Remove macro.
39526         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39527         [!__ASSUME_AT_RANDOM]: Remove conditional code.
39528         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39530         * sysdeps/unix/sysv/linux/kernel-features.h
39531         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39532         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39533         [ADJ_OFFSET_SS_READ]: Make code unconditional.
39534         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39536 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39538         [BZ #17075]
39539         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39540         Fix calculation of the symbol's value.
39541         * sysdeps/arm/tst-armtlsdescloc.c: New file.
39542         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39543         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39544         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39545         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39546         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39547         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39548         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39549         (modules-names): Add `tst-armtlsdescmod',
39550         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39551         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39552         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39553         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39554         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39555         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39556         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39557         ($(objpfx)tst-armtlsdescloc): New dependency.
39558         ($(objpfx)tst-armtlsdescextnow): Likewise.
39559         ($(objpfx)tst-armtlsdescextlazy): Likewise.
39560         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39561         TLS scheme support.
39562         * sysdeps/arm/configure: Regenerate.
39564 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39566         * include/fcntl.h (__atfct_seterrno): Remove prototype.
39567         (__atfct_seterrno_2): Likewise.
39568         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39569         <kernel-features.h>.
39570         (__ASSUME_ATFCTS): Do not undefine and redefine.
39571         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39572         (__have_atfcts): Remove conditional definition.
39573         (__fxstatat([__NR_fstatat64]: Make code unconditional.
39574         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39575         unreachable if [__ASSUME_ATFCTS].
39576         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39577         not undefine and redefine.
39578         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39579         <kernel-features.h>.
39580         (faccessat) [__NR_faccessat]: Make code unconditional.
39581         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39582         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39583         <kernel-features.h>.
39584         (fchmodat) [__NR_fchmodat]: Make code unconditional.
39585         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39586         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39587         <kernel-features.h>.
39588         (fchownat) [__NR_fchownat]: Make code unconditional.
39589         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39590         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39591         <kernel-features.h>.
39592         (futimesat) [__NR_futimesat]: Make code unconditional.
39593         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39594         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39595         <kernel-features.h>.
39596         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39597         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39598         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39599         <kernel-features.h>.
39600         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39601         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39602         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39603         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39604         <kernel-features.h>.
39605         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39606         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39607         * sysdeps/unix/sysv/linux/linkat.c: Do not include
39608         <kernel-features.h>.
39609         (linkat) [__NR_linkat]: Make code unconditional.
39610         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39611         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39612         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39613         <kernel-features.h>.
39614         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39615         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39616         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39617         <kernel-features.h>.
39618         (mkdirat) [__NR_mkdirat]: Make code unconditional.
39619         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39620         * sysdeps/unix/sysv/linux/openat.c: Do not include
39621         <kernel-features.h>.
39622         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39623         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39624         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39625         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39626         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39627         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39628         <kernel-features.h>.
39629         (readlinkat) [__NR_readlinkat]: Make code unconditional.
39630         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
39631         result of INLINE_SYSCALL directly, not via int variable.
39632         * sysdeps/unix/sysv/linux/renameat.c: Do not include
39633         <kernel-features.h>.
39634         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39635         (renameat) [__NR_renameat]: Make code unconditional.
39636         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39637         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39638         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39639         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39640         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39641         (__ASSUME_ATFCTS): Do not undefine and redefine.
39642         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39643         <kernel-features.h>.
39644         (symlinkat) [__NR_symlinkat]: Make code unconditional.
39645         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39646         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39647         <kernel-features.h>.
39648         (unlinkat) [__NR_unlinkat]: Make code unconditional.
39649         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39650         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39651         (__ASSUME_ATFCTS): Do not undefine and redefine.
39652         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39653         <kernel-features.h>.
39654         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39655         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39656         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39657         <kernel-features.h>.
39658         (__xmknodat) [__NR_mknodat]: Make code unconditional.
39659         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39661 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39663         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39665 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
39667         [BZ #17069]
39668         * posix/regcomp.c (parse_reg_exp): Deallocate partially
39669         constructed tree before returning error.
39670         * posix/bug-regexp36.c: Expand test case.
39672 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39674         [BZ #6803]
39675         * math/libm-test.inc (scalbln_test_date):
39676         Add errno expectations.
39677         * math/w_scalblnf.c: New File.
39678         Add wrapper which checks for setting errno to ERANGE.
39679         Add weak_alias for corresponding scalbln function.
39680         * math/w_scalbln.c: Likewise.
39681         * math/w_scalblnl.c: Likewise.
39682         * math/Makefile (libm-calls): Add w_scalbln.
39683         * sysdeps/ieee754/flt-32/s_scalblnf.c:
39684         Remove weak_alias for corresponding scalbln function.
39685         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39686         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39687         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39688         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39689         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39690         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39691         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39692         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39693         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39694         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39695         Remove long_double_symbol for scalblnl function in libm, libc.
39696         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39697         Add wrapper which checks for setting errno to ERANGE.
39698         Add long_double_symbol for scalblnl function in libm, libc.
39699         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39700         Remove long_double_symbol for scalblnl in libm.
39701         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39702         Add wrapper which checks for setting errno to ERANGE.
39703         Add long_double_symbol for scalblnl function in libm.
39704         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39705         Do not use wrapper because of own implementation.
39707 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
39709         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39710         3 bytes for __pad1 for x32.
39711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39713 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
39714             H.J. Lu  <hongjiu.lu@intel.com>
39716         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39717         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39718         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39719         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39720         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39722 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
39724         [BZ #17069]
39725         * posix/regcomp.c (parse_expression): Deallocate partially
39726         constructed tree before returning error.
39727         * posix/Makefile.c (tests): Add bug-regex36.
39728         (generated): Add bug-regex36.mtrace.
39729         (tests-special): Add $(objpfx)bug-regex36-mem.out
39730         (bug-regex36-ENV): New variable.
39731         ($(objpfx)bug-regex36-mem.out): New rule.
39732         * posix/bug-regex36.c: New file.
39734 2014-06-19  Will Newton  <will.newton@linaro.org>
39736         * malloc/malloc.c (systrim): If extra is zero then return
39737         early.
39739 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39741         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39743 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
39745         * sysdeps/aarch64/strchr.S: New file.
39747 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39749         [BZ #17022]
39750         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39751         from arguments -2 or below.
39752         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39753         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39755 2014-06-18  Andreas Schwab  <schwab@suse.de>
39757         [BZ #17062]
39758         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39759         of a bracket expr not to run off the end of the string.
39760         * posix/Makefile (tests): Add tst-fnmatch3.
39761         * posix/tst-fnmatch3.c: New file.
39763 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39765         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39766         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39767         [$(cross-compiling) = no]: Likewise.
39768         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39769         [$(cross-compiling) = no]: Likewise.
39771 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39773         [BZ #17031]
39774         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39775         double, adjusted for any remainder from the high double.
39776         * math/libm-test.inc (nearbyint): Add tests.
39777         (rint): Likewise.
39779 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39781         * nptl/sysdeps/powerpc/Makefile: Moved ...
39782         * sysdeps/powerpc/nptl/Makefile: ... here.
39783         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39784         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39785         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39786         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39787         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39788         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39789         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39790         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39791         * nptl/sysdeps/powerpc/tls.h: Moved ...
39792         * sysdeps/powerpc/nptl/tls.h: ... here.
39794 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
39796         [BZ #16681]
39797         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39798         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39799         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39800         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39801         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39802         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39803         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39804         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39805         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39807 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
39809         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39811 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
39813         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39814         defined operator.
39816         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39817         $TIMEOUTFACTOR.
39819 2014-06-16  Florian Weimer  <fweimer@redhat.com>
39821         [BZ #17058]
39822         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39823         non-executed part of the test.
39825 2014-06-16  Andreas Schwab  <schwab@suse.de>
39827         * string/bits/string2.h (strdup, strndup): Update feature guard.
39829 2014-06-14  David S. Miller  <davem@davemloft.net>
39831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39833 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
39835         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39836         that was previously under [RESET_PID].
39837         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39839         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39840         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39841         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39842         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39843         (__libc_vfork): New strong alias.
39844         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39846 2014-06-14 Andi Kleen  <ak@linux.intel.com>
39848         * sysdeps/generic/elide.h: New file.
39850 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39852         * Makefile (installed-headers): Adjust path of pthread.h header.
39854 2014-06-13  Roland McGrath  <roland@hack.frob.com>
39856         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39857         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39858         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39859         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39861         * nptl/sysdeps/s390/Makefile: Moved ...
39862         * sysdeps/s390/nptl/Makefile: ... here.
39863         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39864         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39865         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39866         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39867         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39868         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39869         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39870         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39871         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39872         * sysdeps/s390/nptl/pthreaddef.h: ... here.
39873         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39874         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39875         * nptl/sysdeps/s390/tls.h: Moved ...
39876         * sysdeps/s390/nptl/tls.h: ... here.
39878         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39879         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39881 2014-06-13  David S. Miller  <davem@davemloft.net>
39883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39886         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39890         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39891         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39892         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39893         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39894         Remove RESET_PID cpp guards.
39895         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39896         Remove RESET_PID cpp guards.
39897         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39899 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39901         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39902         __sp to uintptr_t.
39904 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39906         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39907         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39908         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39909         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39910         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39911         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39912         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39913         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39914         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39915         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39916         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39917         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39918         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39919         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39920         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39921         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39922         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39923         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39924         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39925         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39927         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39928         (pthread_rwlock_rdlock): Add elision.
39929         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39930         (pthread_rwlock_wrlock): Add elision.
39931         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39932         (pthread_rwlock_trywrlock): Add elision.
39933         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39934         (pthread_rwlock_tryrdlock): Add elision.
39935         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39936         (pthread_rwlock_tryrdlock): Add elision unlock.
39937         * nptl/sysdeps/pthread/pthread.h:
39938         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39939         (PTHREAD_RWLOCK_INITIALIZER,
39940         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39941         Handle new elision field.
39942         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39943         * sysdeps/arm/nptl/bits/pthreadtypes.h
39944         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39945         * sysdeps/sh/nptl/bits/pthreadtypes.h
39946         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39947         * sysdeps/tile/nptl/bits/pthreadtypes.h
39948         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39949         * sysdeps/a/nptl/bits/pthreadtypes.h
39950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39951         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39952         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39953         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39954         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39955         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39956         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39957         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39959         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39960         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39961         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39963         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39965         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39966         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39967         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39968         (elision_init): Set try_xbegin to zero when no RTM.
39969         * sysdeps/x86/nptl/bits/pthreadtypes.h
39970         (pthread_rwlock_t): Change __pad1 to __rwelision.
39971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39973 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39975         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39976         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39977         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39978         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39980 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39982         [BZ #16996]
39983         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39984         that the cached result has been set before returning it.
39986 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39988         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39989         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39990         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39991         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39992         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39993         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39995         * nptl/sysdeps/sparc/Makefile: Moved ...
39996         * sysdeps/sparc/nptl/Makefile: ... here.
39997         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39998         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39999         * nptl/sysdeps/sparc/tls.h: Moved ...
40000         * sysdeps/sparc/nptl/tls.h: ... here.
40001         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
40002         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
40003         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
40004         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
40005         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
40006         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
40007         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
40008         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
40009         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
40010         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
40011         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
40012         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
40013         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
40014         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
40015         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
40016         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
40017         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
40018         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
40019         Update #include.
40020         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
40021         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
40022         Update #include.
40023         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
40024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
40025         Update #include.
40026         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
40027         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
40028         Update #include.
40030         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40032         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
40033         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
40035         * sysdeps/pthread/posix-timer.h: Include <list.h>.
40036         (struct list_links): Type removed.
40037         (struct thread_node, struct timer_node): Replace struct list_links
40038         with struct list_head.
40039         (list_unlink_ip): Likewise.
40040         * sysdeps/pthread/timer_routines.c
40041         (timer_free_list, thread_free_list, thread_active_list): Likewise.
40042         (list_append, list_insbefore): Likewise.
40043         (list_init): Function removed.
40044         (thread_init, init_module): Use INIT_LIST_HEAD instead.
40045         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
40046         * sysdeps/pthread/Makefile: ... here, new file.
40048         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
40049         * sysdeps/nptl/Implies: ... here.
40050         * sysdeps/unix/sysv/linux/Implies: Add nptl.
40051         * nptl/sysdeps/pthread/list.h: Moved ...
40052         * include/list.h: ... here.
40053         * nptl/sysdeps/pthread/createthread.c: Moved ...
40054         * nptl/createthread.c: ... here.
40055         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
40056         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
40057         * nptl/pt-longjmp.c: ... here.
40058         * nptl/sysdeps/pthread/Makefile: Moved ...
40059         * sysdeps/nptl/Makefile: ... here.
40060         * nptl/sysdeps/pthread/Subdirs: Moved ...
40061         * sysdeps/nptl/Subdirs: ... here.
40062         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
40063         * sysdeps/nptl/aio_misc.h: ... here.
40064         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
40065         * sysdeps/nptl/bits/libc-lock.h: ... here.
40066         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
40067         * sysdeps/nptl/bits/libc-lockP.h: ... here.
40068         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
40069         * sysdeps/nptl/bits/stdio-lock.h: ... here.
40070         * nptl/sysdeps/pthread/configure: Moved ...
40071         * sysdeps/nptl/configure: ... here.
40072         * nptl/sysdeps/pthread/configure.ac: Moved ...
40073         * sysdeps/nptl/configure.ac: ... here.
40074         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
40075         * sysdeps/nptl/gai_misc.h: ... here.
40076         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
40077         * sysdeps/nptl/librt-cancellation.c: ... here.
40078         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
40079         * sysdeps/nptl/malloc-machine.h: ... here.
40080         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
40081         * sysdeps/nptl/pthread-functions.h: ... here.
40082         * nptl/sysdeps/pthread/pthread.h: Moved ...
40083         * sysdeps/nptl/pthread.h: ... here.
40084         * nptl/sysdeps/pthread/setxid.h: Moved ...
40085         * sysdeps/nptl/setxid.h: ... here.
40086         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
40087         * sysdeps/nptl/sigfillset.c: ... here.
40088         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
40089         * sysdeps/nptl/tcb-offsets.h: ... here.
40090         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
40091         * sysdeps/nptl/tst-mqueue8x.c: ... here.
40092         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
40093         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
40094         * nptl/sysdeps/pthread/allocalim.h: Moved ...
40095         * sysdeps/pthread/allocalim.h: ... here.
40096         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
40097         * sysdeps/pthread/bits/sigthread.h: ... here.
40098         * nptl/sysdeps/pthread/flockfile.c: Moved ...
40099         * sysdeps/pthread/flockfile.c: ... here.
40100         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
40101         * sysdeps/pthread/ftrylockfile.c: ... here.
40102         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
40103         * sysdeps/pthread/funlockfile.c: ... here.
40104         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
40105         * sysdeps/pthread/posix-timer.h: ... here.
40106         * nptl/sysdeps/pthread/timer_create.c: Moved ...
40107         * sysdeps/pthread/timer_create.c: ... here.
40108         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
40109         * sysdeps/pthread/timer_delete.c: ... here.
40110         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
40111         * sysdeps/pthread/timer_getoverr.c: ... here.
40112         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
40113         * sysdeps/pthread/timer_gettime.c: ... here.
40114         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40115         * sysdeps/pthread/timer_routines.c: ... here.
40116         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40117         * sysdeps/pthread/timer_settime.c: ... here.
40118         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40119         * sysdeps/pthread/tst-timer.c: ... here.
40120         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40121         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40123         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40124         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40126         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40127         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40128         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40129         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40130         Update #include target.
40131         * nptl/sysdeps/i386/i686/Makefile: Moved ...
40132         * sysdeps/i386/i686/nptl/Makefile: ... here.
40133         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40134         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40135         Update #include target.
40136         * nptl/sysdeps/i386/i686/tls.h: Moved ...
40137         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
40138         * nptl/sysdeps/i386/Makefile: Moved ...
40139         * sysdeps/i386/nptl/Makefile: ... here.
40140         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40141         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40142         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40143         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40144         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40145         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40146         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40147         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40148         * sysdeps/i386/nptl/pthreaddef.h: ... here.
40149         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40150         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40151         * nptl/sysdeps/i386/tls.h: Moved ...
40152         * sysdeps/i386/nptl/tls.h: ... here.
40154         * sysdeps/sh/Makefile [$(subdir) = csu]
40155         (gen-as-const-headers): Add tcb-offsets.sym.
40156         * nptl/sysdeps/sh/Makefile: File removed.
40157         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40158         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40159         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40160         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40161         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40162         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40163         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40164         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40165         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40166         * sysdeps/sh/nptl/pthreaddef.h: ... here.
40167         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40168         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40169         * nptl/sysdeps/sh/tls.h: Moved ...
40170         * sysdeps/sh/nptl/tls.h: ... here.
40171         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40172         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40173         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40174         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40175         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40176         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40177         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40178         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40179         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40180         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40181         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40182         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40183         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40184         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40185         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40186         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40187         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40188         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40189         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40190         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40191         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40192         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40193         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40194         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40195         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40196         Moved ...
40197         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40198         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40199         Moved ...
40200         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40201         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40202         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40203         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40204         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40205         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40206         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40207         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40208         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40209         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40210         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40211         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40212         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40213         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40214         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40215         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40216         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40217         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40218         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40220 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40222         * posix/spawn_faction_addopen.c: Include string.h.
40224 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40226         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40227         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40228         * nptl/sysdeps/x86_64/Makefile: Moved ...
40229         * sysdeps/x86_64/nptl/Makefile: ... here.
40230         * nptl/sysdeps/x86_64/configure: Moved ...
40231         * sysdeps/x86_64/nptl/configure: ... here.
40232         * nptl/sysdeps/x86_64/configure.ac: Moved ...
40233         * sysdeps/x86_64/nptl/configure.ac: ... here.
40234         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40235         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40236         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40237         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40238         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40239         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40240         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40241         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40242         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40243         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40244         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40245         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40246         * nptl/sysdeps/x86_64/tls.h: Moved ...
40247         * sysdeps/x86_64/nptl/tls.h: ... here.
40248         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40249         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40250         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40251         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40253         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40255 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40259 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
40261         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40262         type.
40263         [POSIX] (off_t): Likewise.
40264         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40265         [POSIX] (S_ISBLK): Require macro.
40266         [POSIX] (S_ISCHR): Likewise.
40267         [POSIX] (S_ISDIR): Likewise.
40268         [POSIX] (S_ISFIFO): Likewise.
40269         [POSIX] (S_ISREG): Likewise.
40270         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40271         optional-macro.
40272         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40273         type.
40274         [POSIX] (time_t): Likewise.
40275         [POSIX] (timer_t): Likewise.
40277 2014-06-11  Florian Weimer  <fweimer@redhat.com>
40279         [BZ #17048]
40280         * posix/spawn_int.h (struct __spawn_action): Make the path string
40281         non-const to support deallocation.
40282         * posix/spawn_faction_addopen.c
40283         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40284         * posix/spawn_faction_destroy.c
40285         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
40286         path in all spawn_do_open actions.
40287         * posix/tst-spawn.c (do_test): Exercise the copy operation in
40288         posix_spawn_file_actions_addopen.
40290 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
40292         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40293         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40294         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40295         conditional code always true.
40296         (__libc_vfork): New alias.
40298 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40300         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40301         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40303         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40305         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40306         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40308         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40309         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40311         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40312         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40314 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40316         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40317         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40318         multiarch strcmp for PPC64.
40319         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40320         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40322         multiarch optimizations.
40323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40324         (__libc_ifunc_impl_list): Likewise.
40326 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40328         * benchtests/scripts/validate_benchout.py: New script.
40329         * benchtests/Makefile (bench-func): Call it.
40330         * benchtests/scripts/benchout.schema.json: New file.
40332 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
40334         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40335         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40336         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40337         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40338         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40339         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40340         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40341         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40342         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40343         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40344         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40345         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40346         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40347         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40348         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40349         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40351         Moved ...
40352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40353         ... here.
40354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40355         Moved ...
40356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40358         Moved ...
40359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40360         ... here.
40361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40362         Moved ...
40363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40364         ... here.
40365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40366         Moved ...
40367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40369         Moved ...
40370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40371         ... here.
40372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40373         Moved ...
40374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40375         ... here.
40376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40377         Moved ...
40378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40380         Moved ...
40381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40382         ... here.
40383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40384         Moved ...
40385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40386         ... here.
40387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40388         Moved ...
40389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40390         ... here.
40391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40392         Moved ...
40393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40395         Moved ...
40396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40397         ... here.
40398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40399         Moved ...
40400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40401         ... here.
40402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40403         Moved ...
40404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40405         ... here.
40406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40407         Moved ...
40408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40410         Moved ...
40411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40412         ... here.
40413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40414         Moved ...
40415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40416         ... here.
40417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40418         Moved ...
40419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40421         Moved ...
40422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40423         ... here.
40424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40425         Moved ...
40426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40428         Moved ...
40429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40431         Moved ...
40432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40433         ... here.
40434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40435         Moved ...
40436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40437         ... here.
40438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40439         Moved ...
40440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40441         ... here.
40442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40443         Moved ...
40444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40446         Moved ...
40447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40448         ... here.
40449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40450         Moved ...
40451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40452         ... here.
40453         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40454         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40455         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40456         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40458         Moved ...
40459         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40460         ... here.
40461         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40462         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40463         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40464         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40465         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40466         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40468         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40469         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40470         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40471         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40472         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40473         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40474         Moved ...
40475         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40477         Moved ...
40478         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40479         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40480         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40481         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40482         Moved ...
40483         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40485         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40486         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40487         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40488         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40489         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40491 2014-06-10  Wilco  <wdijkstr@arm.com>
40493         * math/test-fenv-return.c: New file.
40494         * math/Makefile: Add new test test-fenv-return.
40496 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
40498         [BZ #17042]
40499         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40500         when x - 1 is zero.
40501         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40502         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40503         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40504         0.0L for an argument of 1.0L.
40505         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40506         Likewise.
40507         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40508         value when x - 1 is zero.
40509         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40510         * sysdeps/i386/fpu/libm-test-ulps: Update.
40511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40513 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
40515         [BZ #15119]
40516         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40518 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40520         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40521         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40523 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40525         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40526         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40528         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40529         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40531         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40532         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40534         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40535         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40537         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40538         if not already defined.
40539         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40540         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40541         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40542         (TLS_INIT_TP): Use it.
40543         (TLS_DEFINE_INIT_TP): New macro.
40544         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40546 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
40548         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40549         constant.
40550         [POSIX] (IXANY): Likewise.
40551         [POSIX] (OLCUC): Likewise.
40552         [POSIX || POSIX2008] (CBAUD): Do not allow.
40553         [POSIX || POSIX2008] (DEFECHO): Likewise.
40554         [POSIX || POSIX2008] (ECHOCTL): Likewise.
40555         [POSIX || POSIX2008] (ECHOKE): Likewise.
40556         [POSIX || POSIX2008] (ECHOPRT): Likewise.
40557         [POSIX || POSIX2008] (EXTA): Likewise.
40558         [POSIX || POSIX2008] (EXTB): Likewise.
40559         [POSIX || POSIX2008] (FLUSHO): Likewise.
40560         [POSIX || POSIX2008] (LOBLK): Likewise.
40561         [POSIX || POSIX2008] (PENDIN): Likewise.
40562         [POSIX || POSIX2008] (SWTCH): Likewise.
40563         [POSIX || POSIX2008] (VDISCARD): Likewise.
40564         [POSIX || POSIX2008] (VDSUSP): Likewise.
40565         [POSIX || POSIX2008] (VLNEXT): Likewise.
40566         [POSIX || POSIX2008] (VREPRINT): Likewise.
40567         [POSIX || POSIX2008] (VSTATUS): Likewise.
40568         [POSIX || POSIX2008] (VWERASE): Likewise.
40569         (B*): Change to B[0123456789]*.
40570         * conform/data/time.h-data [POSIX || UNIX98]
40571         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40572         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40573         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40574         [POSIX] (tm_*): Do not allow.
40576 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
40578         * Makefile (install): Don't set LANGUAGE.
40579         * Makefile.in (install): Likewise.
40580         * assert/Makefile (test-assert-ENV): Remove variable.
40581         (test-assert-perr-ENV): Likewise.
40582         * elf/Makefile (neededtest4-ENV): Likewise.
40583         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40584         [$(cross-compiling) = no]: Don't set LANGUAGE.
40585         * io/ftwtest-sh (LANG): Remove variable.
40586         * libio/Makefile (tst-widetext-ENV): Likewise.
40587         * manual/install.texi (Running make install): Don't refer to
40588         environment settings for make install.
40589         * INSTALL: Regenerated.
40590         * nptl/tst-tls6.sh: Don't set LANG.
40591         * posix/globtest.sh (LANG): Remove variable.
40592         * string/Makefile (tester-ENV): Likewise.
40593         (inl-tester-ENV): Likewise.
40594         (noinl-tester-ENV): Likewise.
40595         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40596         [$(cross-compiling) = no]: Don't set LANGUAGE.
40597         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40598         without explicit environment settings.
40600 2014-06-06  Roland McGrath  <roland@hack.frob.com>
40602         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40603         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40604         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40605         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40607 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
40609         * crypt/crypt-private.h [DOS]: Add some includes taken from the
40610         other files in the crypt directory.
40611         * crypt/crypt.c: Remove duplicate includes.
40612         * crypt/crypt-entry.c: Likewise.
40613         * crypt/crypt_util.c: Likewise.
40615 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
40617         * Makeconfig (run-program-env): New variable.
40618         (run-program-prefix-before-env): Likewise.
40619         (run-program-prefix-after-env): Likewise.
40620         (run-program-prefix): Define in terms of new variables.
40621         (built-program-cmd-before-env): New variable.
40622         (built-program-cmd-after-env): Likewise.
40623         (built-program-cmd): Define in terms of new variables.
40624         (test-program-prefix-before-env): New variable.
40625         (test-program-prefix-after-env): Likewise.
40626         (test-program-prefix): Define in terms of new variables.
40627         (test-program-cmd-before-env): New variable.
40628         (test-program-cmd-after-env): Likewise.
40629         (test-program-cmd): Define in terms of new variables.
40630         * Rules (make-test-out): Use $(run-program-env).
40631         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40632         (help): Do not mention environment variables.  Mention
40633         --timeoutfactor option.
40634         (timeoutfactor): New variable.
40635         (blacklist_exports): Remove function.
40636         (exports): Remove variable.
40637         (command): Do not include ${exports}.
40638         * manual/install.texi (Configuring and compiling): Do not mention
40639         test wrappers preserving environment variables.  Mention that last
40640         assignment to a variable must take precedence.
40641         * INSTALL: Regenerated.
40642         * benchtests/Makefile (run-bench): Use $(run-program-env).
40643         * catgets/Makefile ($(objpfx)test1.cat): Use
40644         $(built-program-cmd-before-env), $(run-program-env) and
40645         $(built-program-cmd-after-env).
40646         ($(objpfx)test2.cat): Do not specify environment variables
40647         explicitly.
40648         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40649         $(run-program-env) and $(built-program-cmd-after-env).
40650         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40651         $(run-program-env) and $(test-program-cmd-after-env).
40652         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40653         explicitly.
40654         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40655         run_program_env and test_program_cmd_after_env arguments.
40656         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40657         * elf/tst-pathopt.sh: Use run_program_env argument.
40658         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40659         $(test-wrapper-env) and $(run-program-env).
40660         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40661         run_program_env arguments.
40662         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40663         * intl/Makefile ($(objpfx)tst-gettext.out): Use
40664         $(test-program-prefix-before-env), $(run-program-env) and
40665         $(test-program-prefix-after-env).
40666         ($(objpfx)tst-gettext2.out): Likewise.
40667         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40668         run_program_env and test_program_prefix_after_env arguments.
40669         * intl/tst-gettext2.sh: Likewise.
40670         * intl/tst-gettext4.sh: Do not set environment variables
40671         explicitly.
40672         * intl/tst-gettext6.sh: Likewise.
40673         * intl/tst-translit.sh: Likewise.
40674         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40675         $(test-program-prefix-before-env), $(run-program-env) and
40676         $(test-program-prefix-after-env).
40677         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40678         run_program_env and test_program_prefix_after_env arguments.
40679         * math/Makefile (run-regen-ulps): Use $(run-program-env).
40680         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40681         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
40682         explicitly with each use of ${test_wrapper_env}.
40683         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40684         $(test-program-prefix-before-env), $(run-program-env) and
40685         $(test-program-prefix-after-env).
40686         * posix/tst-getconf.sh: Do not set environment variables
40687         explicitly.
40688         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40689         run_program_env and test_program_prefix_after_env arguments.
40690         * stdio-common/tst-printf.sh: Do not set environment variables
40691         explicitly.
40692         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40693         $(test-program-prefix-before-env), $(run-program-env) and
40694         $(test-program-prefix-after-env).
40695         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40696         run_program_env and test_program_prefix_after_env arguments.
40697         Split $test calls into $test_pre and $test.
40698         * timezone/Makefile (build-testdata): Use
40699         $(built-program-cmd-before-env), $(run-program-env) and
40700         $(built-program-cmd-after-env).
40702 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40704         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40705         strlen for non SHARED builds.
40707 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40709         * nptl/allocatestack.c (check_list): Inlined function...
40710         (__reclaim_stacks): ... here.
40712 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40714         [BZ #15698]
40715         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40716         memory overrun.
40718 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
40720         * Rules (make-test-out): Include
40721         LOCPATH=$(common-objpfx)localedata in default environment.
40722         * debug/Makefile (tst-chk1-ENV): Remove variable.
40723         (tst-chk2-ENV): Likewise.
40724         (tst-chk3-ENV): Likewise.
40725         (tst-chk4-ENV): Likewise.
40726         (tst-chk5-ENV): Likewise.
40727         (tst-chk6-ENV): Likewise.
40728         (tst-lfschk1-ENV): Likewise.
40729         (tst-lfschk2-ENV): Likewise.
40730         (tst-lfschk3-ENV): Likewise.
40731         (tst-lfschk4-ENV): Likewise.
40732         (tst-lfschk5-ENV): Likewise.
40733         (tst-lfschk6-ENV): Likewise.
40734         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40735         (tst-iconv7-ENV): Likewise.
40736         * intl/Makefile (LOCPATH-ENV): Likewise.
40737         (tst-codeset-ENV): Likewise.
40738         (tst-gettext3-ENV): Likewise.
40739         (tst-gettext5-ENV): Likewise.
40740         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40741         (tst-fopenloc-ENV): Likewise.
40742         (tst-fgetws-ENV): Remove variable.
40743         (tst-ungetwc1-ENV): Likewise.
40744         (tst-ungetwc2-ENV): Likewise.
40745         (bug-ungetwc2-ENV): Likewise.
40746         (tst-swscanf-ENV): Likewise.
40747         (bug-ftell-ENV): Likewise.
40748         (tst-fgetwc-ENV): Likewise.
40749         (tst-fseek-ENV): Likewise.
40750         (tst-ftell-partial-wide-ENV): Likewise.
40751         (tst-ftell-active-handler-ENV): Likewise.
40752         (tst-ftell-append-ENV): Likewise.
40753         * posix/Makefile (tst-fnmatch-ENV): Likewise.
40754         (tst-regexloc-ENV): Likewise.
40755         (bug-regex1-ENV): Likewise.
40756         (tst-regex-ENV): Likewise.
40757         (tst-regex2-ENV): Likewise.
40758         (bug-regex5-ENV): Likewise.
40759         (bug-regex6-ENV): Likewise.
40760         (bug-regex17-ENV): Likewise.
40761         (bug-regex18-ENV): Likewise.
40762         (bug-regex19-ENV): Likewise.
40763         (bug-regex20-ENV): Likewise.
40764         (bug-regex22-ENV): Likewise.
40765         (bug-regex23-ENV): Likewise.
40766         (bug-regex25-ENV): Likewise.
40767         (bug-regex26-ENV): Likewise.
40768         (bug-regex30-ENV): Likewise.
40769         (bug-regex32-ENV): Likewise.
40770         (bug-regex33-ENV): Likewise.
40771         (bug-regex34-ENV): Likewise.
40772         (bug-regex35-ENV): Likewise.
40773         (tst-rxspencer-ENV): Likewise.
40774         (tst-rxspencer-no-utf8-ENV): Likewise.
40775         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40776         (tst-sscanf-ENV): Likewise.
40777         (tst-swprintf-ENV): Likewise.
40778         (tst-swscanf-ENV): Likewise.
40779         (test-vfprintf-ENV): Likewise.
40780         (scanf13-ENV): Likewise.
40781         (bug14-ENV): Likewise.
40782         (tst-grouping-ENV): Likewise.
40783         * stdlib/Makefile (tst-strtod-ENV): Likewise.
40784         (tst-strtod3-ENV): Likewise.
40785         (tst-strtod4-ENV): Likewise.
40786         (tst-strtod5-ENV): Likewise.
40787         (testmb2-ENV): Likewise./
40788         * string/Makefile (tst-strxfrm-ENV): Likewise.
40789         (tst-strxfrm2-ENV): Likewise.
40790         (bug-strcoll1-ENV): Likewise.
40791         (test-strcasecmp-ENV): Likewise.
40792         (test-strncasecmp-ENV): Likewise.
40793         * time/Makefile (tst-strptime-ENV): Likewise.
40794         (tst-ftime_l-ENV): Likewise.
40795         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40796         (tst-mbrtowc-ENV): Likewise.
40797         (tst-wcrtomb-ENV): Likewise.
40798         (tst-mbrtowc2-ENV): Likewise.
40799         (tst-c16c32-1-ENV): Likewise.
40800         (tst-mbsnrtowcs-ENV): Likewise.
40802 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40804         * manual/resource.texi (How to get information about the memory
40805         subsystem?): Fix typo.
40806         Reported by Peon de la Parra Ivan <peon@keba.com>
40808 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
40810         [BZ #16882]
40811         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40812         (pthread_spin_lock): Branch out of spin loop to proper location.
40813         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40814         (pthread_spin_lock): Likewise.
40816         * nptl/tst-spin4.c: New test.
40817         * nptl/Makefile (tests): Add tst-spin4.
40819 2014-06-03  Andreas Schwab  <schwab@suse.de>
40821         [BZ #15946]
40822         * resolv/res_send.c (send_dg): Reload file descriptor after
40823         calling reopen.
40825 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
40827         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40829 2014-06-03  Richard Henderson  <rth@redhat.com>
40831         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40832         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40833         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40834         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
40835         in the SAVE_PID block.
40836         (__libc_vfork): New alias.
40837         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40839         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40840         child in registers, not on the stack.  Remove RESET_PID conditionals.
40841         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40843 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40845         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40847 2014-06-03  Wilco  <wdijkstr@arm.com>
40849         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40850         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40851         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40852         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40853         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40854         Likewise.
40856 2014-06-03  Wilco  <wdijkstr@arm.com>
40858         * sysdeps/aarch64/fpu/math_private.h
40859         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40860         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40861         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40862         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40863         Fix declarations.
40865 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40867         * crypt/crypt-private.h: Include ufc-crypt.h.
40868         (__b64_from_24bit): Declare extern.
40869         * crypt/crypt_util.c(__b64_from_24bit): New function.
40870         (b64t): New static const variable.
40871         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40872         (b64t): Remove variable.
40873         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40874         * crypt/sha256-crypt.c: Include crypt-private.h.
40875         (b64t): Remove variable.
40876         (__sha256_crypt_r): Remove b64_from_24bit and replace
40877         with __b64_from_24bit.
40878         * crypt/sha512-crypt.c: Likewise.
40880 2014-06-02  Roland McGrath  <roland@hack.frob.com>
40882         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40883         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40884         Label the code __libc_vfork rather than __vfork.
40885         [!NOT_IN_libc] (vfork): Define as weak alias.
40886         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40887         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40888         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40890 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40892         * malloc/malloc.c (malloc_info): Fix format specifier for
40893         n_mmaps.
40895 2014-06-02  Wilco  <wdijkstr@arm.com>
40897         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40898         FPCR write.
40900 2014-06-02  Wilco  <wdijkstr@arm.com>
40902         [BZ #17009]
40903         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40904         Rewrite to reduce FPCR/FPSR accesses.
40906 2014-06-01  David S. Miller  <davem@davemloft.net>
40908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40910 2014-05-31  David S. Miller  <davem@davemloft.net>
40912         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40913         to occur in round to nearest mode when |x| >= 2.0
40915 2014-05-30  Richard Henderson  <rth@twiddle.net>
40917         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40918         (PSEUDO_RET_NOERRNO): Remove.
40919         (ret): Don't redefine.
40920         (ret_NOERRNO): Define in terms of ret.
40921         (ret_ERRVAL): Likewise.
40923         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40924         use of PSEUDO_RET; perform the error check directly.
40926 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40928         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40929         with __int128_t.
40931 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40933         * malloc/malloc (malloc_info): Fix formatting.
40935 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40936             Roland McGrath  <roland@hack.frob.com>
40938         * malloc/malloc (malloc_info): Also print mmapped statistics.
40940 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40942         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40943         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40945 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40947         * malloc/malloc.c (malloc_info): Inline mi_arena.
40949 2014-05-29  Richard Henderson  <rth@twiddle.net>
40951         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40952         Remove comma before expanding ASM_ARGS_##nr.
40953         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40954         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40955         of ASM_ARGS_##nr.
40956         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40957         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40958         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40959         (ASM_ARGS_1): Add leading comma.
40961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40962         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40963         to __errno_location.
40964         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40965         Remove the expected plt for __errno_location.
40967         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40968         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40969         call to __read_tp.
40971         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40972         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40973         it and break it down.
40974         (DOCARGS_0, DOCARGS_1): Do nothing.
40975         (DOCARGS_2): Update to store into the new stack frame.
40976         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40977         (UNDOCARGS_1): Update to restore from the new stack frame.
40978         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40979         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40981         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40982         (SINGLE_THREAD_P): New parameter for result regno.
40983         (PSEUDO): Update to match; use cbz instead of beq.
40985         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40986         Use ENTRY to define the _nocancel entry point.  Share the syscall
40987         and syscall error check paths with the cancel path.
40988         (PSEUDO_END): New.
40990         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40991         whitespace; tabs before and after asm mnemonics.
40993 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40995         [BZ #15132]
40996         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40997         Call fstat64 or stat64 internally, depending on arguments passed.
40998         Replace stat buffer argument with file descriptor argument.
40999         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
41000         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41001         Pass fd to __internal_statvfs instead of calling fstat64.
41002         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
41003         Pass fd to __internal_statvfs64 instead of calling fstat64.
41004         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
41005         Pass -1 to __internal_statvfs instead of calling stat64.
41006         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
41007         Pass -1 to __internal_statvfs64 instead of calling stat64.
41009 2014-05-28  Roland McGrath  <roland@hack.frob.com>
41011         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
41012         that was previously under [RESET_PID].
41013         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
41015         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
41016         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
41018 2014-05-27  Roland McGrath  <roland@hack.frob.com>
41020         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
41022         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
41023         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
41025 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
41027         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
41029 2014-05-27  Andreas Schwab  <schwab@suse.de>
41031         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
41032         TLS_INIT_TP macro.
41033         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
41034         * elf/rtld.c (init_tls, dl_main): Likewise.
41035         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
41036         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
41037         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
41038         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
41039         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
41040         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
41041         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
41042         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
41043         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
41044         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
41045         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
41046         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
41047         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
41048         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
41049         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
41050         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
41051         * sysdeps/generic/tls.h: Update description.
41053 2014-05-27  Will Newton  <will.newton@linaro.org>
41055         [BZ #16990]
41056         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
41057         and restore r2 rather than just restoring.
41059 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41061         [BZ #16724]
41062         * libio/tst-ftell-append.c: New test case.
41063         * libio/Makefile (tests): Add test case.
41064         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
41065         append mode.
41066         * libio/wfileops.c (do_ftell_wide): Likewise.
41068 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41072         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
41073         ...
41074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
41075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41076         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
41077         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
41078         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
41079         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
41080         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
41081         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
41082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41083         Moved ...
41084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
41085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41086         Moved ...
41087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
41088         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
41089         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
41090         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
41091         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
41092         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
41093         ...
41094         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
41095         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
41096         Moved ...
41097         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
41098         here.
41099         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
41100         ...
41101         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
41102         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
41103         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
41105         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
41106         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
41107         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
41108         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
41110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
41111         merge into ...
41112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
41113         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41114         ...
41115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41117         ...
41118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41120         Moved ...
41121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41122         here.
41123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41124         Moved ...
41125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41127         Moved ...
41128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41131         conditional [RESET_PID].
41132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41134         removed.
41135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41136         removed.
41138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41139         <tcb-offsets.h>.
41140         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41141         (__libc_vfork): New strong alias.
41142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41143         removed.
41144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41145         Removed.
41147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41148         <tcb-offsets.h>.
41149         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41150         (__libc_vfork): New strong alias.
41151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41152         removed.
41153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41154         removed.
41156 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
41158         * malloc/malloc.c (mi_arena): New function.
41159         (malloc_info): Remove nested function mi_arena. Call non-nosted
41160         function mi_arena.
41162 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41164         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41165         by insrwi.
41166         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41167         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41168         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41169         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41170         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41171         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41172         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41174 2014-05-26  Andreas Schwab  <schwab@suse.de>
41176         [BZ #16984]
41177         * locale/programs/repertoire.c (repertoire_read): Add slash
41178         between I18NPATH element and file name.
41179         * locale/programs/locfile.c (locfile_read): Likewise.
41181 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41183         * nptl/pthread_mutexattr_settype.c
41184         (__pthread_mutexattr_settype):
41185         Disable lock elision for PTHREAD_MUTEX_NORMAL.
41187 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41189         * nptl/tst-mutex5 (do_test):
41190         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41192 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41194         * benchtests/README: Document 'init' directive.
41195         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41196         BENCH_INIT.
41197         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41198         (parse_file): Recognize 'init' directive.
41200 2014-05-26  Kyle McMartin  <kyle@redhat.com>
41202         [BZ #16796]
41203         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41204         alignment of struct pthread.
41206 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41208         [BZ #16878]
41209         * nscd/netgroupcache.c (addgetnetgrentX): Look for
41210         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41211         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41212         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41214 2014-05-25  Richard Henderson  <rth@twiddle.net>
41216         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41217         (SINGLE_THREAD_P_PIC): Remove.
41218         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41219         (SINGLE_THREAD_P_PIC): Remove.
41221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41222         branch to syscall error ...
41223         (PSEUDO): ... here.
41224         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41225         from __local_syscall_error to .Lsyscall_error.
41226         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41227         (SYSCALL_ERROR): Update label name.
41229         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41230         Do not use DOARGS/UNDOARGS.
41231         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41232         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41233         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41234         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41235         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41237         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41238         block comment.
41240         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41241         define if !NOT_IN_libc.
41242         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41243         define with non-default symbol versions.
41245 2014-05-23  Richard Henderson  <rth@twiddle.net>
41247         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41248         (vfork, __vfork): Define via compat_symbol.
41250         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41251         [!HAVE_IFUNC] (vfork_compat): Remove.
41252         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41254 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41256         [BZ #16978]
41257         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41258         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41259         variable.
41261 2014-05-23  Richard Henderson  <rth@twiddle.net>
41263         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41264         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41265         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41266         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41268         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41269         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41270         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41271         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41272         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41273         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41274         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41275         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41276         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41277         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41278         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41279         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41280         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41281         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41282         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41283         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41284         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41285         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41286         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41287         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41288         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41289         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41290         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41291         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41292         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41293         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41294         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41295         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41296         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41297         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41298         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41299         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41300         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41301         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41302         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41303         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41304         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41305         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41306         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41307         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41308         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41309         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41310         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41311         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41312         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41313         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41314         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41315         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41316         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41317         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41318         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41319         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41320         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41321         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41322         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41323         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41325         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41326         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41327         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
41328         before exiting on error.
41329         (__libc_vfork): New strong alias.
41330         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41331         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41333         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41334         that was previously under [RESET_PID].
41335         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41337         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41339 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41341         [BZ #16977]
41342         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41343         value when x - 1 is zero.
41344         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41345         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41346         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41347         0.0L for an argument of 1.0L.
41348         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41349         Likewise.
41350         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41351         value when x - 1 is zero.
41352         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41353         * sysdeps/i386/fpu/libm-test-ulps: Update.
41354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41356 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41358         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41359         alphasort and versionsort.
41361 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41363         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41364         macro.
41365         [copysignf]: Likewise.
41367 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41369         * crypt/md5-crypt.c: Fix formatting.
41371 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41373         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41374         (b64_from_24bit): New function.
41376 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41378         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41379         libc_hidden_builtin_def to ifunc.
41380         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41381         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41383 2014-05-21  Roland McGrath  <roland@hack.frob.com>
41385         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41386         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41388 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
41390         * nscd/Depend (linuxthreads): Remove.
41391         (nptl): Add.
41392         * resolv/Depend (linuxthreads): Remove.
41393         * rt/Depend (linuxthreads): Remove.
41395         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41396         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41397         $(common-objpfx)elf/.
41398         (link-libc-before-gnulib): Likewise.
41399         (elfobjdir): Remove variable.
41400         * Makefile (install): Use $(elf-objpfx) instead of
41401         $(common-objpfx)elf/.
41402         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41403         $(elfobjdir)/.
41404         (link-libc-deps): Likewise.
41405         ($(common-objpfx)libc.so): Likewise.
41406         ($(common-objpfx)linkobj/libc.so): Likewise.
41407         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41408         instead of $(common-objpfx)elf/.
41409         (symbolic-link-list): Likewise.
41410         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41411         [$(cross-compiling) = no]: Likewise.
41412         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41413         $(elfobjdir)/.
41414         (static-gnulib-arch): Likewise.
41415         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41416         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41417         $(common-objpfx)elf/.
41419 2014-05-21  Richard Henderson  <rth@redhat.com>
41421         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41422         (SINGLE_THREAD_P): Use the correct width load.  Fold
41423         into the ldr offset.
41425         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41426         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41428 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
41430         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41431         (libgcc_s_resume): Use __attribute_used__.
41432         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41433         Likewise.
41435 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41437         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41438         optimization when used with float constants.
41440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41442 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
41444         [BZ #16915]
41445         * locale/nl_langinfo_l.c: Make direct reference to every
41446         _nl_current_CATEGORY symbol.
41447         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41448         (tests-static): Add tst-langinfo-static.
41449         (tests-special): Add tst-langinfo-static.out.
41450         ($(objpfx)tst-langinfo.out): Redirect output.
41451         ($(objpfx)tst-langinfo-static.out): New.
41452         * localedata/tst-langinfo.sh: Send output to stdout.
41453         * localedata/tst-langinfo-static.c: New file.
41455         [BZ #16965]
41456         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41457         when the shift amount is modulo the limb size.
41459 2014-05-20  Richard Henderson  <rth@redhat.com>
41461         [BZ #16967]
41462         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41463         Change type of sa_flags from unsigned int to int.
41465         [BZ #16966]
41466         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41468         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41470 2014-05-20  Will Newton  <will.newton@linaro.org>
41472         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41473         Test the return value of the system call in the nocancel case.
41475 2014-05-20  Will Newton  <will.newton@linaro.org>
41476             Yvan Roux  <yvan.roux@linaro.org>
41478         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41479         #include of asm/ptrace.h.
41480         (PTRACE_GET_THREAD_AREA): Remove #undef.
41481         (PTRACE_GETHBPREGS): Likewise.
41482         (PTRACE_SETHBPREGS): Likewise.
41483         (struct user_regs_struct): New structure.
41484         (struct user_fpsimd_struct): New structure.
41485         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41486         #include of asm/ptrace.h and second #include of sys/user.h.
41487         (PTRACE_GET_THREAD_AREA): Remove #undef.
41488         (PTRACE_GETHBPREGS): Likewise.
41489         (PTRACE_SETHBPREGS): Likewise.
41490         (ELF_NGREG): Use new struct user_regs_struct.
41491         (elf_fpregset_t): Use new struct user_fpsimd_struct.
41493 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41495         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41496         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41498 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
41500         [BZ #16958]
41501         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41502         membar to avoid block loads/stores to overlap previous stores.
41504 2014-05-17  Richard Henderson  <rth@redhat.com>
41506         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41507         Create the __##syscall_name##_nocancel entry point.
41508         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41509         Remove; let the sysdep-cancel.h code create it.
41511 2014-05-17  David S. Miller  <davem@davemloft.net>
41513         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41514         Protect with __USE_GNU.
41515         (TIOCSET_TEMPT): Likewise.
41516         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41517         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41518         these are already provided in bits/ioctl-types.h
41520 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41522         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41523         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41525         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41526         Use wait4 regardless of [__NR_waitpid].
41528 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41530         PR libgcc/60166
41531         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41532         (_FP_NANSIGN_Q): Set the quiet bit.
41534 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
41536         * benchtests/Makefile
41537         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41538         not $(common-objpfx)math/libm.so.
41539         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41540         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41541         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41542         $(common-objpfx)dlfcn/libdl.so.
41543         ($(objpfx)tst-audit8): Depend on $(libm), not
41544         $(common-objpfx)math/libm.so.
41545         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41546         not $(common-objpfx)dlfcn/libdl.so.
41547         * math/Makefile
41548         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41549         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
41550         [$(build-shared) = yes].
41551         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41552         $(common-objpfx)nptl/libpthread.so.
41553         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41554         $(common-objpfx)math/libm.so$(libm.so-version) or
41555         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41556         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41557         $(common-objpfx)dlfcn/libdl.so.
41558         * setjmp/Makefile (link-libm): Remove variable.
41559         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41560         * stdio-common/Makefile (link-libm): Remove variable.
41561         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41562         * stdlib/Makefile (link-libm): Remove variable.
41563         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41564         ($(objpfx)tst-strtod-round): Likewise.
41565         ($(objpfx)tst-tininess): Likewise.
41566         ($(objpfx)tst-strtod-underflow): Likewise.
41567         ($(objpfx)tst-strtod6): Likewise.
41568         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41569         $(libdl), not $(common-objpfx)nptl/libpthread.so and
41570         $(common-objpfx)dlfcn/libdl.so.
41572 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41574         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41575         BSD terminal modes definitions.
41577 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41579         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41580         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41582         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41583         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41584         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41585         Don't do #include_next.
41586         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41587         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41588         Don't do #include_next.
41589         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41590         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41591         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41592         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41594 2014-05-16  Allan McRae  <allan@archlinux.org>
41596         * po/sv.po: Update Swedish translation from translation project.
41598         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41599         in sed expression.
41601 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
41603         [BZ #16917]
41604         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41605         errno if the TIOCGPTN ioctl fails with an error different than
41606         EINVAL.
41607         * login/tst-ptsname.c: New file.
41608         * login/Makefile (tests): Add tst-ptsname.
41610         [BZ #16943]
41611         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41612         and prlimit64.
41614 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41616         [BZ #16849]
41617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41618         herrno to return EAI_AGAIN.
41620 2014-05-14  Roland McGrath  <roland@hack.frob.com>
41622         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41623         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41624         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41625         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41626         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41627         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41628         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41629         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41630         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41631         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41632         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41633         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41634         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41635         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41636         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41637         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41638         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41639         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41640         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41641         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41642         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41643         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41644         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41645         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41646         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41647         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41648         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41649         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41650         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41651         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41653         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41655         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41657         Moved ...
41658         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41660         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41662         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41664         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41666         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41668         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41670         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41672         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41674         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41676         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41678         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41680         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41682         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41684         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41686         Moved ...
41687         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41689         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41691         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41693         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41695         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41697         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41699         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41701         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41703         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41705         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41707         Moved ...
41708         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41710         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41712         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41713         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41714         (libpthread-sysdep_routines): Add elision-related stuff here instead.
41715         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41716         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41717         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41718         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41719         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41720         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41721         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41722         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41723         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41724         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41725         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41726         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41727         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41728         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41729         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41730         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41731         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41732         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41733         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41734         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41735         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41736         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41737         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41738         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41739         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41740         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41741         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41742         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41744         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41745         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41747         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41748         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41749         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41750         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41751         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41752         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41753         Moved ...
41754         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41755         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41756         Moved ...
41757         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41758         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41759         Moved ...
41760         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41761         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41762         Moved ...
41763         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41764         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41765         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41766         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41767         Moved ...
41768         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41769         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41770         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41771         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41772         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41773         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41774         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41775         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41776         Moved ...
41777         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41779         Moved ...
41780         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41781         ... here.
41782         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41783         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41784         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41785         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41786         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41787         Moved ...
41788         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41789         ... here.
41790         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41791         Moved ...
41792         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41793         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41794         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41795         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41796         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41797         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41798         Moved ...
41799         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41800         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41801         Moved ...
41802         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41803         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41804         Moved ...
41805         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41806         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41807         Moved ...
41808         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41809         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41810         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41811         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41812         Moved ...
41813         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41814         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41815         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41816         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41817         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41818         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41819         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41820         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41821         Moved ...
41822         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41824         Moved ...
41825         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41826         ... here.
41827         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41828         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41829         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41830         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41831         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41832         Moved ...
41833         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41834         ... here.
41835         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41836         Moved ...
41837         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41838         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41839         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41840         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41841         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41842         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41843         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41844         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41845         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41847         Moved ...
41848         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41849         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41850         Moved ...
41851         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41852         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41853         Moved ...
41854         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41855         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41856         Moved ...
41857         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41858         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41859         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41860         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41861         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41862         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41863         Moved ...
41864         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41865         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41866         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41867         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41868         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41869         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41870         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41871         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41872         Moved ...
41873         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41874         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41875         Moved ...
41876         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41877         ... here.
41878         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41879         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41880         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41881         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41882         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41883         Moved ...
41884         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41885         ... here.
41886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41887         Moved ...
41888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41889         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41890         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41891         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41892         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41893         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41894         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41895         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41896         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41897         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41898         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41900         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41901         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41903         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41904         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41906         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41907         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41908         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41909         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41910         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41911         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41912         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41913         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41914         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41915         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41916         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41917         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41918         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41919         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41920         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41921         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41922         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41923         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41924         Moved ...
41925         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41927         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41928         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41929         Moved ...
41930         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41931         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41932         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41933         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41934         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41935         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41936         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41937         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41938         Moved ...
41939         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41941         Moved ...
41942         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41944         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41945         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41946         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41947         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41948         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41949         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41950         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41951         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41952         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41953         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41954         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41955         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41956         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41957         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41958         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41960         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41961         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41962         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41963         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41964         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41966         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41967         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41968         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41969         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41970         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41971         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41972         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41973         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41974         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41975         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41980         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41981         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41982         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41983         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41984         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41985         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41986         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41987         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41988         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41989         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41990         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41991         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41992         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41993         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41995         Update #include.
41996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41997         Likewise.
41998         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41999         Likewise.
42000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42001         Likewise.
42002         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42003         Likewise.
42004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
42005         Likewise.
42006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
42007         Likewise.
42008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42009         Likewise.
42010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
42011         Likewise.
42012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
42013         Likewise.
42014         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
42015         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
42016         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
42017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
42018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
42019         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
42020         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
42021         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
42022         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
42023         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
42024         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
42025         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
42026         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
42027         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
42028         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
42030         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
42031         that was previously under [RESET_PID].
42032         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42033         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
42034         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
42036         * sysdeps/i386/nptl/Implies: New file.
42037         * sysdeps/x86_64/nptl/Implies: New file.
42038         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
42039         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
42040         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
42041         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
42043         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
42044         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42045         (__libc_vfork): New strong alias.
42046         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
42047         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
42049         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
42050         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42051         (__libc_vfork): New strong alias.
42052         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
42053         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
42055         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
42056         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42057         (__libc_vfork): New strong alias.
42058         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
42059         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
42060         * nptl/pt-vfork.c: New file.
42061         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
42062         (libpthread: GLIBC_2.20): New version set (empty).
42064 2014-05-14  Will Newton  <will.newton@linaro.org>
42066         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
42067         rather than #if.
42069 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
42071         [BZ #16564]
42072         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
42073         arguments with exponent 65 or above.
42074         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
42075         arguments 0x1p113L or above.
42076         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
42077         to arguments 0x1p107L or above.
42078         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
42079         positive arguments with exponent 65 or above.
42080         * math/auto-libm-test-in: Add more tests of log1p.
42081         * math/auto-libm-test-out: Regenerated.
42083         [BZ #16928]
42084         * math/s_cacos.c (__cacos): Ensure zero real part of result from
42085         non-finite arguments is +0.
42086         * math/s_cacosf.c (__cacosf): Likewise.
42087         * math/s_cacosl.c (__cacosl): Likewise.
42088         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
42089         * sysdeps/i386/fpu/libm-test-ulps: Update.
42090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42092         [BZ #16927]
42093         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
42094         value.
42095         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
42096         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
42097         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
42098         for explicit high bit of mantissa when testing for argument equal
42099         to 1.
42100         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
42101         * sysdeps/i386/fpu/libm-test-ulps: Update.
42102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42104         [BZ #16516]
42105         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
42106         (__erf): Scale by 16 instead of 8 in potentially underflowing
42107         case.  Ensure exception if result actually underflows.
42108         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
42109         (__erff): Scale by 16 instead of 8 in potentially underflowing
42110         case.  Ensure exception if result actually underflows.
42111         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
42112         (efx8): Remove variable.
42113         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42114         case.  Ensure exception if result actually underflows.
42115         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42116         (efx8): Remove variable.
42117         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42118         case.  Ensure exception if result actually underflows.
42119         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42120         (efx8): Remove variable.
42121         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42122         case.  Ensure exception if result actually underflows.
42123         * math/auto-libm-test-in: Add more tests of erf.
42124         * math/auto-libm-test-out: Regenerated.
42126 2014-05-14  Andreas Schwab  <schwab@suse.de>
42128         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42129         Remove code conditionalized on USE___THREAD.
42131         * config.h.in (HAVE_PT_CHOWN): Define as 0.
42132         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42133         not definedness.
42135 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
42137         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42138         Define unconditionally.
42139         (__ASSUME_O_CLOEXEC): Likewise.
42140         (__ASSUME_SOCK_CLOEXEC): Likewise.
42141         (__ASSUME_IN_NONBLOCK): Likewise.
42142         (__ASSUME_PIPE2): Likewise.
42143         (__ASSUME_EVENTFD2): Likewise.
42144         (__ASSUME_SIGNALFD4): Likewise.
42145         (__ASSUME_DUP3): Likewise.
42146         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42147         (__ASSUME_DUP3): Do not define.
42148         (__ASSUME_EVENTFD2): Likewise.
42149         (__ASSUME_IN_NONBLOCK): Likewise.
42150         (__ASSUME_O_CLOEXEC): Likewise.
42151         (__ASSUME_PIPE2): Likewise.
42152         (__ASSUME_SIGNALFD4): Likewise.
42153         (__ASSUME_SOCK_CLOEXEC): Likewise.
42154         (__ASSUME_UTIMES): Undefine.
42155         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42156         (__ASSUME_UTIMES): Do not define.
42157         (__ASSUME_O_CLOEXEC): Likewise.
42158         (__ASSUME_SOCK_CLOEXEC): Likewise.
42159         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42160         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42161         0x020621].
42162         (__ASSUME_PIPE2): Likewise.
42163         (__ASSUME_EVENTFD2): Likewise.
42164         (__ASSUME_SIGNALFD4): Likewise.
42165         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42166         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42167         Do not define.
42168         (__ASSUME_EVENTFD2): Likewise.
42169         (__ASSUME_SIGNALFD4): Likewise.
42170         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42171         (__ASSUME_32BITUIDS): Likewise.
42172         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42173         (__ASSUME_IPC64): Likewise.
42174         (__ASSUME_ST_INO_64_BIT): Likewise.
42175         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42176         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42177         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42178         (__ASSUME_UTIMES): Do not define.
42179         (__ASSUME_PSELECT): Likewise.
42180         (__ASSUME_PPOLL): Likewise.
42181         (__ASSUME_O_CLOEXEC): Likewise.
42182         (__ASSUME_SOCK_CLOEXEC): Likewise.
42183         (__ASSUME_IN_NONBLOCK): Likewise.
42184         (__ASSUME_PIPE2): Likewise.
42185         (__ASSUME_EVENTFD2): Likewise.
42186         (__ASSUME_SIGNALFD4): Likewise.
42187         (__ASSUME_DUP3): Likewise.
42188         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42189         (__ASSUME_UTIMES): Likewise.
42190         (__ASSUME_O_CLOEXEC): Likewise.
42191         (__ASSUME_SOCK_CLOEXEC): Likewise.
42192         (__ASSUME_IN_NONBLOCK): Likewise.
42193         (__ASSUME_PIPE2): Likewise.
42194         (__ASSUME_EVENTFD2): Likewise.
42195         (__ASSUME_SIGNALFD4): Likewise.
42196         (__ASSUME_DUP3): Likewise.
42197         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42198         (__ASSUME_UTIMES): Likewise.
42199         (__ASSUME_O_CLOEXEC): Likewise.
42200         (__ASSUME_SOCK_CLOEXEC): Likewise.
42201         (__ASSUME_IN_NONBLOCK): Likewise.
42202         (__ASSUME_PIPE2): Likewise.
42203         (__ASSUME_EVENTFD2): Likewise.
42204         (__ASSUME_SIGNALFD4): Likewise.
42205         (__ASSUME_DUP3): Likewise.
42206         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
42207         Likewise.
42208         (__ASSUME_UTIMES): Likewise.
42209         (__ASSUME_EVENTFD2): Likewise.
42210         (__ASSUME_SIGNALFD4): Likewise.
42211         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42212         (__ASSUME_O_CLOEXEC): Likewise.
42213         (__ASSUME_SOCK_CLOEXEC): Likewise.
42214         (__ASSUME_IN_NONBLOCK): Likewise.
42215         (__ASSUME_PIPE2): Likewise.
42216         (__ASSUME_EVENTFD2): Likewise.
42217         (__ASSUME_SIGNALFD4): Likewise.
42218         (__ASSUME_DUP3): Likewise.
42219         (__ASSUME_UTIMES): Undefine.
42221         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42222         feclearexcept.  Remove symbol versioning code.
42223         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
42224         symbol versioning code.
42225         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
42226         symbol versioning code.
42227         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42228         feupdateenv.  Remove symbol versioning code.
42229         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42230         fegetexceptflag.  Remove symbol versioning code.
42231         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42232         fesetexceptflag.  Remove symbol versioning code.
42233         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42234         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
42235         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42236         (__posix_fadvise64_l32): Remove prototype.
42237         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42238         code.
42240 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42242         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42243         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42244         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42245         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42247 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
42249         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42250         current working directory
42252 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42254         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42255         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42256         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42257         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42258         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42259         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42260         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42261         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42262         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42263         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42264         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42265         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42266         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42267         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42268         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42269         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42270         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42271         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42272         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42273         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42274         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42275         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42276         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42277         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42278         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42279         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42280         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42281         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42282         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42283         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42284         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42285         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42286         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42287         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42288         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42289         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42290         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42291         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42292         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42293         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42294         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42295         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42297         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42298         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42300         * sysdeps/unix/sysv/linux/arm/Makefile
42301         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42302         Add rt-aeabi_unwind_cpp_pr1.
42303         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42304         Add nptl-aeabi_unwind_cpp_pr1.
42305         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42306         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42307         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42308         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42309         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42310         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42312         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42313         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42314         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42315         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42317         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42318         Deconditionalize the code that was previously under [RESET_PID].
42319         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42321         * sysdeps/generic/exit-thread.h: New file.
42322         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42323         * include/unistd.h (__exit_thread): Remove declaration.
42324         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42325         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42326         * csu/libc-start.c: Include <exit-thread.h>.
42327         (LIBC_START_MAIN): Pass no argument to __exit_thread.
42328         * nptl/pthread_create.c: Include <exit-thread.h>.
42329         (start_thread): Call __exit_thread in place of __exit_thread_inline.
42330         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42331         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42332         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42333         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42334         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42335         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42336         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42337         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42338         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42339         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42340         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42341         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42342         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42343         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42344         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42345         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42347 2014-05-13  Andreas Schwab  <schwab@suse.de>
42349         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42351 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
42353         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42354         (__ASSUME_UTIMES): Do not condition on kernel version.
42355         (__ASSUME_PSELECT): Define unconditionally.
42356         (__ASSUME_PPOLL): Likewise.
42357         (__ASSUME_ATFCTS): Likewise.
42358         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42359         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42360         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42361         (__ASSUME_UTIMENSAT): Define unconditionally.
42362         (__ASSUME_PRIVATE_FUTEX): Likewise.
42363         (__ASSUME_FALLOCATE): Likewise.
42364         (__ASSUME_O_CLOEXEC): Likewise.
42365         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42366         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42367         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42368         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42369         (__ASSUME_IN_NONBLOCK): Likewise.
42370         (__ASSUME_PIPE2): Likewise.
42371         (__ASSUME_EVENTFD2): Likewise.
42372         (__ASSUME_SIGNALFD4): Likewise.
42373         (__ASSUME_DUP3): Likewise.
42374         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42375         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42376         (__ASSUME_AT_RANDOM): Likewise.
42377         (__ASSUME_PREADV): Likewise.
42378         (__ASSUME_PWRITEV): Likewise.
42379         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42380         (__ASSUME_F_GETOWN_EX): Define unconditionally.
42381         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42382         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42383         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42384         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42385         (__ASSUME_O_CLOEXEC): Define unconditionally.
42386         (__ASSUME_PSELECT): Do not undefine conditionally.
42387         (__ASSUME_PPOLL): Likewise.
42388         (__ASSUME_ATFCTS): Likewise.
42389         (__ASSUME_SET_ROBUST_LIST): Likewise.
42390         (__ASSUME_UTIMENSAT): Likewise.
42391         (__ASSUME_FDATASYNC): Define unconditionally.
42392         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42393         (__ASSUME_SIGFRAME_V2): Likewise.
42394         )__ASSUME_EVENTFD2): Likewise.
42395         (__ASSUME_SIGNALFD4): Likewise.
42396         (__ASSUME_PSELECT): Do not undefine conditionally.
42397         (__ASSUME_PPOLL): Likewise.
42398         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42399         (__ASSUME_PSELECT): Define unconditionally.
42400         (__ASSUME_PPOLL): Likewise.
42401         (__ASSUME_O_CLOEXEC): Likewise.
42402         (__ASSUME_SOCK_CLOEXEC): Likewise.
42403         (__ASSUME_IN_NONBLOCK): Likewise.
42404         (__ASSUME_PIPE2): Likewise.
42405         (__ASSUME_EVENTFD2): Likewise.
42406         (__ASSUME_SIGNALFD4): Likewise.
42407         (__ASSUME_DUP3): Likewise.
42408         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42409         (__ASSUME_O_CLOEXEC): Likewise.
42410         (__ASSUME_SOCK_CLOEXEC): Likewise.
42411         (__ASSUME_IN_NONBLOCK): Likewise.
42412         (__ASSUME_PIPE2): Likewise.
42413         (__ASSUME_EVENTFD2): Likewise.
42414         (__ASSUME_SIGNALFD4): Likewise.
42415         (__ASSUME_DUP3): Likewise.
42416         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42417         (__ASSUME_EVENTFD2): Likewise.
42418         (__ASSUME_SIGNALFD4): Likewise.
42419         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42421 2014-05-12  Andreas Schwab  <schwab@suse.de>
42423         [BZ #16932]
42424         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42425         (_nss_nis_gethostbyname4_r): Return error if item length is larger
42426         than maximum RPC packet size.
42427         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42428         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42429         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42430         (_nss_nis_getservbyport_r): Likewise.
42432 2014-05-12  Will Newton  <will.newton@linaro.org>
42434         * malloc/Makefile (tests): Add tst-mallopt.
42435         * malloc/tst-mallopt.c: New file.
42437 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42439         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42440         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42442 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42444         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42445         (tst-tlsmod6.so): Likewise.
42447 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42449         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42451 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
42453         [BZ #16064]
42454         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42455         and <dl-procinfo.h>.
42456         (__fegetenv): Save SSE state in envp->__eip if supported.
42457         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42458         envp->__eip if supported.
42459         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42460         and <dl-procinfo.h>.
42461         (__fesetenv): Always set __eip, __cs_selector, __opcode,
42462         __data_offset and __data_selector in environment to 0.  Set SSE
42463         state if supported.
42464         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42465         test-fenv-sse.
42466         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42467         -mfpmath=sse.
42468         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42470 2014-05-09  Will Newton  <will.newton@linaro.org>
42472         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42473         and libc_relro_required for ARM.
42474         * sysdeps/arm/preconfigure: Regenerate.
42476 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
42477             Stefan Liebler  <stli@linux.vnet.ibm.com>
42479         * config.make.in (enable-lock-elision): New Makefile variable.
42480         * configure.ac: Likewise.
42481         * configure: Regenerate.
42482         * sysdeps/s390/configure.ac:
42483         Add check for gcc transactions support.
42484         * sysdeps/s390/configure: Regenerate.
42485         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42486         Build elision files if enabled.
42487         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42488         Add lock elision support for s390.
42489         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42490         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42491         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42492         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42493         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42494         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42495         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42496         Likewise.
42497         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42498         Likewise.
42499         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42500         Likewise.
42501         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42502         Likewise.
42503         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42504         (__lll_timedlock_elision, __lll_lock_elision)
42505         (__lll_unlock_elision, __lll_trylock_elision)
42506         (lll_timedlock_elision, lll_lock_elision)
42507         (lll_unlock_elision, lll_trylock_elision): Add.
42508         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42509         (pthread_mutex_t): Add lock elision support for s390.
42511 2014-05-14  Wilco  <wdijkstr@arm.com>
42513         * sysdeps/arm/fclrexcpt.c: Cleanup.
42514         * sysdeps/arm/fedisblxcpt.c: Cleanup.
42515         * sysdeps/arm/feenablxcpt.c: Cleanup.
42516         * sysdeps/arm/fegetenv.c: Cleanup.
42517         * sysdeps/arm/fegetexcept.c: Cleanup.
42518         * sysdeps/arm/fegetround.c: Cleanup.
42519         * sysdeps/arm/feholdexcpt.c: Cleanup.
42520         * sysdeps/arm/fesetenv.c: Cleanup.
42521         * sysdeps/arm/fesetround.c: Cleanup.
42522         * sysdeps/arm/feupdateenv.c: Cleanup.
42523         * sysdeps/arm/fgetexcptflg.c: Cleanup.
42524         * sysdeps/arm/fraiseexcpt.c: Cleanup.
42525         * sysdeps/arm/fsetexcptflg.c: Cleanup.
42526         * sysdeps/arm/ftestexcept.c: Cleanup.
42527         * sysdeps/arm/get-rounding-mode.h: Cleanup.
42528         * sysdeps/arm/setfpucw.c: Cleanup.
42530 2014-05-09  Will Newton  <will.newton@linaro.org>
42532         * sysdeps/arm/armv7/strcmp.S: New file.
42533         * NEWS: Mention addition of ARMv7 optimized strcmp.
42535 2014-05-08  Roland McGrath  <roland@hack.frob.com>
42537         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42538         look for %.ac rather than %.in.
42540         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42541         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42542         * sysdeps/mach/hurd/configure: Regenerated.
42543         * sysdeps/unix/sysv/linux/configure: Regenerated.
42545         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42547 2014-05-07  Steve Ellcey  <sellcey@mips.com>
42549         [BZ# 16922]
42550         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42551         (LONG_SUB): Ditto.
42552         (PTR_SUB): Ditto.
42554 2014-05-07  Andreas Schwab  <schwab@suse.de>
42556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42557         when skipping over non-matching result from nscd.
42559 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
42561         [BZ #16876]
42562         * nptl/sockperf.c (client): Check socket return value.
42564         [BZ #16877]
42565         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42566         nscd security class.
42568 2014-05-06  Roland McGrath  <roland@hack.frob.com>
42570         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42571         * sysdeps/arm/unwind.h: ... here.
42573 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
42575         [BZ# 16916]
42576         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42577         Define.
42579 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42581         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42582         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42583         multiarch strncpy for PPC64.
42584         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42585         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42587         multiarch optimizations.
42588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42589         (__libc_ifunc_impl_list): Likewise.
42590         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42591         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42592         multiarch stpncpy for PPC64.
42593         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42594         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42596 2014-05-06  Andreas Schwab  <schwab@suse.de>
42598         [BZ #16912]
42599         * gmon/mcount.c (_MCOUNT_DECL): Use
42600         atomic_compare_and_exchange_bool_acq instead of
42601         catomic_compare_and_exchange_bool_acq.
42603 2014-05-05  Roland McGrath  <roland@hack.frob.com>
42605         * elf/Makefile (others, install-bin): Remove pldd.
42606         (pldd-modules): Variable removed.
42607         ($(objpfx)pldd): Target removed.
42608         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42609         (others, install-bin): Append pldd here.
42610         ($(objpfx)pldd): New target.
42612         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42613         to 0, so the first #if test emitted later doesn't see it undefined.
42614         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42615         * sysdeps/gnu/errlist.c: Regenerated.
42617 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42619         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42620         [libc_hidden_builtin_def]: Define to empty value.
42621         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42622         [libc_hidden_builtin_def]: Likewise.
42623         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42624         [libc_hidden_builtin_def]: Likewise.
42625         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42626         [libc_hidden_builtin_def]: Likewise.
42627         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42628         __redirect_memcpy and define ifunc as default hidden symbol.
42629         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42630         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42632 2014-05-04  Adam Conrad  <adconrad@0c3.net>
42634         * locale/iso-4217.def: Reintroduce XDR currency.
42636 2014-05-04  Allan McRae  <allan@archlinux.org>
42638         * po/eo.po: Update Esperanto translation from translation project.
42640 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
42642         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42643         and FEATURE_INDEX_MAX to 1.
42644         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42646 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42648         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42649         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42650         * iconvdata/big5.c (ONE_DIRECTION): Define.
42651         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42652         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42653         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42654         * iconvdata/cp932.c (ONE_DIRECTION): Define.
42655         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42656         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42657         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42658         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42659         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42660         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42661         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42662         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42663         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42664         * iconvdata/gbk.c (ONE_DIRECTION): Define.
42665         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42666         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42667         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42668         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42669         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42670         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42671         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42672         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42673         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42674         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42675         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42676         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42677         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42678         * iconvdata/iso646.c (ONE_DIRECTION): Define.
42679         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42680         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42681         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42682         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42683         * iconvdata/johab.c (ONE_DIRECTION): Define.
42684         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42685         * iconvdata/sjis.c (ONE_DIRECTION): Define.
42686         * iconvdata/t.61.c (ONE_DIRECTION): Define.
42687         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42688         * iconvdata/tscii.c (ONE_DIRECTION): Define.
42689         * iconvdata/uhc.c (ONE_DIRECTION): Define.
42690         * iconvdata/unicode.c (ONE_DIRECTION): Define.
42691         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42692         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42693         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42695 2014-05-01  Roland McGrath  <roland@hack.frob.com>
42697         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42698         (_IO_JUMPS_OFFSET): Define to 0.
42700         * nptl/sysdeps/pthread/bits/libc-lock.h
42701         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42702         (__libc_lock_define_initialized_recursive): Always define using
42703         initializer.  Modern compilers treat uninitialized (implicit zero) and
42704         explicit zero initializers the same (i.e. put the datum in bss).
42706 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42708         * nscd/nscd-client.h: Include <string.h>.
42710 2014-05-01  David S. Miller  <davem@davemloft.net>
42712         [BZ #16885]
42713         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42714         multiple zero bytes exist at the end of a string.
42715         Reported by Aurelien Jarno <aurelien@aurel32.net>
42717         * string/test-strcmp.c (check): Add explicit test for situations where
42718         there are multiple zero bytes after the first.
42720 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42722         [BZ #16890]
42723         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42724         when compiling wprintf.
42725         * stdio-common/tstdiomisc.c (t3): New function.
42726         (main): Call it.
42728 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42730         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42731         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42732         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42733         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42735 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42737         * stdlib/longlong.h: Updated from GCC.
42739 2014-05-01  Will Newton  <will.newton@linaro.org>
42740             Bernard Ogden  <bernie.ogden@linaro.org>
42742         * NEWS: Update fixed bug list.
42744         [BZ #15119]
42745         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42747 2014-04-30  David S. Miller  <davem@davemloft.net>
42749         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42750         (libc_feholdexcept_setround_sparc_ctx): New function.
42751         (libc_fesetenv_sparc_ctx): Likewise.
42752         (libc_feupdateenv_sparc_ctx): Likewise.
42753         (libc_feholdsetround_sparc_ctx): Likewise.
42754         (libc_feholdexcept_setround_ctx): Define.
42755         (libc_feholdexcept_setroundf_ctx): Likewise.
42756         (libc_feholdexcept_setroundl_ctx): Likewise.
42757         (libc_fesetenv_ctx): Likewise.
42758         (libc_fesetenvf_ctx): Likewise.
42759         (libc_fesetenvl_ctx): Likewise.
42760         (libc_feupdateenv_ctx): Likewise.
42761         (libc_feupdateenvf_ctx): Likewise.
42762         (libc_feupdateenvl_ctx): Likewise.
42763         (libc_feresetround_ctx): Likewise.
42764         (libc_feresetroundf_ctx): Likewise.
42765         (libc_feresetroundl_ctx): Likewise.
42766         (libc_feholdsetround_ctx): Likewise.
42767         (libc_feholdsetroundf_ctx): Likewise.
42768         (libc_feholdsetroundl_ctx): Likewise.
42770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42771         with __USE_GNU instead of XOPEN cpp guards.
42773         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42774         0.
42776         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42777         with XOPEN cpp guards.
42779 2014-04-30  Julian Brown  <julian@codesourcery.com>
42781         [BZ #16888]
42782         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42783         handling.
42785 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
42787         [BZ #9894]
42788         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42789         Change to 2.6.32.
42790         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42791         * sysdeps/unix/sysv/linux/configure: Regenerated.
42792         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42793         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42794         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42795         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42796         * README: Update reference to required Linux kernel version.
42797         * manual/install.texi (Linux): Update reference to required Linux
42798         kernel headers version.
42799         * INSTALL: Regenerated.
42801         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42802         header inclusion.
42803         [POSIX] (limits.h): Likewise.
42804         [POSIX] (math.h): Likewise.
42805         [POSIX] (sys/wait.h): Likewise.
42806         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42807         function.
42808         [POSIX] (stddef.h): Do not allow header inclusion.
42810 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42812         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42814 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
42816         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42817         Return immediately after lll_futex_wake.
42819 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42821         [BZ #16791]
42822         * nscd/nscd-client.h (datahead_init_common): Initialize entire
42823         structure.
42824         (datahead_init_pos): Call datahead_init_common early.
42825         (datahead_init_neg): Likewise.
42827         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42828         datahead_init_neg): New functions.
42829         * nscd/aicache.c (addhstaiX): Use them.
42830         * nscd/grpcache.c (cache_addgr): Likewise.
42831         * nscd/hstcache.c (cache_addhst): Likewise.
42832         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42833         * nscd/netgroupcache.c (do_notfound): Likewise.
42834         (addgetnetgrentX): Likewise.
42835         (addinnetgrX): Likewise.
42836         * nscd/pwdcache.c (cache_addpw): Likewise.
42837         * nscd/servicescache.c (cache_addserv): Likewise.
42839 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42840             Atsushi Onoe  <atsushi@onoe.org>
42842         [BZ #14308]
42843         [BZ #12994]
42844         [BZ #13651]
42845         * resolv/res_query.c (__libc_res_nsearch): Return if at least
42846         one response is valid.
42847         * resolv/res_send.c (send_dg): Check for validity of other
42848         response if the current response is a referral.
42850 2014-04-29  Steve Ellcey  <sellcey@mips.com>
42852         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42854 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
42856         [BZ #16823]
42857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42858         Always divide by positive zero when computing -Inf result.
42859         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42860         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42862 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42864         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42865         FPSCR if value do not change.
42866         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42867         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42868         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42869         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42870         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42871         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42872         function.
42874 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
42876         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42877         * sysdeps/unix/sysv/linux/hppa: Move directory from
42878         ports/systeps/unix/sysv/linux/hppa.
42879         * README: Update listing for hppa-*-linux-gnu.
42881 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
42883         [BZ #16754]
42884         * manual/stdio.texi (Hook functions): Fix types of stream hook
42885         functions.
42886         [BZ #16854]
42887         * socket/sys/socket.h: Fix typo in comment.
42889 2014-04-28  Wilco  <wdijkstr@arm.com>
42891         * sysdeps/arm/fenv_private.h: New file.
42892         * sysdeps/arm/math_private.h: New file.
42893         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42895 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
42897         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42898         with __int128_t.
42899         (La_x86_64_retval): Likewise.
42901 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42903         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42904         fpsr if value didn't change.
42905         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42906         to fpcr if value didn't change.
42907         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42908         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42909         fpsr or fpcr if value didn't change.
42910         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42911         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42912         fpcr if value didn't change.
42913         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42914         to fpsr if value didn't change.
42916 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42918         * nptl/tst-sem3.c: Use test-skeleton.c
42919         (main): Rename to do_test.  Use return instead of
42920         exit.
42921         * nptl/tst-sem4.c: Use test-skeleton.c
42922         (main): Rename to do_test.
42924 2014-04-22  David S. Miller  <davem@davemloft.net>
42926         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42927         (struct sigaction): New struct member __glibc_reserved0, change
42928         type of sa_flags to int.
42930 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42932         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42933         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42935 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42937         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42938         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42940 2014-04-22  Will Newton  <will.newton@linaro.org>
42941             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42943         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42944         (__longjmp): Add longjmp and longjmp_target SystemTap
42945         probes.
42946         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42947         (__sigsetjmp): Add setjmp SystemTap probe.
42949 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42951         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42952         match manual order.
42954 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42956         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42958         * sysdeps/powerpc/fpu/fenv_private.h
42959         (libc_feholdexcept_setroundl_ctx): Define to
42960         libc_feholdexcept_setround_ppc_ctx.
42961         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42962         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42963         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42964         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42966 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42968         * sysdeps/aarch64/math-tests.h: New file.
42970 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42972         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42973         New.
42974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42975         Check and set bit_AVX2_Usable.
42976         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42977         macro.
42978         (bit_AVX2): Likewise.
42979         (index_AVX2_Usable): Likewise.
42980         (CPUID_AVX2): Likewise.
42981         (HAS_AVX2): Likewise.
42983 2014-04-17  Will Newton  <will.newton@linaro.org>
42985         * manual/setjmp.texi (System V contexts): Add note that
42986         calling setcontext on a context created by a call to a
42987         signal handler is undefined.  Update text to note that
42988         setcontext from a signal handler is possible but not
42989         recommended.
42991         [BZ #16629]
42992         * stdlib/tst-setcontext.c: Include signal.h.
42993         (main): Check that the signal stack before and
42994         after swapcontext is the same.
42996         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42997         Re-implement to restore registers in user code and avoid
42998         rt_sigreturn system call.
43000 2014-04-17  Wilco  <wdijkstr@arm.com>
43002         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
43003         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
43004         * math/test-fenv.c: Skip exception trap tests on targets which only
43005         support non-stop mode.
43007 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
43008             Wilco Dijkstra  <wilco.dijkstra@arm.com>
43010         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
43011         (libc_feholdsetround_aarch64_ctx)
43012         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
43013         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
43014         (libc_feresetround_ctx, libc_feresetroundf_ctx)
43015         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
43016         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
43017         (libc_feresetround_noexl_ctx): Define.
43019 2014-04-16  Richard Henderson  <rth@redhat.com>
43021         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
43023         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
43024         unwind tables.
43026         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
43027         const from the non-libc, non-ldso copy.
43029         * sysdeps/alpha/libm-test-ulps: Regenerate.
43031 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
43032             Wilco Dijkstra  <wilco.dijkstra@arm.com>
43034         * sysdeps/aarch64/fpu/math_private.h: New file.
43036 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43038         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43040 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
43042         [BZ #16275]
43043         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
43044         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
43045         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
43046         Intel MPX bound registers before _dl_profile_fixup.
43047         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
43048         registers after _dl_profile_fixup.  Save and restore bound
43049         registers bnd0/bnd1 when calling _dl_call_pltexit.
43050         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
43051         (LR_BND_OFFSET): Likewise.
43052         (LRV_BND0_OFFSET): Likewise.
43053         (LRV_BND1_OFFSET): Likewise.
43055 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43057         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
43058         to...
43059         * sysdeps/mach/hurd/i386/tls.h: ... here.
43060         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
43061         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
43062         fields.
43064 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43066         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
43068 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
43070         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43072 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
43074         [BZ #14770]
43075         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
43076         * sysdeps/s390/configure: Regenerate.
43078         [BZ #16824]
43079         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
43080         Set round-to-nearest internally to reduce error accumulation.
43082 2014-04-16  Alan Modra  <amodra@gmail.com>
43084         [BZ #16740]
43085         [BZ #16619]
43086         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
43087         * math/libm-test.inc (frexp_test_data): Add tests.
43088         * NEWS: Update fixed bug list.
43090 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43092         * benchtests/Makefile: Depend on libraries in build directory.
43093         (bench-math): Separate out math tests.
43094         (bench-pthread): Separate out pthread tests.
43095         (bench): Include math and pthread tests.
43097 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
43099         [BZ #16831]
43100         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
43101         _dl_debug_initialize.
43103         * configure.ac: Remove SELinux header check.
43104         * configure: Regenerate.
43105         * nscd/selinux.c (perms): Array of const char* to permission names.
43106         (nscd_request_avc_has_perm): Call security_deny_unknown to find
43107         default policy. Call string_to_security_class and string_to_av_perm to
43108         translate strings. Enforce default policy and call avs_has_perm with
43109         results of translated strings.
43111 2014-04-13  David S. Miller  <davem@davemloft.net>
43113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43115 2014-04-12  Allan McRae  <allan@archlinux.org>
43117         [BZ #16838]
43118         * manual/string.texi (Collation Functions): Fix qsort argument
43119         order in example.
43120         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43122 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
43124         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43125         Make the test a no-op if there are no exceptions defined.
43127 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
43129         * elf/Makefile (tests): make tst-dlopen-aout conditional on
43130         enable-hardcoded-path-in-tests
43132 2014-04-11  Will Newton  <will.newton@linaro.org>
43134         * benchtests/Makefile (extra-objs): Add json-lib.o.
43135         (bench-func): Tidy up JSON output.
43136         * benchtests/bench-skeleton.c: Include json-lib.h.
43137         (main): Use JSON library functions to do output of
43138         benchmark results.
43139         * benchtests/bench-timing-type.c (main): Output the
43140         timing type simply, leaving formatting to the user.
43141         * benchtests/json-lib.c: New file.
43142         * benchtests/json-lib.h: Likewise.
43144 2014-04-11  Torvald Riegel  <triegel@redhat.com>
43146         [BZ #15215]
43147         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43148         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
43149         memory barriers.  Add comments.
43150         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43151         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43152         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43153         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43154         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43155         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43157 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43159         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43160         * sysdeps/s390/s390-64/configure.ac: ... this ...
43161         * sysdeps/s390/configure.ac: ... to here.
43162         * sysdeps/s390/s390-32/configure: Delete file.
43163         * sysdeps/s390/s390-64/configure: Delete file.
43164         * sysdeps/s390/configure: Regenerate.
43166 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
43168         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43170 2014-04-11  Will Newton  <will.newton@linaro.org>
43172         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43173         to zero if it is not defined elsewhere.  (mtrim): Test
43174         the value of MALLOC_DEBUG with #if rather than #ifdef.
43176 2014-04-10 Torvald Riegel  <triegel@redhat.com>
43178         * benchtests/pthread_once-inputs: New file.
43179         * benchtests/pthread_once-source.c: New file.
43180         * benchtests/README: Update documentation.
43182 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
43183             H.J. Lu  <hongjiu.lu@intel.com>
43185         [BZ #16275]
43186         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43187         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43188         * sysdeps/x86_64/configure: Regenerated.
43189         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43190         macro.
43191         (REGISTER_SAVE_RAX): Likewise.
43192         (REGISTER_SAVE_RCX): Likewise.
43193         (REGISTER_SAVE_RDX): Likewise.
43194         (REGISTER_SAVE_RSI): Likewise.
43195         (REGISTER_SAVE_RDI): Likewise.
43196         (REGISTER_SAVE_R8): Likewise.
43197         (REGISTER_SAVE_R9): Likewise.
43198         (REGISTER_SAVE_BND0): Likewise.
43199         (REGISTER_SAVE_BND1): Likewise.
43200         (REGISTER_SAVE_BND2): Likewise.
43201         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
43202         bound registers when calling _dl_fixup.
43204 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43206         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43207         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43208         of its definition.
43209         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43210         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43211         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43212         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43213         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43214         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43215         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43217 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
43219         [BZ #15514]
43220         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43221         pathconf(_PC_NAME_MAX).
43223 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43225         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43226         Remove macro usage.
43227         (__PTHREAD_SPINS): Move definition to ...
43228         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43229         (__PTHREAD_SPINS): ... here.
43230         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43231         (__PTHREAD_SPIN): Likewise.
43232         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43233         (__PTHREAD_SPIN): Likewise.
43234         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43235         (__PTHREAD_SPIN): Likewise.
43236         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43237         (__PTHREAD_SPIN): Likewise.
43238         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43239         (__PTHREAD_SPIN): Likewise.
43240         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43241         (__PTHREAD_SPIN): Likewise.
43242         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43243         (__PTHREAD_SPIN): Likewise.
43244         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43245         (__PTHREAD_SPIN): Likewise.
43246         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43247         (__PTHREAD_SPIN): Likewise.
43248         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43249         (__PTHREAD_SPIN): Likewise.
43250         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43251         (__PTHREAD_SPIN): Likewise.
43252         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43253         (__PTHREAD_SPIN): Likewise.
43255         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43256         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43257         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43258         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43259         imply folder.
43260         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43261         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43262         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43263         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43264         correct imply path.
43265         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43266         strlen symbol for non multi-arch builds.
43267         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43268         missing hidden_def and weak_alias.
43270 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
43272         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43274 2014-04-07  Will Newton  <will.newton@linaro.org>
43276         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43277         and contents.  [!_LIBC] Remove #ifndef and contents.
43278         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
43279         * string/memccpy.c (__memccpy): Use ANSI prototype.
43280         * string/memfrob.c (memfrob): Likewise.
43281         * string/strcoll.c (STRCOLL): Likewise.
43282         * string/strlen.c (strlen): Likewise.
43283         * string/strtok.c (STRTOK): Likewise.
43284         * string/strcat.c: Remove unused #include of memcopy.h.
43285         (strcat): Use ANSI prototype.
43286         * string/strchr.c: Remove unused #include of memcopy.h.
43287         (strchr): Use ANSI prototype.
43288         * string/strcmp.c: Remove unused #include of memcopy.h.
43289         (strcmp): Use ANSI prototype.
43290         * string/strcpy.c: Remove unused #include of memcopy.h.
43291         (strcpy): Use ANSI prototype.
43293 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43295         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43296         * config.make.in (config-extra-cppflags): Set it from
43297         libc_extra_cppflags.
43298         * configure.ac (libc_extra_cflags): Make it accumulate over
43299         configure fragments.
43300         (libc_extra_cppflags): New flag.
43301         * configure. Regenerate.
43302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43303         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43304         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43307         [BZ #16815]
43308         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43309         result for FE_DOWNWARD rounding mode.
43310         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43311         Likewise.
43312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43314 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
43316         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43317         in function argument name.
43319 2014-04-03  David Svoboda  <svoboda@cert.org>
43321         [BZ #5666]
43322         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43323         explicitly.
43325 2014-04-03  Roland McGrath  <roland@hack.frob.com>
43327         * elf/dl-unmap-segments.h: New file.
43328         * sysdeps/generic/ldsodefs.h
43329         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43330         * elf/dl-close.c: Include <dl-unmap-segments.h>.
43331         * elf/dl-fptr.c: Likewise.
43332         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43333         * sysdeps/aarch64/tlsdesc.c: Likewise.
43334         * sysdeps/arm/tlsdesc.c: Likewise.
43335         * sysdeps/i386/tlsdesc.c: Likewise.
43336         * sysdeps/tile/dl-runtime.c: Likewise.
43337         * sysdeps/x86_64/tlsdesc.c: Likewise.
43338         * elf/dl-load.h: New file.
43339         * elf/dl-load.c: Include it.
43340         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43341         Macros moved to dl-load.h.
43342         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43343         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43344         Use _dl_unmap_segments in place of __munmap.
43345         Break out segment-mapping loop into ...
43346         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43348 2014-04-03  Will Newton  <will.newton@linaro.org>
43350         * elf/dl-lookup.c (do_lookup_x): Remove comment
43351         referring to nested function and move variable
43352         declarations down to before first use.
43354 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
43356         [BZ #16799]
43357         [BZ #16800]
43358         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43359         with 0 numerator.
43360         * math/s_catanf.c (__catanf): Likewise.
43361         * math/s_catanh.c (__catanh): Likewise.
43362         * math/s_catanhf.c (__catanhf): Likewise.
43363         * math/s_catanhl.c (__catanhl): Likewise.
43364         * math/s_catanl.c (__catanl): Likewise.
43365         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43366         by positive zero when computing -Inf result.
43367         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43368         (catanh_test): Likewise.
43369         * sysdeps/i386/fpu/libm-test-ulps: Update.
43370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43372         [BZ #16789]
43373         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43374         instead of using underflowing value in computing result.
43375         * math/s_clog10.c (__clog10): Likewise.
43376         * math/s_clog10f.c (__clog10f): Likewise.
43377         * math/s_clog10l.c (__clog10l): Likewise.
43378         * math/s_clogf.c (__clogf): Likewise.
43379         * math/s_clogl.c (__clogl): Likewise.
43380         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43381         (clog10_test): Likewise.
43382         * sysdeps/i386/fpu/libm-test-ulps: Update.
43383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43385 2014-04-02  Alan Modra  <amodra@gmail.com>
43387         [BZ #16739]
43388         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43389         output when value is near a power of two.  Use int64_t for lx and
43390         remove casts.  Use decimal rather than hex exponent constants.
43391         Don't use long double multiplication when double will suffice.
43392         * math/libm-test.inc (nextafter_test_data): Add tests.
43393         * NEWS: Add 16739 and 16786 to bug list.
43395         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43397         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43399 2014-04-01  Will Newton  <will.newton@linaro.org>
43401         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43402         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
43404 2014-04-01  Florian Weimer  <fweimer@redhat.com>
43406         [BZ #13347]
43407         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43408         * nptl/tst-setuid2.c: New file.
43409         * nptl/Makefile (xtests): Add tst-setuid2.
43411 2014-04-01  Alan Modra  <amodra@gmail.com>
43413         [BZ #16786]
43414         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43416 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43418         [BZ #6803]
43419         [BZ #6804]
43420         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43421         set errno as appropriate.
43422         * math/w_scalbf.c (__scalbf): Likewise.
43423         * math/w_scalbl.c (__scalbl): Likewise.
43424         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43425         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43426         * math/libm-test.inc (scalb_test_data): Add errno expectations.
43427         Add more NaN tests.
43429         [BZ #16349]
43430         * math/w_atan2.c: Include <errno.h>.
43431         (__atan2): Set errno for result underflowing to zero.
43432         * math/w_atan2f.c: Include <errno.h>.
43433         (__atan2f): Set errno for result underflowing to zero.
43434         * math/w_atan2l.c: Include <errno.h>.
43435         (__atan2l): Set errno for result underflowing to zero.
43436         * math/auto-libm-test-in: Don't allow missing errno for some atan2
43437         tests.
43438         * math/auto-libm-test-out: Regenerated.
43440 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43442         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43443         Encode instruction correctly in little endian.
43444         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43445         Likewise.
43446         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43447         Likewise.
43448         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43449         Likewise.
43450         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43451         Likewise.
43453 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43455         [BZ #9894]
43456         * sysdeps/unix/sysv/linux/kernel-features.h
43457         [__sparc__ && !__arch64__ && !__sparc_v9__]
43458         (__ASSUME_SET_ROBUST_LIST): Do not define.
43459         [__sparc__ && !__arch64__ && !__sparc_v9__]
43460         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43461         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43462         Likewise.
43463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43464         (__ASSUME_FUTEX_LOCK_PI): Undefine.
43465         (__ASSUME_REQUEUE_PI): Likewise.
43466         (__ASSUME_SET_ROBUST_LIST): Likewise.
43467         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43468         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43469         Undefine.
43470         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43471         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43472         Likewise.
43473         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43474         Likewise.
43475         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43476         Likewise.
43477         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43478         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43479         Undefine.
43480         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43481         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43482         Likewise.
43484         [BZ #16648]
43485         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43486         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43487         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43489 2014-03-31  Will Newton  <will.newton@linaro.org>
43491         * benchtests/Makefile (bench): Add ffs and ffsll to list
43492         of tests.
43493         * benchtests/ffs-inputs: New file.
43494         * benchtests/ffsll-inputs: Likewise.
43496 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
43498         [BZ #16770]
43499         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43500         too large before casting to int.
43501         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43502         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43503         * math/libm-test.inc (scalb_test_data): Add more tests.
43505 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43507         * benchtests/Makefile (DETAILED_OPT): New make option.
43508         (bench-func): Run benchmark program with -d if DETAILED_OPT is
43509         set.
43510         * benchtests/bench-skeleton.c: Include stdbool.h.
43511         (main): Store and print timings per input.
43512         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43513         member to each argument value.
43514         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43515         (_print_arg_data): Initialize per-input timing to 0.
43517         * benchtests/Makefile (timing-type): New binary.
43518         (bench-clean): Also remove bench-timing-type.
43519         (bench): New target for timing-type.
43520         (bench-func): Print output in JSON format.
43521         * benchtests/bench-skeleton.c (main): Print output in JSON
43522         format.
43523         * benchtests/bench-timing-type.c: New file.
43524         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43525         (TIMING_PRINT_STATS): Remove.
43526         * benchtests/scripts/bench.py (_print_arg_data): Store variant
43527         name separately.
43529         * benchtests/bench-modf.c: Remove.
43530         * benchtests/modf-inputs: New inputs file.
43532 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
43534         [BZ #16362]
43535         * math/s_clog10.c (M_PI_LOG10E): New macro.
43536         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43537         imaginary parts are 0.
43538         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43539         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43540         imaginary parts are 0.
43541         * math/s_clog10l.c (M_PI_LOG10El): New macro.
43542         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43543         imaginary parts are 0.
43544         * math/libm-test.inc (clog10_test_data): Update expected results
43545         for when real and imaginary parts are 0.
43547 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
43549         * elf/dl-load.c: Finish conversion of __builtin_expect into
43550         __glibc_{un}likely.
43552 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
43554         [BZ #16348]
43555         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43556         1+x for argument with exponent below -67.
43557         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43558         Likewise.
43559         * math/auto-libm-test-in: Add more tests of exp.
43560         * math/auto-libm-test-out: Regenerated.
43562 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43564         [BZ #16759]
43565         * inet/getnetgrent_r.c (get_nonempty_val): New function.
43566         (nscd_getnetgrent): Use it.
43568         [BZ #16760]
43569         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43570         of stpcpy.
43572 2014-03-27  Andi Kleen  <ak@linux.intel.com>
43574         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43575         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43576         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43577         (lll_robust_unlock): Remove out of line section. Use cfi
43578         intrinsics.
43579         (LLL_STUB_UNWIND_INFO*): Remove.
43580         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43581         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43582         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43583         (lll_robust_unlock): Remove out of line section. Use cfi
43584         intrinsics.
43585         (LLL_STUB_UNWIND_INFO*): Remove.
43587 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43589         [BZ #16758]
43590         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43591         blank values.
43593 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
43595         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43597 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
43599         [BZ #16198]
43600         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43601         fnstenv.
43602         * math/test-fenv-preserve.c: New file.
43603         * math/Makefile (tests): Add test-fenv-preserve.
43605 2014-03-26  Will Newton <will.newton@linaro.org>
43607         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43609 2014-03-25  Roland McGrath  <roland@hack.frob.com>
43611         * scripts/versionlist.awk: Partition the version sets and emit all
43612         GLIBC_* (sorted) before all others (sorted).
43614 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43616         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43617         GLIBC_2.2.5 version.
43619 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43621         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43622         calls.
43624         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43625         previous change.
43627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43629 2014-03-25  Andreas Schwab  <schwab@suse.de>
43631         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43632         label to be used after in6ailist is initialized.
43634 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43636         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43637         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43639 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43641         [BZ #16357]
43642         [BZ #16599]
43643         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43644         min_plus_half.
43645         (fp_formats): Update initializers.
43646         (init_fp_formats): Initialize new field.
43647         (output_for_one_input_case): Allow underflow for results up to
43648         min_plus_half.
43649         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43650         * math/auto-libm-test-in: Don't mark some underflows from asin and
43651         atanh as spurious.
43652         * math/auto-libm-test-out: Regenerated.
43653         * sysdeps/i386/fpu/libm-test-ulps: Update.
43654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43656 2014-03-25  Andreas Schwab  <schwab@suse.de>
43658         * libio/Makefile (tst-ftell-partial-wide-ENV)
43659         (tst-ftell-active-handler-ENV): Define.
43661 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
43663         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43665 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43667         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43669 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43671         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43672         * sysdeps/x86_64/fpu/multiarch/e_exp.c
43673         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43675 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43677         [BZ #16634]
43678         * elf/dl-load.c (open_verify): Add mode parameter.
43679         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43680         (open_path): Change from boolean 'secure' to complete flag 'mode'
43681         (_dl_map_object): Adjust.
43682         * elf/Makefile (tests): Add tst-dlopen-aout.
43683         * elf/tst-dlopen-aout.c: New test.
43685 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
43687         [BZ #16714]
43688         * sysdeps/unix/sysv/linux/s390/bits/stat.h
43689         (struct stat): Rename member pad0 to __glibc_reserved0.
43691         [BZ #16712]
43692         * sysdeps/s390/s390-32/bits/wordsize.h
43693         (__WORDSIZE32_SIZE_ULONG): New define.
43694         * sysdeps/s390/s390-64/bits/wordsize.h
43695         (__WORDSIZE32_SIZE_ULONG): Likewise.
43696         * sysdeps/generic/stdint.h (SIZE_MAX):
43697         Define as UL if __WORDSIZE32_SIZE_ULONG.
43699         [BZ #16713]
43700         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43701         (__glibc_reserved0): New variable.
43702         (sa_flags): Change type to int.
43704         * posix/Makefile (before-compile): Use += before-compile instead
43705         of a :=.
43707         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43708         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43710 2014-03-20  Andreas Schwab  <schwab@suse.de>
43712         [BZ #16743]
43713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43714         non-matching result from nscd.
43716 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43718         * scripts/bench.py: Moved to ...
43719         * benchtests/scripts/bench.py: ... here.
43720         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43722 2014-03-24  Andreas Schwab  <schwab@suse.de>
43724         [BZ #16002]
43725         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43726         alloca_account and account alloca use for struct in6ailist.
43728 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43730         [BZ #16284]
43731         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43732         rounding mode to recompute results that overflow to infinity or
43733         underflow to zero.
43734         * math/auto-libm-test-in: Don't mark tests as expected to fail for
43735         bug 16284.
43736         * math/auto-libm-test-out: Regenerated.
43737         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43738         (ccosh_test): Likewise.
43739         (csin_test_data): Use plus_oflow.
43740         (csin_test): Use ALL_RM_TEST.
43741         (csinh_test_data): Use plus_oflow.
43742         (csinh_test): Use ALL_RM_TEST.
43743         * sysdeps/i386/fpu/libm-test-ulps: Update.
43744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43746 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
43748         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43749         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43750         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43752         [BZ #16731]
43753         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43754         when x - 1 is zero.
43755         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43756         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43757         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43758         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43759         argument is 1.
43760         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43761         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43762         zero.
43763         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43764         * sysdeps/i386/fpu/libm-test-ulps: Update.
43765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43767 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43769         * scripts/bench.pl: Remove file.
43770         * scripts/bench.py: New benchmark script.
43771         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43772         * benchtests/README: Mention python dependency.
43773         * scripts/pylintrc: New file.
43774         * scripts/pylint: New file.
43776         * bits/mathdef.h: Use #ifdef instead of #if.
43777         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43778         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43779         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43780         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43781         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43782         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43784 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43785             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43787         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43789         and strpbrk-ppc64 objects.
43790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43791         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43792         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43793         multiarch strpbrk for POWER7.
43794         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43795         multiarch strpbrk for PPC64.
43796         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43797         ifunc selector.
43798         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43799         strpbrk for POWER7.
43801 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43803         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43804         (atan_test): Likewise.
43805         (atanh_test_data): Use NO_TEST_INLINE for two tests.
43806         (atanh_test): Use ALL_RM_TEST.
43807         (atan2_test_data): Likewise.
43808         (cabs_test): Likewise.
43809         (cacosh_test): Likewise.
43810         (carg_test): Likewise.
43811         (casin_test): Likewise.
43812         (casinh_test): Likewise.
43813         (cbrt_test): Likewise.
43814         (csqrt_test): Likewise.
43815         (erf_test): Likewise.
43816         (erfc_test): Likewise.
43817         (pow10_test): Likewise.
43818         (exp2_test): Likewise.
43819         (hypot_test): Likewise.
43820         (j0_test): Likewise.
43821         (j1_test): Likewise.
43822         (lgamma_test): Likewise.
43823         (gamma_test): Likewise.
43824         (sincos_test): Likewise.
43825         (tanh_test): Likewise.
43826         (y0_test): Likewise.
43827         (y1_test): Likewise.
43828         * sysdeps/i386/fpu/libm-test-ulps: Update.
43829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43831 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43833         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43835         and strcspn-ppc64 objects.
43836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43837         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43838         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43839         multiarch strcspn for POWER7.
43840         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43841         multiarch strcspn for PPC64.
43842         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43843         ifunc selector.
43844         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43845         strcspn for POWER7.
43847 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43849         * math/gen-libm-test.pl (generate_testfile): Expect only function
43850         name as argument to AUTO_TESTS_* and pass results for all rounding
43851         modes to parse_args.
43852         (parse_auto_input): Separate inputs of automatic tests from
43853         outputs before storing in %auto_tests.
43854         * math/libm-test.inc (acos_test_data): Update call to
43855         AUTO_TESTS_f_f.
43856         (acos_test): Use ALL_RM_TEST.
43857         (acos_tonearest_test_data): Remove.
43858         (acos_test_tonearest): Likewise.
43859         (acos_towardzero_test_data): Likewise.
43860         (acos_test_towardzero): Likewise.
43861         (acos_downward_test_data): Likewise.
43862         (acos_test_downward): Likewise.
43863         (acos_upward_test_data): Likewise.
43864         (acos_test_upward): Likewise.
43865         (acosh_test_data): Update call to AUTO_TESTS_f_f.
43866         (asin_test_data): Likewise.
43867         (asin_test): Use ALL_RM_TEST.
43868         (asin_tonearest_test_data): Remove.
43869         (asin_test_tonearest): Likewise.
43870         (asin_towardzero_test_data): Likewise.
43871         (asin_test_towardzero): Likewise.
43872         (asin_downward_test_data): Likewise.
43873         (asin_test_downward): Likewise.
43874         (asin_upward_test_data): Likewise.
43875         (asin_test_upward): Likewise.
43876         (asinh_test_data): Update call to AUTO_TESTS_f_f.
43877         (atan_test_data): Likewise.
43878         (atanh_test_data): Likewise.
43879         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43880         (cabs_test_data): Update call to AUTO_TESTS_c_f.
43881         (carg_test_data): Likewise.
43882         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43883         (ccos_test_data): Update call to AUTO_TESTS_c_c.
43884         (ccosh_test_data): Likewise.
43885         (cexp_test_data): Likewise.
43886         (clog_test_data): Likewise.
43887         (clog10_test_data): Likewise.
43888         (cos_test_data): Update call to AUTO_TESTS_f_f.
43889         (cos_test): Use ALL_RM_TEST.
43890         (cos_tonearest_test_data): Remove.
43891         (cos_test_tonearest): Likewise.
43892         (cos_towardzero_test_data): Likewise.
43893         (cos_test_towardzero): Likewise.
43894         (cos_downward_test_data): Likewise.
43895         (cos_test_downward): Likewise.
43896         (cos_upward_test_data): Likewise.
43897         (cos_test_upward): Likewise.
43898         (cosh_test_data): Update call to AUTO_TESTS_f_f.
43899         (cosh_test): Use ALL_RM_TEST.
43900         (cosh_tonearest_test_data): Remove.
43901         (cosh_test_tonearest): Likewise.
43902         (cosh_towardzero_test_data): Likewise.
43903         (cosh_test_towardzero): Likewise.
43904         (cosh_downward_test_data): Likewise.
43905         (cosh_test_downward): Likewise.
43906         (cosh_upward_test_data): Likewise.
43907         (cosh_test_upward): Likewise.
43908         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43909         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43910         (ctan_test_data): Likewise.
43911         (ctan_test): Use ALL_RM_TEST.
43912         (ctan_tonearest_test_data): Remove.
43913         (ctan_test_tonearest): Likewise.
43914         (ctan_towardzero_test_data): Likewise.
43915         (ctan_test_towardzero): Likewise.
43916         (ctan_downward_test_data): Likewise.
43917         (ctan_test_downward): Likewise.
43918         (ctan_upward_test_data): Likewise.
43919         (ctan_test_upward): Likewise.
43920         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43921         (ctanh_test): Use ALL_RM_TEST.
43922         (ctanh_tonearest_test_data): Remove.
43923         (ctanh_test_tonearest): Likewise.
43924         (ctanh_towardzero_test_data): Likewise.
43925         (ctanh_test_towardzero): Likewise.
43926         (ctanh_downward_test_data): Likewise.
43927         (ctanh_test_downward): Likewise.
43928         (ctanh_upward_test_data): Likewise.
43929         (ctanh_test_upward): Likewise.
43930         (erf_test_data): Update call to AUTO_TESTS_f_f.
43931         (erfc_test_data): Likewise.
43932         (exp_test_data): Likewise.
43933         (exp_test): Use ALL_RM_TEST.
43934         (exp_tonearest_test_data): Remove.
43935         (exp_test_tonearest): Likewise.
43936         (exp_towardzero_test_data): Likewise.
43937         (exp_test_towardzero): Likewise.
43938         (exp_downward_test_data): Likewise.
43939         (exp_test_downward): Likewise.
43940         (exp_upward_test_data): Likewise.
43941         (exp_test_upward): Likewise.
43942         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43943         (exp10_test): Use ALL_RM_TEST.
43944         (exp10_tonearest_test_data): Remove.
43945         (exp10_test_tonearest): Likewise.
43946         (exp10_towardzero_test_data): Likewise.
43947         (exp10_test_towardzero): Likewise.
43948         (exp10_downward_test_data): Likewise.
43949         (exp10_test_downward): Likewise.
43950         (exp10_upward_test_data): Likewise.
43951         (exp10_test_upward): Likewise.
43952         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43953         (expm1_test_data): Likewise.
43954         (expm1_test): Use ALL_RM_TEST.
43955         (expm1_tonearest_test_data): Remove.
43956         (expm1_test_tonearest): Likewise.
43957         (expm1_towardzero_test_data): Likewise.
43958         (expm1_test_towardzero): Likewise.
43959         (expm1_downward_test_data): Likewise.
43960         (expm1_test_downward): Likewise.
43961         (expm1_upward_test_data): Likewise.
43962         (expm1_test_upward): Likewise.
43963         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43964         (fma_test): Use ALL_RM_TEST.
43965         (fma_towardzero_test_data): Remove.
43966         (fma_test_towardzero): Likewise.
43967         (fma_downward_test_data): Likewise.
43968         (fma_test_downward): Likewise.
43969         (fma_upward_test_data): Likewise.
43970         (fma_test_upward): Likewise.
43971         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43972         (j0_test_data): Update call to AUTO_TESTS_f_f.
43973         (j1_test_data): Likewise.
43974         (jn_test_data): Update call to AUTO_TESTS_if_f.
43975         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43976         (log_test_data): Update call to AUTO_TESTS_f_f.
43977         (log10_test_data): Likewise.
43978         (log1p_test_data): Likewise.
43979         (log2_test_data): Likewise.
43980         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43981         (pow_tonearest_test_data): Likewise.
43982         (sin_test_data): Update call to AUTO_TESTS_f_f.
43983         (sin_test): Use ALL_RM_TEST.
43984         (sin_tonearest_test_data): Remove.
43985         (sin_test_tonearest): Likewise.
43986         (sin_towardzero_test_data): Likewise.
43987         (sin_test_towardzero): Likewise.
43988         (sin_downward_test_data): Likewise.
43989         (sin_test_downward): Likewise.
43990         (sin_upward_test_data): Likewise.
43991         (sin_test_upward): Likewise.
43992         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43993         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43994         (sinh_test): Use ALL_RM_TEST.
43995         (sinh_tonearest_test_data): Remove.
43996         (sinh_test_tonearest): Likewise.
43997         (sinh_towardzero_test_data): Likewise.
43998         (sinh_test_towardzero): Likewise.
43999         (sinh_downward_test_data): Likewise.
44000         (sinh_test_downward): Likewise.
44001         (sinh_upward_test_data): Likewise.
44002         (sinh_test_upward): Likewise.
44003         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
44004         (sqrt_test): Use ALL_RM_TEST.
44005         (sqrt_tonearest_test_data): Remove.
44006         (sqrt_test_tonearest): Likewise.
44007         (sqrt_towardzero_test_data): Likewise.
44008         (sqrt_test_towardzero): Likewise.
44009         (sqrt_downward_test_data): Likewise.
44010         (sqrt_test_downward): Likewise.
44011         (sqrt_upward_test_data): Likewise.
44012         (sqrt_test_upward): Likewise.
44013         (tan_test_data): Update call to AUTO_TESTS_f_f.
44014         (tan_test): Use ALL_RM_TEST.
44015         (tan_tonearest_test_data): Remove.
44016         (tan_test_tonearest): Likewise.
44017         (tan_towardzero_test_data): Likewise.
44018         (tan_test_towardzero): Likewise.
44019         (tan_downward_test_data): Likewise.
44020         (tan_test_downward): Likewise.
44021         (tan_upward_test_data): Likewise.
44022         (tan_test_upward): Likewise.
44023         (tanh_test_data): Update call to AUTO_TESTS_f_f.
44024         (tgamma_test_data): Likewise.
44025         (y0_test_data): Likewise.
44026         (y1_test_data): Likewise.
44027         (yn_test_data): Update call to AUTO_TESTS_if_f.
44028         (main): Do not call removed functions.
44030 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
44032         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
44033         (ldexp_test_data): Remove.
44034         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
44035         scalbn_test_data.
44036         (scalb_test): Use ALL_RM_TEST.
44038 2014-03-19  Andreas Schwab  <schwab@suse.de>
44040         * nscd/nscd.service: Also invalidate netgroup cache on reload.
44042 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
44044         [BZ #16649]
44045         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44046         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
44047         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
44048         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44049         (__ASSUME_PREADV): Undefine.
44050         (__ASSUME_PWRITEV): Likewise.
44052 2014-03-18  Roland McGrath  <roland@hack.frob.com>
44054         * bits/mman-linux.h: Add comment about non-Linux use.
44055         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
44056         bits/mman-linux.h resting place.
44058         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
44059         * bits/mman-linux.h: ... here.
44061 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44063         * conform/conformtest.pl: Add standard definition when calling C
44064         preprocessor on data files.
44065         (checknamespace): Remove unused variable.
44067 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
44069         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
44070         minus_oflow, plus_uflow and minus_uflow in expected results.
44071         * math/libm-test.inc (scalbn_test_data): Add more tests of
44072         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
44073         minus_uflow.
44074         (scalbn_test): Use ALL_RM_TEST.
44075         (scalbln_test_data): Add more tests of negative arguments.  Use
44076         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
44077         (scalbln_test): Use ALL_RM_TEST.
44079 2014-03-18  Roland McGrath  <roland@hack.frob.com>
44081         * scripts/abilist.awk: Ignore symbols marked with .hidden.
44083 2014-03-18  Will Newton  <will.newton@linaro.org>
44085         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
44086         inaccurate comment.
44088 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
44090         * Makerules [!subdir] (check-abi): Exit with error status if a
44091         test failed.
44093 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44095         * math/libm-test.inc (nearbyint_test_data): Include all tests used
44096         for rint.  Include results for all rounding modes.
44097         (nearbyint_test): Use ALL_RM_TEST.
44098         (rint_test_data): Include all tests used for nearbyint.
44100 2014-03-17  Will Newton  <will.newton@linaro.org>
44102         * nptl/sysdeps/pthread/pthread.h: Revert previous
44103         change.
44105         * sysdeps/generic/ldsodefs.h: Revert previous
44106         change.
44108         * libio/genops.c: Revert previous change.
44109         * libio/libioP.h: Likewise.
44110         * stdio-common/vfprintf.c: Likewise.
44112         * sysdeps/generic/math_private.h: Revert previous
44113         change.
44115         * sysdeps/generic/math_private.h: Check whether
44116         HAVE_RM_CTX is defined with #ifdef rather
44117         than #if.
44119         * argp/argp-fmtstream.h: Check whether
44120         __STRICT_ANSI__ is defined with #ifdef rather
44121         than #if.
44122         * argp/argp.h: Likewise.
44124         * libio/genops.c: Check whether
44125         _IO_JUMPS_OFFSET is defined with #ifdef rather
44126         than #if.
44127         * libio/libioP.h: Likewise.
44128         * stdio-common/vfprintf.c: Likewise.
44130         * sysdeps/generic/ldsodefs.h: Check whether
44131         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44132         than #if.
44134         * nptl/sysdeps/pthread/pthread.h: Check
44135         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44136         its value.
44138 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44140         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44141         setting O_APPEND.
44142         * libio/tst-ftell-active-handler.c (do_append_test): Add a
44143         test case.
44145         [BZ #16680]
44146         * libio/fileops.c (_IO_file_open): Seek to end of file but
44147         don't cache the offset.
44148         (get_file_offset): Remove function.
44149         (do_ftell): Use cached offset when available.
44150         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44151         don't cache the offset.
44152         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44153         case.
44154         (do_one_test): Call it.
44155         (do_ftell_test): Fix up expected old offset for a+ mode.
44156         * libio/wfileops.c (do_ftell_wide): Used cached offset when
44157         available.
44159         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44160         up test status with function return status.
44161         (do_write_test): Likewise.
44162         (do_append_test): Likewise.
44164         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44165         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44166         Remove.
44168 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44170         * math/gen-libm-test.pl (parse_args): Handle results specified for
44171         each rounding mode separately.
44172         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44173         tests and results from lrint_tonearest_test_data,
44174         lrint_towardzero_test_data, lrint_downward_test_data and
44175         lrint_upward_test_data.
44176         (lrint_test): Use ALL_RM_TEST.
44177         (lrint_tonearest_test_data): Remove.
44178         (lrint_test_tonearest): Likewise.
44179         (lrint_towardzero_test_data): Likewise.
44180         (lrint_test_towardzero): Likewise.
44181         (lrint_downward_test_data): Likewise.
44182         (lrint_test_downward): Likewise.
44183         (lrint_upward_test_data): Likewise.
44184         (lrint_test_upward): Likewise.
44185         (llrint_test_data): Merge in per-rounding-mode tests and results
44186         from llrint_tonearest_test_data, llrint_towardzero_test_data,
44187         llrint_downward_test_data and llrint_upward_test_data.
44188         (llrint_test): Use ALL_RM_TEST.
44189         (llrint_tonearest_test_data): Remove.
44190         (llrint_test_tonearest): Likewise.
44191         (llrint_towardzero_test_data): Likewise.
44192         (llrint_test_towardzero): Likewise.
44193         (llrint_downward_test_data): Likewise.
44194         (llrint_test_downward): Likewise.
44195         (llrint_upward_test_data): Likewise.
44196         (llrint_test_upward): Likewise.
44197         (rint_test_data): Merge in per-rounding-mode tests and results
44198         from rint_tonearest_test_data, rint_towardzero_test_data,
44199         rint_downward_test_data and rint_upward_test_data.  Add
44200         per-rounding-mode results for tests not in those arrays.
44201         (rint_test): Use ALL_RM_TEST.
44202         (rint_tonearest_test_data): Remove.
44203         (rint_test_tonearest): Likewise.
44204         (rint_towardzero_test_data): Likewise.
44205         (rint_test_towardzero): Likewise.
44206         (rint_downward_test_data): Likewise.
44207         (rint_test_downward): Likewise.
44208         (rint_upward_test_data): Likewise.
44209         (rint_test_upward): Likewise.
44210         (main): Don't call removed functions.
44212 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44214         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44215         "Compiled on ..." crapola.  It is anti-useful.
44217 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
44219         * scripts/evaluate-test.sh: Handle fourth argument to determine
44220         whether test run should stop on failure.
44221         * Makeconfig (stop-on-test-failure): New variable.
44222         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44223         $(stop-on-test-failure).
44224         * Makefile (tests): Give a summary of results from testing and
44225         exit with failure status if they include an ERROR or FAIL.
44226         (xtests): Likewise.
44227         * manual/install.texi (Configuring and compiling): Mention
44228         stop-on-test-failure=y.
44229         * INSTALL: Regenerated.
44231 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44233         * scripts/versionlist.awk: New file.
44234         * Makerules [$(build-shared) = yes]
44235         (postclean-generated): Add Versions.def, not Versions.def.v and
44236         Versions.def.v.i.
44237         ($(common-objpfx)Versions.def.v.i): Target removed.
44238         ($(common-objpfx)Versions.def): New target.
44239         ($(common-objpfx)Versions.all): Depend on that rather that
44240         $(common-objpfx)Versions.def.v.
44241         * Versions.def: File removed.
44243         * Makeconfig (+gccwarn): Add -Wundef.
44244         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44245         a dl-sysdep.h breaking its contract.
44246         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44247         * include/stackinfo.h: New file.
44248         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44249         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44250         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44251         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44252         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44253         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44254         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44255         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44256         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44257         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44258         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44259         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44260         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44261         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44262         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44264 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44266         [BZ #16707]
44267         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44268         implementation.
44269         * math/libm-test.inc (round_test_data): Add more tests.
44271         [BZ #16706]
44272         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44273         implementation.
44274         * math/libm-test.inc (nearbyint_test_data): Add more tests.
44276         [BZ #16701]
44277         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44278         implementation.
44279         * math/libm-test.inc (ceil_test_data): Add more tests.
44281         * math/libm-test.inc (trunc_test_data): Add more tests related to
44282         BZ#16414.
44284 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44286         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44287         with #if rather than #ifdef.
44288         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44290 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
44292         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44293         first.  Disable AVX-512 GCC support if assembler doesn't support
44294         it.
44295         * sysdeps/x86_64/configure: Regenerated.
44297 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
44299         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44300         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44301         (__old_pthread_attr_setstack): Likewise.
44302         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44303         [!_STACK_GROWS_DOWN]: Likewise.
44305 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
44307         * config.make.in (have-bash2): Delete.
44308         * configure.ac (libc_cv_have_bash2): Delete.
44309         * configure: Regenerate.
44310         * elf/Makefile (common-ldd-rewrite): Rename to ...
44311         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
44312         (sh-ldd-rewrite): Delete.
44313         (bash-ldd-rewrite): Delete.
44314         (have-bash2): Delete checks.
44315         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44316         ldd-rewrite.
44318         * config.make.in (have-ksh): Delete.
44319         (KSH): Delete.
44320         * configure.ac (libc_cv_have_ksh): Delete.
44321         * configure: Regenerate.
44323         * elf/Makefile: Delete $(have-ksh) check.
44324         ($(objpfx)sotruss): Change KSH to BASH.
44325         * elf/sotruss.ksh: Rename to ...
44326         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
44327         function style to match POSIX.  Drop ksh vim mode setting.
44329         * manual/time.texi (Specifying the Time Zone with TZ): Change
44330         Tuesday to Thursday.
44332         * debug/tst-longjmp_chk2.c: Update header comment.
44333         (stackoverflow_handler): Add comment.  Call assert on pass value.
44335 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
44337         [BZ #16194]
44338         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44339         (HAVE_AVX512_ASM_SUPPORT): Likewise.
44340         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44341         (La_x86_64_vector): Add zmm.
44342         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44343         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44344         ($(objpfx)tst-audit10): New target.
44345         ($(objpfx)tst-audit10.out): Likewise.
44346         (tst-audit10-ENV): New.
44347         (AVX512-CFLAGS): Likewise.
44348         (CFLAGS-tst-audit10.c): Likewise.
44349         (CFLAGS-tst-auditmod10a.c): Likewise.
44350         (CFLAGS-tst-auditmod10b.c): Likewise.
44351         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44352         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44353         * sysdeps/x86_64/configure: Regenerated.
44354         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44355         AVX-512 zmm register support.
44356         (_dl_x86_64_save_sse): Likewise.
44357         (_dl_x86_64_restore_sse): Likewise.
44358         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44359         size vector registers.
44360         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44361         (ZMM_SIZE): Likewise.
44362         * sysdeps/x86_64/tst-audit10.c: New file.
44363         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44364         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44366 2014-03-13  Roland McGrath  <roland@hack.frob.com>
44368         * configure.ac (HAVE_EHDR_START): New check.
44369         * configure: Regenerated.
44370         * config.h.in (HAVE_EHDR_START): New #undef.
44371         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44372         assuming the lowest-addressed segment maps the start of the file.
44374 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
44376         * INSTALL: Regenerated.
44378 2014-03-13  Will Newton  <will.newton@linaro.org>
44380         * manual/setjmp.texi (System V contexts): Improve
44381         clarity and grammar of documentation.
44383 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
44385         [BZ #16381]
44386         * elf/Makefile (tests): Add tst-pie2.
44387         (tests-pie): Add tst-pie2.
44388         * elf/tst-pie2.c: New file.
44389         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44390         for ET_EXEC.
44391         * elf/rtld.c (map_doit): Load executable as lt_executable.
44392         (dl_main): Likewise.
44394 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
44396         [BZ #16642]
44397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44398         (__ASSUME_PSELECT): Undefine.
44400 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44402         [BZ #16689]
44403         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44404         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44405         static build.
44406         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44407         selector for static builds.
44409 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44411         [BZ #16695]
44412         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44413         key in the buffer.
44415 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44417         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44418         IFUNC selector for static builds.
44420 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
44422         * sysdeps/mips/math_private.h [__mips_hard_float]
44423         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44424         libc_feresetround_mips_ctx.
44425         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44426         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44427         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44429         [BZ #16677]
44430         * math/s_nextafter.c (__nextafter): Do not return value from
44431         overflowing computation.
44432         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44433         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44434         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44435         Likewise.
44436         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44437         Likewise.
44438         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44439         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44441 2014-03-11  Roland McGrath  <roland@hack.frob.com>
44443         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44444         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44445         Move sfi_sp use from the load-multiple (that no longer sets sp) to
44446         the new mov targetting sp.
44448 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44450         [BZ #16683]
44451         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44452         Define it for static builds as well.
44453         (NO_BZERO_IMPL): Likewise.
44455 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44457         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44458         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44459         multiarch strspn for PPC64.
44460         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44461         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44463         (__libc_ifunc_impl_list): Likewise.
44464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44465         multiarch optimizations
44466         * string/strspn.c (strspn): Using macro to redefine symbol name.
44468 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44469             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44471         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44472         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44473         multiarch strncat for PPC64.
44474         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44475         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44477         (__libc_ifunc_impl_list): Likewise.
44478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44479         multiarch optimizations
44481 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44483         [BZ #16639]
44484         * nscd/nscd.service: Make service type forking.
44486 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44488         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44489         sign in non default rounding modes.
44490         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44492 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
44494         * math/libm-test.inc (ALL_RM_TEST): New macro.
44495         (ceil_test): Use ALL_RM_TEST.
44496         (cimag_test): Likewise.
44497         (conj_test): Likewise.
44498         (copysign_test): Likewise.
44499         (cproj_test): Likewise.
44500         (creal_test): Likewise.
44501         (fabs_test): Likewise.
44502         (floor_test): Likewise.
44503         (fmax_test): Likewise.
44504         (fmin_test): Likewise.
44505         (fmod_test): Likewise.
44506         (fpclassify_test): Likewise.
44507         (frexp_test): Likewise.
44508         (ilogb_test): Likewise.
44509         (isfinite_test): Likewise.
44510         (finite_test): Likewise.
44511         (isgreater_test): Likewise.
44512         (isgreaterequal_test): Likewise.
44513         (isinf_test): Likewise.
44514         (isless_test): Likewise.
44515         (islessequal_test): Likewise.
44516         (islessgreater_test): Likewise.
44517         (isnan_test): Likewise.
44518         (isnormal_test): Likewise.
44519         (issignaling_test): Likewise.
44520         (isunordered_test): Likewise.
44521         (logb_test): Likewise.
44522         (logb_downward_test_data): Remove.
44523         (logb_test_downward): Likewise.
44524         (lround_test): Use ALL_RM_TEST.
44525         (llround_test): Likewise.
44526         (modf_test): Likewise.
44527         (nexttoward_test): Likewise.
44528         (remainder_test): Likewise.
44529         (drem_test): Likewise.
44530         (remainder_tonearest_test_data): Likewise.
44531         (remainder_test_tonearest): Likewise.
44532         (drem_test_tonearest): Likewise.
44533         (remainder_towardzero_test_data): Likewise.
44534         (remainder_test_towardzero): Likewise.
44535         (drem_test_towardzero): Likewise.
44536         (remainder_downward_test_data): Likewise.
44537         (remainder_test_downward): Likewise.
44538         (drem_test_downward): Likewise.
44539         (remainder_upward_test_data): Likewise.
44540         (remainder_test_upward): Likewise.
44541         (drem_test_upward): Likewise.
44542         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
44543         (round_test): Use ALL_RM_TEST.
44544         (signbit_test): Likewise.
44545         (trunc_test): Likewise.
44546         (significand_test): Likewise.
44547         (main): Don't call removed functions.
44549 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44551         [BZ #16674]
44552         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44553         || __USE_XOPEN2K8].
44554         (ILL_ILLOPN): Likewise.
44555         (ILL_ILLADR): Likewise.
44556         (ILL_ILLTRP): Likewise.
44557         (ILL_PRVOPC): Likewise.
44558         (ILL_PRVREG): Likewise.
44559         (ILL_COPROC): Likewise.
44560         (ILL_BADSTK): Likewise.
44561         (FPE_INTDIV): Likewise.
44562         (FPE_INTOVF): Likewise.
44563         (FPE_FLTDIV): Likewise.
44564         (FPE_FLTOVF): Likewise.
44565         (FPE_FLTUND): Likewise.
44566         (FPE_FLTRES): Likewise.
44567         (FPE_FLTINV): Likewise.
44568         (FPE_FLTSUB): Likewise.
44569         (SEGV_MAPERR): Likewise.
44570         (SEGV_ACCERR): Likewise.
44571         (BUS_ADRALN): Likewise.
44572         (BUS_ADRERR): Likewise.
44573         (BUS_OBJERR): Likewise.
44574         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44575         (TRAP_TRACE): Likewise.
44576         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44577         __USE_XOPEN2K8].
44578         (CLD_KILLED): Likewise.
44579         (CLD_DUMPED): Likewise.
44580         (CLD_TRAPPED): Likewise.
44581         (CLD_STOPPED): Likewise.
44582         (CLD_CONTINUED): Likewise.
44583         (POLL_IN): Likewise.
44584         (POLL_OUT): Likewise.
44585         (POLL_MSG): Likewise.
44586         (POLL_ERR): Likewise.
44587         (POLL_PRI): Likewise.
44588         (POLL_HUP): Likewise.
44589         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44590         Likewise.
44591         (ILL_ILLOPN): Likewise.
44592         (ILL_ILLADR): Likewise.
44593         (ILL_ILLTRP): Likewise.
44594         (ILL_PRVOPC): Likewise.
44595         (ILL_PRVREG): Likewise.
44596         (ILL_COPROC): Likewise.
44597         (ILL_BADSTK): Likewise.
44598         (FPE_INTDIV): Likewise.
44599         (FPE_INTOVF): Likewise.
44600         (FPE_FLTDIV): Likewise.
44601         (FPE_FLTOVF): Likewise.
44602         (FPE_FLTUND): Likewise.
44603         (FPE_FLTRES): Likewise.
44604         (FPE_FLTINV): Likewise.
44605         (FPE_FLTSUB): Likewise.
44606         (SEGV_MAPERR): Likewise.
44607         (SEGV_ACCERR): Likewise.
44608         (BUS_ADRALN): Likewise.
44609         (BUS_ADRERR): Likewise.
44610         (BUS_OBJERR): Likewise.
44611         (BUS_MCEERR_AR): Likewise.
44612         (BUS_MCEERR_AO): Likewise.
44613         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44614         (TRAP_TRACE): Likewise.
44615         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44616         __USE_XOPEN2K8].
44617         (CLD_KILLED): Likewise.
44618         (CLD_DUMPED): Likewise.
44619         (CLD_TRAPPED): Likewise.
44620         (CLD_STOPPED): Likewise.
44621         (CLD_CONTINUED): Likewise.
44622         (POLL_IN): Likewise.
44623         (POLL_OUT): Likewise.
44624         (POLL_MSG): Likewise.
44625         (POLL_ERR): Likewise.
44626         (POLL_PRI): Likewise.
44627         (POLL_HUP): Likewise.
44628         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44629         (ILL_ILLOPN): Likewise.
44630         (ILL_ILLADR): Likewise.
44631         (ILL_ILLTRP): Likewise.
44632         (ILL_PRVOPC): Likewise.
44633         (ILL_PRVREG): Likewise.
44634         (ILL_COPROC): Likewise.
44635         (ILL_BADSTK): Likewise.
44636         (FPE_INTDIV): Likewise.
44637         (FPE_INTOVF): Likewise.
44638         (FPE_FLTDIV): Likewise.
44639         (FPE_FLTOVF): Likewise.
44640         (FPE_FLTUND): Likewise.
44641         (FPE_FLTRES): Likewise.
44642         (FPE_FLTINV): Likewise.
44643         (FPE_FLTSUB): Likewise.
44644         (SEGV_MAPERR): Likewise.
44645         (SEGV_ACCERR): Likewise.
44646         (BUS_ADRALN): Likewise.
44647         (BUS_ADRERR): Likewise.
44648         (BUS_OBJERR): Likewise.
44649         (BUS_MCEERR_AR): Likewise.
44650         (BUS_MCEERR_AO): Likewise.
44651         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44652         (TRAP_TRACE): Likewise.
44653         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44654         __USE_XOPEN2K8].
44655         (CLD_KILLED): Likewise.
44656         (CLD_DUMPED): Likewise.
44657         (CLD_TRAPPED): Likewise.
44658         (CLD_STOPPED): Likewise.
44659         (CLD_CONTINUED): Likewise.
44660         (POLL_IN): Likewise.
44661         (POLL_OUT): Likewise.
44662         (POLL_MSG): Likewise.
44663         (POLL_ERR): Likewise.
44664         (POLL_PRI): Likewise.
44665         (POLL_HUP): Likewise.
44666         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44667         Likewise.
44668         (ILL_ILLOPN): Likewise.
44669         (ILL_ILLADR): Likewise.
44670         (ILL_ILLTRP): Likewise.
44671         (ILL_PRVOPC): Likewise.
44672         (ILL_PRVREG): Likewise.
44673         (ILL_COPROC): Likewise.
44674         (ILL_BADSTK): Likewise.
44675         (ILL_BADIADDR): Likewise.
44676         (ILL_BREAK): Likewise.
44677         (FPE_INTDIV): Likewise.
44678         (FPE_INTOVF): Likewise.
44679         (FPE_FLTDIV): Likewise.
44680         (FPE_FLTOVF): Likewise.
44681         (FPE_FLTUND): Likewise.
44682         (FPE_FLTRES): Likewise.
44683         (FPE_FLTINV): Likewise.
44684         (FPE_FLTSUB): Likewise.
44685         (FPE_DECOVF): Likewise.
44686         (FPE_DECDIV): Likewise.
44687         (FPE_DECERR): Likewise.
44688         (FPE_INVASC): Likewise.
44689         (FPE_INVDEC): Likewise.
44690         (SEGV_MAPERR): Likewise.
44691         (SEGV_ACCERR): Likewise.
44692         (SEGV_PSTKOVF): Likewise.
44693         (BUS_ADRALN): Likewise.
44694         (BUS_ADRERR): Likewise.
44695         (BUS_OBJERR): Likewise.
44696         (BUS_MCEERR_AR): Likewise.
44697         (BUS_MCEERR_AO): Likewise.
44698         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44699         (TRAP_TRACE): Likewise.
44700         (TRAP_BRANCH): Likewise.
44701         (TRAP_HWBKPT): Likewise.
44702         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44703         __USE_XOPEN2K8].
44704         (CLD_KILLED): Likewise.
44705         (CLD_DUMPED): Likewise.
44706         (CLD_TRAPPED): Likewise.
44707         (CLD_STOPPED): Likewise.
44708         (CLD_CONTINUED): Likewise.
44709         (POLL_IN): Likewise.
44710         (POLL_OUT): Likewise.
44711         (POLL_MSG): Likewise.
44712         (POLL_ERR): Likewise.
44713         (POLL_PRI): Likewise.
44714         (POLL_HUP): Likewise.
44715         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44716         (ILL_ILLOPN): Likewise.
44717         (ILL_ILLADR): Likewise.
44718         (ILL_ILLTRP): Likewise.
44719         (ILL_PRVOPC): Likewise.
44720         (ILL_PRVREG): Likewise.
44721         (ILL_COPROC): Likewise.
44722         (ILL_BADSTK): Likewise.
44723         (FPE_INTDIV): Likewise.
44724         (FPE_INTOVF): Likewise.
44725         (FPE_FLTDIV): Likewise.
44726         (FPE_FLTOVF): Likewise.
44727         (FPE_FLTUND): Likewise.
44728         (FPE_FLTRES): Likewise.
44729         (FPE_FLTINV): Likewise.
44730         (FPE_FLTSUB): Likewise.
44731         (SEGV_MAPERR): Likewise.
44732         (SEGV_ACCERR): Likewise.
44733         (BUS_ADRALN): Likewise.
44734         (BUS_ADRERR): Likewise.
44735         (BUS_OBJERR): Likewise.
44736         (BUS_MCEERR_AR): Likewise.
44737         (BUS_MCEERR_AO): Likewise.
44738         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44739         (TRAP_TRACE): Likewise.
44740         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44741         __USE_XOPEN2K8].
44742         (CLD_KILLED): Likewise.
44743         (CLD_DUMPED): Likewise.
44744         (CLD_TRAPPED): Likewise.
44745         (CLD_STOPPED): Likewise.
44746         (CLD_CONTINUED): Likewise.
44747         (POLL_IN): Likewise.
44748         (POLL_OUT): Likewise.
44749         (POLL_MSG): Likewise.
44750         (POLL_ERR): Likewise.
44751         (POLL_PRI): Likewise.
44752         (POLL_HUP): Likewise.
44753         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44754         (ILL_ILLOPN): Likewise.
44755         (ILL_ILLADR): Likewise.
44756         (ILL_ILLTRP): Likewise.
44757         (ILL_PRVOPC): Likewise.
44758         (ILL_PRVREG): Likewise.
44759         (ILL_COPROC): Likewise.
44760         (ILL_BADSTK): Likewise.
44761         (FPE_INTDIV): Likewise.
44762         (FPE_INTOVF): Likewise.
44763         (FPE_FLTDIV): Likewise.
44764         (FPE_FLTOVF): Likewise.
44765         (FPE_FLTUND): Likewise.
44766         (FPE_FLTRES): Likewise.
44767         (FPE_FLTINV): Likewise.
44768         (FPE_FLTSUB): Likewise.
44769         (SEGV_MAPERR): Likewise.
44770         (SEGV_ACCERR): Likewise.
44771         (BUS_ADRALN): Likewise.
44772         (BUS_ADRERR): Likewise.
44773         (BUS_OBJERR): Likewise.
44774         (BUS_MCEERR_AR): Likewise.
44775         (BUS_MCEERR_AO): Likewise.
44776         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44777         (TRAP_TRACE): Likewise.
44778         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44779         __USE_XOPEN2K8].
44780         (CLD_KILLED): Likewise.
44781         (CLD_DUMPED): Likewise.
44782         (CLD_TRAPPED): Likewise.
44783         (CLD_STOPPED): Likewise.
44784         (CLD_CONTINUED): Likewise.
44785         (POLL_IN): Likewise.
44786         (POLL_OUT): Likewise.
44787         (POLL_MSG): Likewise.
44788         (POLL_ERR): Likewise.
44789         (POLL_PRI): Likewise.
44790         (POLL_HUP): Likewise.
44791         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44792         (ILL_ILLOPN): Likewise.
44793         (ILL_ILLADR): Likewise.
44794         (ILL_ILLTRP): Likewise.
44795         (ILL_PRVOPC): Likewise.
44796         (ILL_PRVREG): Likewise.
44797         (ILL_COPROC): Likewise.
44798         (ILL_BADSTK): Likewise.
44799         (FPE_INTDIV): Likewise.
44800         (FPE_INTOVF): Likewise.
44801         (FPE_FLTDIV): Likewise.
44802         (FPE_FLTOVF): Likewise.
44803         (FPE_FLTUND): Likewise.
44804         (FPE_FLTRES): Likewise.
44805         (FPE_FLTINV): Likewise.
44806         (FPE_FLTSUB): Likewise.
44807         (SEGV_MAPERR): Likewise.
44808         (SEGV_ACCERR): Likewise.
44809         (BUS_ADRALN): Likewise.
44810         (BUS_ADRERR): Likewise.
44811         (BUS_OBJERR): Likewise.
44812         (BUS_MCEERR_AR): Likewise.
44813         (BUS_MCEERR_AO): Likewise.
44814         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44815         (TRAP_TRACE): Likewise.
44816         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44817         __USE_XOPEN2K8].
44818         (CLD_KILLED): Likewise.
44819         (CLD_DUMPED): Likewise.
44820         (CLD_TRAPPED): Likewise.
44821         (CLD_STOPPED): Likewise.
44822         (CLD_CONTINUED): Likewise.
44823         (POLL_IN): Likewise.
44824         (POLL_OUT): Likewise.
44825         (POLL_MSG): Likewise.
44826         (POLL_ERR): Likewise.
44827         (POLL_PRI): Likewise.
44828         (POLL_HUP): Likewise.
44829         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44830         (ILL_ILLOPN): Likewise.
44831         (ILL_ILLADR): Likewise.
44832         (ILL_ILLTRP): Likewise.
44833         (ILL_PRVOPC): Likewise.
44834         (ILL_PRVREG): Likewise.
44835         (ILL_COPROC): Likewise.
44836         (ILL_BADSTK): Likewise.
44837         (ILL_DBLFLT): Likewise.
44838         (ILL_HARDWALL): Likewise.
44839         (FPE_INTDIV): Likewise.
44840         (FPE_INTOVF): Likewise.
44841         (FPE_FLTDIV): Likewise.
44842         (FPE_FLTOVF): Likewise.
44843         (FPE_FLTUND): Likewise.
44844         (FPE_FLTRES): Likewise.
44845         (FPE_FLTINV): Likewise.
44846         (FPE_FLTSUB): Likewise.
44847         (SEGV_MAPERR): Likewise.
44848         (SEGV_ACCERR): Likewise.
44849         (BUS_ADRALN): Likewise.
44850         (BUS_ADRERR): Likewise.
44851         (BUS_OBJERR): Likewise.
44852         (BUS_MCEERR_AR): Likewise.
44853         (BUS_MCEERR_AO): Likewise.
44854         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44855         (TRAP_TRACE): Likewise.
44856         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44857         __USE_XOPEN2K8].
44858         (CLD_KILLED): Likewise.
44859         (CLD_DUMPED): Likewise.
44860         (CLD_TRAPPED): Likewise.
44861         (CLD_STOPPED): Likewise.
44862         (CLD_CONTINUED): Likewise.
44863         (POLL_IN): Likewise.
44864         (POLL_OUT): Likewise.
44865         (POLL_MSG): Likewise.
44866         (POLL_ERR): Likewise.
44867         (POLL_PRI): Likewise.
44868         (POLL_HUP): Likewise.
44869         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44870         (ILL_ILLOPN): Likewise.
44871         (ILL_ILLADR): Likewise.
44872         (ILL_ILLTRP): Likewise.
44873         (ILL_PRVOPC): Likewise.
44874         (ILL_PRVREG): Likewise.
44875         (ILL_COPROC): Likewise.
44876         (ILL_BADSTK): Likewise.
44877         (FPE_INTDIV): Likewise.
44878         (FPE_INTOVF): Likewise.
44879         (FPE_FLTDIV): Likewise.
44880         (FPE_FLTOVF): Likewise.
44881         (FPE_FLTUND): Likewise.
44882         (FPE_FLTRES): Likewise.
44883         (FPE_FLTINV): Likewise.
44884         (FPE_FLTSUB): Likewise.
44885         (SEGV_MAPERR): Likewise.
44886         (SEGV_ACCERR): Likewise.
44887         (BUS_ADRALN): Likewise.
44888         (BUS_ADRERR): Likewise.
44889         (BUS_OBJERR): Likewise.
44890         (BUS_MCEERR_AR): Likewise.
44891         (BUS_MCEERR_AO): Likewise.
44892         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44893         (TRAP_TRACE): Likewise.
44894         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44895         __USE_XOPEN2K8].
44896         (CLD_KILLED): Likewise.
44897         (CLD_DUMPED): Likewise.
44898         (CLD_TRAPPED): Likewise.
44899         (CLD_STOPPED): Likewise.
44900         (CLD_CONTINUED): Likewise.
44901         (POLL_IN): Likewise.
44902         (POLL_OUT): Likewise.
44903         (POLL_MSG): Likewise.
44904         (POLL_ERR): Likewise.
44905         (POLL_PRI): Likewise.
44906         (POLL_HUP): Likewise.
44907         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44908         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44910         [BZ #16670]
44911         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44912         before #include of <time.h>.
44913         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44914         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44915         (test-xfail-UNIX98/sched.h/conform): Likewise.
44917 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44919         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44920         error absence of trapping exception support.
44921         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44923 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44925         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44926         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44927         * timezone/Makefile (testdata): Move definition above include of
44928         Rules.
44929         (test-zones): New variable.
44930         (tests-special): Add zone files.
44931         (build-testdata): Use $(evaluate-test).
44933         * elf/Makefile (tests-special): Rename tests to end with .out.
44934         ($(objpfx)noload-mem): Likewise.
44935         ($(objpfx)tst-leaks1-mem): Likewise.
44936         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44937         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44938         $(objpfx)test-iconvconfig.out.
44939         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44940         set -e inside subshell and redirect output to file.
44941         * iconvdata/Makefile (generated): Rename tests to end with .out.
44942         Correct type.
44943         (tests-special): Rename tests to end with .out.
44944         ($(objpfx)mtrace-tst-loading): Likewise.
44945         * intl/Makefile (generated): Likewise.
44946         (tests-special): Likewise.
44947         ($(objpfx)mtrace-tst-gettext): Likewise.
44948         * misc/Makefile (generated): Likewise.
44949         (tests-special): Likewise.
44950         ($(objpfx)tst-error1-mem): Likewise.
44951         * nptl/Makefile (tests-special): Likewise.
44952         ($(objpfx)tst-stack3-mem): Likewise.
44953         (generated): Likewise.
44954         * posix/Makefile (generated): Likewise.
44955         (tests-special): Likewise.
44956         (xtests-special): Likewise.
44957         ($(objpfx)tst-fnmatch-mem): Likewise.
44958         ($(objpfx)bug-regex2-mem): Likewise.
44959         ($(objpfx)bug-regex14-mem): Likewise.
44960         ($(objpfx)bug-regex21-mem): Likewise.
44961         ($(objpfx)bug-regex31-mem): Likewise.
44962         ($(objpfx)tst-vfork3-mem): Likewise.
44963         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44964         ($(objpfx)tst-pcre-mem): Likewise.
44965         ($(objpfx)tst-boost-mem): Likewise.
44966         ($(objpfx)bug-ga2-mem): Likewise.
44967         ($(objpfx)bug-glob2-mem): Likewise.
44968         * resolv/Makefile (generate): Likewise.
44969         (tests-special): Likewise.
44970         (xtests-special): Likewise.
44971         (generated): Likewise.
44972         ($(objpfx)mtrace-tst-leaks): Likewise.
44973         ($(objpfx)mtrace-tst-leaks2): Likewise.
44975         * scripts/merge-test-results.sh: New file.
44976         * Makefile (tests-special-notdir): New variable.
44977         (tests): Run merge-test-results.sh.
44978         (xtests): Likewise.
44979         * Rules (tests-special-notdir): New variable.
44980         (xtests-special-notdir): Likewise.
44981         (tests): Run merge-test-results.sh
44982         (xtests): Likewise.
44984         * Makeconfig (test-xfail-name): New variable.
44985         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44986         compute variable name for expected failures.
44987         * conform/Makefile (conformtest-headers-data): New variable.
44988         (conformtest-standards): Likewise.
44989         (conformtest-headers-ISO): Likewise.
44990         (conformtest-headers-ISO99): Likewise.
44991         (conformtest-headers-ISO11): Likewise.
44992         (conformtest-headers-POSIX): Likewise.
44993         (conformtest-headers-XPG3): Likewise.
44994         (conformtest-headers-XPG4): Likewise.
44995         (conformtest-headers-UNIX98): Likewise.
44996         (conformtest-headers-XOPEN2K): Likewise.
44997         (conformtest-headers-POSIX2008): Likewise.
44998         (conformtest-headers-XOPEN2K8): Likewise.
44999         (conformtest-header-list-base): Likewise.
45000         (conformtest-header-list-tests): Likewise.
45001         (conformtest-header-base): Likewise.
45002         (conformtest-header-tests): Likewise.
45003         (tests-special): Add $(conformtest-header-list-tests).  If
45004         [$(fast-check) && !$(cross-compiling)], add
45005         $(conformtest-header-tests) instead of
45006         $(objpfx)run-conformtest.out.
45007         (generated): Add $(conformtest-header-list-base).  If
45008         [$(fast-check) && !$(cross-compiling)], add
45009         $(conformtest-header-base).  Remove previous setting.
45010         ($(conformtest-header-list-tests)): New target.
45011         (test-xfail-run-conformtest): Remove variable.
45012         ($(objpfx)run-conformtest.out): Remove target.
45013         (test-xfail-ISO11/complex.h/conform): New variable.
45014         (test-xfail-ISO11/stdalign.h/conform): Likewise.
45015         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
45016         (test-xfail-XPG3/varargs.h/conform): Likewise.
45017         (test-xfail-XPG4/varargs.h/conform): Likewise.
45018         (test-xfail-UNIX98/varargs.h/conform): Likewise.
45019         (test-xfail-XPG4/ndbm.h/conform): Likewise.
45020         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
45021         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
45022         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
45023         (test-xfail-XPG3/fcntl.h/conform): Likewise.
45024         (test-xfail-XPG3/ftw.h/conform): Likewise.
45025         (test-xfail-XPG3/grp.h/conform): Likewise.
45026         (test-xfail-XPG3/langinfo.h/conform): Likewise.
45027         (test-xfail-XPG3/limits.h/conform): Likewise.
45028         (test-xfail-XPG3/pwd.h/conform): Likewise.
45029         (test-xfail-XPG3/search.h/conform): Likewise.
45030         (test-xfail-XPG3/signal.h/conform): Likewise.
45031         (test-xfail-XPG3/stdio.h/conform): Likewise.
45032         (test-xfail-XPG3/stdlib.h/conform): Likewise.
45033         (test-xfail-XPG3/string.h/conform): Likewise.
45034         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
45035         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
45036         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
45037         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
45038         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
45039         (test-xfail-XPG3/sys/types.h/conform): Likewise.
45040         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
45041         (test-xfail-XPG3/termios.h/conform): Likewise.
45042         (test-xfail-XPG3/time.h/conform): Likewise.
45043         (test-xfail-XPG3/unistd.h/conform): Likewise.
45044         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
45045         (test-xfail-XPG4/fcntl.h/conform): Likewise.
45046         (test-xfail-XPG4/langinfo.h/conform): Likewise.
45047         (test-xfail-XPG4/netdb.h/conform): Likewise.
45048         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
45049         (test-xfail-XPG4/signal.h/conform): Likewise.
45050         (test-xfail-XPG4/stdio.h/conform): Likewise.
45051         (test-xfail-XPG4/stdlib.h/conform): Likewise.
45052         (test-xfail-XPG4/stropts.h/conform): Likewise.
45053         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
45054         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
45055         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
45056         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
45057         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
45058         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
45059         (test-xfail-XPG4/sys/time.h/conform): Likewise.
45060         (test-xfail-XPG4/sys/types.h/conform): Likewise.
45061         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
45062         (test-xfail-XPG4/termios.h/conform): Likewise.
45063         (test-xfail-XPG4/ucontext.h/conform): Likewise.
45064         (test-xfail-XPG4/unistd.h/conform): Likewise.
45065         (test-xfail-XPG4/utmpx.h/conform): Likewise.
45066         (test-xfail-POSIX/sched.h/conform): Likewise.
45067         (test-xfail-POSIX/signal.h/conform): Likewise.
45068         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45069         (test-xfail-POSIX/tar.h/conform): Likewise.
45070         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
45071         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
45072         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
45073         (test-xfail-UNIX98/netdb.h/conform): Likewise.
45074         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
45075         (test-xfail-UNIX98/sched.h/conform): Likewise.
45076         (test-xfail-UNIX98/signal.h/conform): Likewise.
45077         (test-xfail-UNIX98/stdio.h/conform): Likewise.
45078         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
45079         (test-xfail-UNIX98/stropts.h/conform): Likewise.
45080         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
45081         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
45082         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
45083         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
45084         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
45085         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
45086         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
45087         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
45088         (test-xfail-UNIX98/unistd.h/conform): Likewise.
45089         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
45090         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
45091         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
45092         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
45093         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
45094         (test-xfail-XOPEN2K/math.h/conform): Likewise.
45095         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
45096         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
45097         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
45098         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
45099         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
45100         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
45101         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
45102         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
45103         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
45104         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
45105         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
45106         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
45107         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
45108         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
45109         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
45110         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
45111         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
45112         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
45113         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45114         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45115         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45116         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45117         (test-xfail-POSIX2008/signal.h/conform): Likewise.
45118         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45119         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45120         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45121         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45122         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45123         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45124         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45125         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45126         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45127         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45128         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45129         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45130         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45131         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45132         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45133         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45134         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45135         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45136         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45137         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45138         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45139         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45140         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45141         (conformtest-cc-flags): Likewise.
45142         ($(conformtest-header-tests): New target.
45143         * conform/check-header-lists.sh: New file.
45144         * conform/run-conformtest.sh: Remove.
45146         * conform/conformtest.pl: Allow ' and \ in values given for
45147         constants.
45148         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45149         inclusion.
45150         [POSIX] (sys/types.h): Likewise.
45151         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45152         inclusion.
45153         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45154         inclusion.
45155         * conform/data/signal.h-data (SIGIO): Remove expectation.
45156         [XPG3] (SIGBUS): Do not expect.
45157         [POSIX || XPG3] (SIGPOLL): Likewise.
45158         [POSIX || XPG3] (SIGPROF): Likewise.
45159         [POSIX || XPG3] (SIGSYS): Likewise.
45160         [XPG3] (SIGTRAP): Likewise.
45161         [POSIX || XPG3] (SIGURG): Likewise.
45162         [POSIX || XPG3] (SIGVTALRM): Likewise.
45163         [POSIX || XPG3] (SIGXCPU): Likewise.
45164         [POSIX || XPG3] (SIGXFSZ): Likewise.
45165         [POSIX] (SA_SIGINFO): Expect.
45166         [XPG3] (siginfo_t): Do not expect type or contents.
45167         [POSIX] (si_pid): Do not expect element.
45168         [POSIX] (si_uid): Likewise.
45169         [POSIX] (si_addr): Likewise.
45170         [POSIX] (si_status): Likewise.
45171         [POSIX] (si_band): Likewise.
45172         [XPG4] (si_value): Likewise.
45173         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45174         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45175         [POSIX || XPG3] (ILL_ILLADR): Likewise.
45176         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45177         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45178         [POSIX || XPG3] (ILL_PRVREG): Likewise.
45179         [POSIX || XPG3] (ILL_COPROC): Likewise.
45180         [POSIX || XPG3] (ILL_BADSTK): Likewise.
45181         [POSIX || XPG3] (FPE_INTDIV): Likewise.
45182         [POSIX || XPG3] (FPE_INTOVF): Likewise.
45183         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45184         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45185         [POSIX || XPG3] (FPE_FLTUND): Likewise.
45186         [POSIX || XPG3] (FPE_FLTRES): Likewise.
45187         [POSIX || XPG3] (FPE_FLTINV): Likewise.
45188         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45189         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45190         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45191         [POSIX || XPG3] (BUS_ADRALN): Likewise.
45192         [POSIX || XPG3] (BUS_ADRERR): Likewise.
45193         [POSIX || XPG3] (BUS_OBJERR): Likewise.
45194         [POSIX || XPG3] (CLD_EXITED): Likewise.
45195         [POSIX || XPG3] (CLD_KILLED): Likewise.
45196         [POSIX || XPG3] (CLD_DUMPED): Likewise.
45197         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45198         [POSIX || XPG3] (CLD_STOPPED): Likewise.
45199         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45200         [POSIX || XPG3] (POLL_IN): Likewise.
45201         [POSIX || XPG3] (POLL_OUT): Likewise.
45202         [POSIX || XPG3] (POLL_MSG): Likewise.
45203         [POSIX || XPG3] (POLL_ERR): Likewise.
45204         [POSIX || XPG3] (POLL_PRI): Likewise.
45205         [POSIX || XPG3] (POLL_HUP): Likewise.
45206         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45207         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45208         (SIG*): Do not allow.
45209         [XPG3] (si_*): Likewise.
45210         [XPG3] (SI_*): Likewise.
45211         [XPG3 || XPG4] (sigev_*): Likewise.
45212         [XPG3 || XPG4] (SIGEV_*): Likewise.
45213         [XPG3 || XPG4] (sival_*): Likewise.
45214         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45215         [POSIX || XPG3] (BUS_*): Likewise.
45216         [POSIX || XPG3] (CLD_*): Likewise.
45217         [POSIX || XPG3] (FPE_*): Likewise.
45218         [POSIX || XPG3] (ILL_*): Likewise.
45219         [POSIX || XPG3] (POLL_*): Likewise.
45220         [POSIX || XPG3] (SEGV_*): Likewise.
45221         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45222         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45223         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45224         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45225         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45226         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45227         Specify type and value.
45228         (TVERSLEN): Likewise.
45229         (REGTYPE): Likewise.
45230         (AREGTYPE): Likewise.
45231         (LNKTYPE): Likewise.
45232         (SYMTYPE): Likewise.
45233         (CHRTYPE): Likewise.
45234         (BLKTYPE): Likewise.
45235         (DIRTYPE): Likewise.
45236         (FIFOTYPE): Likewise.
45237         (CONTTYPE): Likewise.
45238         (TSUID): Likewise.
45239         (TSGID): Likewise.
45240         (TSVTX): Likewise.
45241         (TUREAD): Likewise.
45242         (TUWRITE): Likewise.
45243         (TUEXEC): Likewise.
45244         (TGREAD): Likewise.
45245         (TGWRITE): Likewise.
45246         (TGEXEC): Likewise.
45247         (TOREAD): Likewise.
45248         (TOWRITE): Likewise.
45249         (TOEXEC): Likewise.
45250         [POSIX] (TSVTX): Expect constant.
45252 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
45254         * Makefile (tests): Change dependencies to ....
45255         (tests-special): ... additions to this variable.
45256         (tests): Depend on $(tests-special).
45257         * Makerules (check-abi-list): New variable.
45258         (check-abi): Depend on $(check-abi-list).
45259         [$(subdir) = elf] (tests-special): Add
45260         $(objpfx)check-abi-libc.out.
45261         [$(build-shared) = yes && subdir] (tests-special): Add
45262         $(check-abi-list).
45263         [$(build-shared) = yes && subdir] (tests): Do not depend on
45264         check-abi.
45265         * Rules (tests): Depend on $(tests-special).
45266         (xtests): Depend on $(xtests-special).
45267         * catgets/Makefile (tests): Change dependencies to ....
45268         (tests-special): ... additions to this variable.
45269         * conform/Makefile (tests): Change dependencies to ....
45270         (tests-special): ... additions to this variable.
45271         * elf/Makefile (tests): Change dependencies to ....
45272         (tests-special): ... additions to this variable.
45273         * grp/Makefile (tests): Change dependencies to ....
45274         (tests-special): ... additions to this variable.
45275         * iconv/Makefile (xtests): Change dependencies to ....
45276         (xtests-special): ... additions to this variable.
45277         * iconvdata/Makefile (tests): Change dependencies to ....
45278         (tests-special): ... additions to this variable.
45279         * intl/Makefile (tests): Change dependencies to ....
45280         (tests-special): ... additions to this variable.  Also add
45281         $(objpfx)tst-gettext.out.
45282         * io/Makefile (tests): Change dependencies to ....
45283         (tests-special): ... additions to this variable.
45284         * libio/Makefile (tests): Change dependencies to ....
45285         (tests-special): ... additions to this variable.
45286         * malloc/Makefile (tests): Change dependencies to ....
45287         (tests-special): ... additions to this variable.
45288         * misc/Makefile (tests): Change dependencies to ....
45289         (tests-special): ... additions to this variable.
45290         * nptl/Makefile (tests): Change dependencies to ....
45291         (tests-special): ... additions to this variable.
45292         * nptl_db/Makefile (tests): Change dependencies to ....
45293         (tests-special): ... additions to this variable.
45294         * posix/Makefile (tests): Change dependencies to ....
45295         (tests-special): ... additions to this variable.
45296         (xtests): Change dependencies to ....
45297         (xtests-special): ... additions to this variable.
45298         * resolv/Makefile (tests): Change dependencies to ....
45299         (tests-special): ... additions to this variable.
45300         (xtests): Change dependencies to ....
45301         (xtests-special): ... additions to this variable.
45302         * stdio-common/Makefile (tests): Change dependencies to ....
45303         (tests-special): ... additions to this variable.
45304         (do-tst-unbputc): Remove target.
45305         (do-tst-printf): Likewise.
45306         * stdlib/Makefile (tests): Change dependencies to ....
45307         (tests-special): ... additions to this variable.
45308         * string/Makefile (tests): Change dependencies to ....
45309         (tests-special): ... additions to this variable.
45310         * sysdeps/x86/Makefile (tests): Change dependencies to ....
45311         (tests-special): ... additions to this variable.
45313         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45314         whole file.
45315         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45316         whole file.
45317         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45318         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45320         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45321         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45322         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45323         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45324         * conform/data/libgen.h-data [XPG3]: Likewise.
45325         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45326         * conform/data/ndbm.h-data [XPG3]: Likewise.
45327         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45328         * conform/data/netdb.h-data [XPG3]: Likewise.
45329         * conform/data/netinet/in.h-data [XPG3]: Likewise.
45330         * conform/data/poll.h-data [XPG3]: Likewise.
45331         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45332         * conform/data/strings.h-data [XPG3]: Likewise.
45333         * conform/data/stropts.h-data [XPG3]: Likewise.
45334         * conform/data/sys/mman.h-data [XPG3]: Likewise.
45335         * conform/data/sys/resource.h-data [XPG3]: Likewise.
45336         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45337         Likewise.
45338         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45339         * conform/data/sys/time.h-data [XPG3]: Likewise.
45340         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45341         * conform/data/sys/uio.h-data [XPG3]: Likewise.
45342         * conform/data/sys/un.h-data [XPG3]: Likewise.
45343         * conform/data/syslog.h-data [XPG3]: Likewise.
45344         * conform/data/ucontext.h-data [XPG3]: Likewise.
45345         * conform/data/utmpx.h-data [XPG3]: Likewise.
45346         * conform/data/varargs.h-data [UNIX98]: Enable file.
45348         * manual/Makefile (INSTALL_INFO): Remove variable setting.
45350         * math/libm-test.inc (struct test_f_f_data): Move expected results
45351         into structure for each rounding mode.
45352         (struct test_ff_f_data): Likewise.
45353         (struct test_ff_f_data_nexttoward): Likewise.
45354         (struct test_fi_f_data): Likewise.
45355         (struct test_fl_f_data): Likewise.
45356         (struct test_if_f_data): Likewise.
45357         (struct test_fff_f_data): Likewise.
45358         (struct test_c_f_data): Likewise.
45359         (struct test_f_f1_data): Likewise.
45360         (struct test_fF_f1_data): Likewise.
45361         (struct test_ffI_f1_data): Likewise.
45362         (struct test_c_c_data): Likewise.
45363         (struct test_cc_c_data): Likewise.
45364         (struct test_f_i_data): Likewise.
45365         (struct test_ff_i_data): Likewise.
45366         (struct test_f_l_data): Likewise.
45367         (struct test_f_L_data): Likewise.
45368         (struct test_fFF_11_data): Likewise.
45369         (RM_): New macro.
45370         (RM_FE_DOWNWARD): Likewise.
45371         (RM_FE_TONEAREST): Likewise.
45372         (RM_FE_TOWARDZERO): Likewise.
45373         (RM_FE_UPWARD): Likewise.
45374         (RUN_TEST_LOOP_f_f): Update references to expected results.
45375         (RUN_TEST_LOOP_2_f): Likewise.
45376         (RUN_TEST_LOOP_fff_f): Likewise.
45377         (RUN_TEST_LOOP_c_f): Likewise.
45378         (RUN_TEST_LOOP_f_f1): Likewise.
45379         (RUN_TEST_LOOP_fF_f1): Likewise.
45380         (RUN_TEST_LOOP_fI_f1): Likewise.
45381         (RUN_TEST_LOOP_ffI_f1): Likewise.
45382         (RUN_TEST_LOOP_c_c): Likewise.
45383         (RUN_TEST_LOOP_cc_c): Likewise.
45384         (RUN_TEST_LOOP_f_i): Likewise.
45385         (RUN_TEST_LOOP_f_i_tg): Likewise.
45386         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45387         (RUN_TEST_LOOP_f_b): Likewise.
45388         (RUN_TEST_LOOP_f_b_tg): Likewise.
45389         (RUN_TEST_LOOP_f_l): Likewise.
45390         (RUN_TEST_LOOP_f_L): Likewise.
45391         (RUN_TEST_LOOP_fFF_11): Likewise.
45392         * math/gen-libm-test.pl (parse_args): Output four copies of
45393         expected results for each test.
45395         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45396         (__ASSUME_UTIMES): Remove.
45397         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45398         (__ASSUME_UTIMES): Likewise.
45400         * math/gen-auto-libm-tests.c: Update comment on output format.
45401         (output_for_one_input_case): Generate before-rounding and
45402         after-rounding information as conditions on output flags not
45403         floating-point format.
45404         * math/auto-libm-test-out: Regenerated.
45405         * math/gen-libm-test.pl (cond_value): New function.
45406         (or_cond_value): Use cond_value.
45407         (generate_testfile): Handle conditional exceptions.
45409 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
45411         * math/libm-test.inc (max_valid_error): New variable.
45412         (init_max_error): Take new argument specifying whether function
45413         results are exactly determined.  Set max_valid_error and bound
45414         other variables for errors based on this argument.
45415         (set_max_error): Do not record results above max_valid_error.
45416         (check_float_internal): Only accept errors of up to 0.5ulps if
45417         also at most max_valid_error.
45418         (START): Take new argument EXACT and pass it to init_max_error.
45419         (acos_test): Update call to START.
45420         (acos_test_tonearest): Likewise.
45421         (acos_test_towardzero): Likewise.
45422         (acos_test_downward): Likewise.
45423         (acos_test_upward): Likewise.
45424         (acosh_test): Likewise.
45425         (asin_test): Likewise.
45426         (asin_test_tonearest): Likewise.
45427         (asin_test_towardzero): Likewise.
45428         (asin_test_downward): Likewise.
45429         (asin_test_upward): Likewise.
45430         (asinh_test): Likewise.
45431         (atan_test): Likewise.
45432         (atanh_test): Likewise.
45433         (atan2_test): Likewise.
45434         (cabs_test): Likewise.
45435         (cacos_test): Likewise.
45436         (cacosh_test): Likewise.
45437         (carg_test): Likewise.
45438         (casin_test): Likewise.
45439         (casinh_test): Likewise.
45440         (catan_test): Likewise.
45441         (catanh_test): Likewise.
45442         (cbrt_test): Likewise.
45443         (ccos_test): Likewise.
45444         (ccosh_test): Likewise.
45445         (ceil_test): Likewise.
45446         (cexp_test): Likewise.
45447         (cimag_test): Likewise.
45448         (clog_test): Likewise.
45449         (clog10_test): Likewise.
45450         (conj_test): Likewise.
45451         (copysign_test): Likewise.
45452         (cos_test): Likewise.
45453         (cos_test_tonearest): Likewise.
45454         (cos_test_towardzero): Likewise.
45455         (cos_test_downward): Likewise.
45456         (cos_test_upward): Likewise.
45457         (cosh_test): Likewise.
45458         (cosh_test_tonearest): Likewise.
45459         (cosh_test_towardzero): Likewise.
45460         (cosh_test_downward): Likewise.
45461         (cosh_test_upward): Likewise.
45462         (cpow_test): Likewise.
45463         (cproj_test): Likewise.
45464         (creal_test): Likewise.
45465         (csin_test): Likewise.
45466         (csinh_test): Likewise.
45467         (csqrt_test): Likewise.
45468         (ctan_test): Likewise.
45469         (ctan_test_tonearest): Likewise.
45470         (ctan_test_towardzero): Likewise.
45471         (ctan_test_downward): Likewise.
45472         (ctan_test_upward): Likewise.
45473         (ctanh_test): Likewise.
45474         (ctanh_test_tonearest): Likewise.
45475         (ctanh_test_towardzero): Likewise.
45476         (ctanh_test_downward): Likewise.
45477         (ctanh_test_upward): Likewise.
45478         (erf_test): Likewise.
45479         (erfc_test): Likewise.
45480         (exp_test): Likewise.
45481         (exp_test_tonearest): Likewise.
45482         (exp_test_towardzero): Likewise.
45483         (exp_test_downward): Likewise.
45484         (exp_test_upward): Likewise.
45485         (exp10_test): Likewise.
45486         (exp10_test_tonearest): Likewise.
45487         (exp10_test_towardzero): Likewise.
45488         (exp10_test_downward): Likewise.
45489         (exp10_test_upward): Likewise.
45490         (pow10_test): Likewise.
45491         (exp2_test): Likewise.
45492         (expm1_test): Likewise.
45493         (expm1_test_tonearest): Likewise.
45494         (expm1_test_towardzero): Likewise.
45495         (expm1_test_downward): Likewise.
45496         (expm1_test_upward): Likewise.
45497         (fabs_test): Likewise.
45498         (fdim_test): Likewise.
45499         (floor_test): Likewise.
45500         (fma_test): Likewise.
45501         (fma_test_towardzero): Likewise.
45502         (fma_test_downward): Likewise.
45503         (fma_test_upward): Likewise.
45504         (fmax_test): Likewise.
45505         (fmin_test): Likewise.
45506         (fmod_test): Likewise.
45507         (fpclassify_test): Likewise.
45508         (frexp_test): Likewise.
45509         (hypot_test): Likewise.
45510         (ilogb_test): Likewise.
45511         (isfinite_test): Likewise.
45512         (finite_test): Likewise.
45513         (isgreater_test): Likewise.
45514         (isgreaterequal_test): Likewise.
45515         (isinf_test): Likewise.
45516         (isless_test): Likewise.
45517         (islessequal_test): Likewise.
45518         (islessgreater_test): Likewise.
45519         (isnan_test): Likewise.
45520         (isnormal_test): Likewise.
45521         (issignaling_test): Likewise.
45522         (isunordered_test): Likewise.
45523         (j0_test): Likewise.
45524         (j1_test): Likewise.
45525         (jn_test): Likewise.
45526         (ldexp_test): Likewise.
45527         (lgamma_test): Likewise.
45528         (gamma_test): Likewise.
45529         (lrint_test): Likewise.
45530         (lrint_test_tonearest): Likewise.
45531         (lrint_test_towardzero): Likewise.
45532         (lrint_test_downward): Likewise.
45533         (lrint_test_upward): Likewise.
45534         (llrint_test): Likewise.
45535         (llrint_test_tonearest): Likewise.
45536         (llrint_test_towardzero): Likewise.
45537         (llrint_test_downward): Likewise.
45538         (llrint_test_upward): Likewise.
45539         (log_test): Likewise.
45540         (log10_test): Likewise.
45541         (log1p_test): Likewise.
45542         (log2_test): Likewise.
45543         (logb_test): Likewise.
45544         (logb_test_downward): Likewise.
45545         (lround_test): Likewise.
45546         (llround_test): Likewise.
45547         (modf_test): Likewise.
45548         (nearbyint_test): Likewise.
45549         (nextafter_test): Likewise.
45550         (nexttoward_test): Likewise.
45551         (pow_test): Likewise.
45552         (pow_test_tonearest): Likewise.
45553         (pow_test_towardzero): Likewise.
45554         (pow_test_downward): Likewise.
45555         (pow_test_upward): Likewise.
45556         (remainder_test): Likewise.
45557         (drem_test): Likewise.
45558         (remainder_test_tonearest): Likewise.
45559         (drem_test_tonearest): Likewise.
45560         (remainder_test_towardzero): Likewise.
45561         (drem_test_towardzero): Likewise.
45562         (remainder_test_downward): Likewise.
45563         (drem_test_downward): Likewise.
45564         (remainder_test_upward): Likewise.
45565         (drem_test_upward): Likewise.
45566         (remquo_test): Likewise.
45567         (rint_test): Likewise.
45568         (rint_test_tonearest): Likewise.
45569         (rint_test_towardzero): Likewise.
45570         (rint_test_downward): Likewise.
45571         (rint_test_upward): Likewise.
45572         (round_test): Likewise.
45573         (scalb_test): Likewise.
45574         (scalbn_test): Likewise.
45575         (scalbln_test): Likewise.
45576         (signbit_test): Likewise.
45577         (sin_test): Likewise.
45578         (sin_test_tonearest): Likewise.
45579         (sin_test_towardzero): Likewise.
45580         (sin_test_downward): Likewise.
45581         (sin_test_upward): Likewise.
45582         (sincos_test): Likewise.
45583         (sinh_test): Likewise.
45584         (sinh_test_tonearest): Likewise.
45585         (sinh_test_towardzero): Likewise.
45586         (sinh_test_downward): Likewise.
45587         (sinh_test_upward): Likewise.
45588         (sqrt_test): Likewise.
45589         (sqrt_test_tonearest): Likewise.
45590         (sqrt_test_towardzero): Likewise.
45591         (sqrt_test_downward): Likewise.
45592         (sqrt_test_upward): Likewise.
45593         (tan_test): Likewise.
45594         (tan_test_tonearest): Likewise.
45595         (tan_test_towardzero): Likewise.
45596         (tan_test_downward): Likewise.
45597         (tan_test_upward): Likewise.
45598         (tanh_test): Likewise.
45599         (tgamma_test): Likewise.
45600         (trunc_test): Likewise.
45601         (y0_test): Likewise.
45602         (y1_test): Likewise.
45603         (yn_test): Likewise.
45604         (significand_test): Likewise.
45606         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45607         individual tests in comment.
45608         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45609         (prev_max_error): New variable.
45610         (prev_real_max_error): Likewise.
45611         (prev_imag_max_error): Likewise.
45612         (compare_ulp_data): Don't refer to test names in comment.
45613         (find_test_ulps): Remove function.
45614         (find_function_ulps): Likewise.
45615         (find_complex_function_ulps): Likewise.
45616         (init_max_error): Take function name as argument.  Look up ulps
45617         for that function.
45618         (print_ulps): Remove function.
45619         (print_max_error): Use prev_max_error instead of calling
45620         find_function_ulps.
45621         (print_complex_max_error): Use prev_real_max_error and
45622         prev_imag_max_error instead of calling find_complex_function_ulps.
45623         (check_float_internal): Take max_ulp parameter instead of calling
45624         find_test_ulps.  Don't call print_ulps.
45625         (check_float): Update call to check_float_internal.
45626         (check_complex): Update calls to check_float_internal.
45627         (START): Pass argument to init_max_error.
45628         * math/gen-libm-test.pl (%results): Don't include "kind"
45629         information.
45630         (parse_ulps): Don't handle ulps of individual tests.
45631         (print_ulps_file): Likewise.
45632         (output_ulps): Likewise.
45633         * math/README.libm-test: Update.
45634         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45635         individual tests.
45636         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45637         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45638         * sysdeps/arm/libm-test-ulps: Likewise.
45639         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45640         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45641         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45642         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45643         * sysdeps/microblaze/libm-test-ulps: Likewise.
45644         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45645         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45646         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45647         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45648         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45649         * sysdeps/sh/libm-test-ulps: Likewise.
45650         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45651         * sysdeps/tile/libm-test-ulps: Likewise.
45652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45654 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
45656         * math/libm-test.inc (print_complex_max_error): Check separately
45657         whether real and imaginary errors are within allowed range and
45658         pass 0 to print_complex_function_ulps instead of value within
45659         allowed range.
45661 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45663         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45664         formatting.
45665         (get_handles_fopen): Likewise.
45666         (do_write_test): Likewise.
45668         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45670         * libio/fileops.c (do_ftell): Use cached offset when
45671         available.
45672         * libio/iofwide.c (do_ftell_wide): Likewise.
45673         * libio/iofdopen.c (_IO_new_fdopen): Don't use
45674         _IO_file_attach.
45675         * libio/wfileops.c (_IO_fwide): Don't cache offset.
45677         [BZ #16532]
45678         * libio/libioP.h (get_file_offset): New function.
45679         * libio/fileops.c (get_file_offset): Likewise.
45680         (do_ftell): Likewise.
45681         (_IO_new_file_seekoff): Split out ftell logic.
45682         * libio/wfileops.c (do_ftell_wide): Likewise.
45683         (_IO_wfile_seekoff): Split out ftell logic.
45684         * libio/tst-ftell-active-handler.c: New test case.
45685         * libio/Makefile (tests): Add it.
45687 2014-03-03  Roland McGrath  <roland@hack.frob.com>
45689         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45690         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45692 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45694         [BZ #16639]
45695         * nscd/connections.c (nscd_init): Call do_exit.
45696         (start_threads): Call do_exit and notify_parent.
45697         (begin_drop_privileges): Call do_exit.
45698         (finish_drop_privileges): Likewise.
45699         * nscd/selinux.c (preserve_capabilities): Likewise.
45700         (install_real_capabilities): Likewise.
45701         (nscd_selinux_enabled): Likewise.
45702         (avc_create_thread): Likewise.
45703         (avc_alloc_lock): Likewise.
45704         (nscd_avc_init): Likewise.
45705         * nscd/nscd.c (parent_fd): New static variable.
45706         (main): Create a pipe between parent and child processes.
45707         Skip closing parent_fd.
45708         (monitor_child): New function.
45709         (do_exit): Likewise.
45710         (notify_parent): Likewise.
45711         * nscd/nscd.h (notify_parent): Likewise.
45712         (do_exit): Likewise.
45714 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
45716         * malloc/malloc.c (__libc_calloc): Revert last change.
45718 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45722 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45724         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45726         implementation.
45727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45728         (__libc_ifunc_impl_list): Likewise.
45729         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45730         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45731         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45732         * string/strrchr.c: Define STRRCHR.
45734 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
45736         * benchtest/bench-strtok.c (simple_strtok): Delete.
45737         (strtok_string): Use as benchmark.
45738         * string/strtok (STRTOK): New macro.
45740 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
45742         * manual/threads.texi: Add header and standard comments to all
45743         functions.
45745         * elf/dl-lookup.c (check_match): New function.
45746         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45747         (do_lookup_x): Remove nested function check_match. Use non-nested
45748         function check_match.
45750 2014-02-28  Roland McGrath  <roland@hack.frob.com>
45752         * csu/Makefile (generated, before-compile): Use += rather than =.
45753         * catgets/Makefile (generated, generated-dirs): Likewise.
45754         * debug/Makefile (generated): Likewise.
45755         * dlfcn/Makefile (generated): Likewise.
45756         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45757         * iconvdata/Makefile (before-compile, generated): Likewise.
45758         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45759         * libio/Makefile (generated): Likewise.
45760         * malloc/Makefile (generated): Likewise.
45761         * manual/Makefile (generated, generated-dirs): Likewise.
45762         * misc/Makefile (generated): Likewise.
45763         * posix/Makefile (generated): Likewise.
45764         * resolv/Makefile (generated): Likewise.
45765         * sunrpc/Makefile (generated, generated-dirs): Likewise.
45766         * timezone/Makefile (generated, generated-dirs): Likewise.
45768         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45770 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45773         power8 implementation.
45774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45775         file: POWER8 llround ifunc implementation.
45776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45777         (__lllround): Add POWER8 implementation.
45778         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45779         POWER8 llround implementation.
45781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45782         power8 implementation.
45783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45784         file: POWER8 llrint ifunc implementation.
45785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45786         Add POWER8 implementation.
45787         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45788         POWER8 llrint implementation.
45790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45791         power8 implementation.
45792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45793         file: POWER8 finite ifunc implementation.
45794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45795         Add POWER8 implementation.
45796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45797         Likewise.
45798         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45799         POWER8 finite implementation.
45800         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45803         power8 implementation.
45804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45805         file: POWER8 isinf ifunc implementation.
45806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45807         POWER8 implementation.
45808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45809         Likewise.
45810         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45811         isinf implementation.
45812         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45814         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45815         (INIT_ARCH): Add hwcap2 initialization.
45816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45817         power8 implementation.
45818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45819         file: POWER8 isnan ifunc implementation.
45820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45821         POWER8 implementation.
45822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45823         Likewise.
45824         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45825         isnan implementation.
45826         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45828 2014-02-27  Joey Ye  <joey.ye@arm.com>
45830         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45831         (_FP_NANFRAC_Q): Set to zero.
45833 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45835         [BZ #16623]
45836         * math/auto-libm-test-in: New test inputs.
45837         * math/auto-libm-test-out: Regenerate.
45838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45839         and DA.
45840         (__cos): Likewise.
45841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45843 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
45845         * scripts/evaluate-test.sh: Take new argument indicating whether
45846         failure is expected.
45847         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45848         indicating whether failure is expected.
45849         * conform/Makefile (test-xfail-run-conformtest): New variable.
45850         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45851         level.
45852         * posix/Makefile (test-xfail-annexc): New variable.
45853         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45855 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
45857         * argp/Makefile: Include Makeconfig immediately after defining
45858         subdir.
45859         * assert/Makefile: Likewise.
45860         * benchtests/Makefile: Likewise.
45861         * catgets/Makefile: Likewise.
45862         * conform/Makefile: Likewise.
45863         * crypt/Makefile: Likewise.
45864         * csu/Makefile: Likewise.
45865         (all): Remove target.
45866         * ctype/Makefile: Include Makeconfig immediately after defining
45867         subdir.
45868         * debug/Makefile: Likewise.
45869         * dirent/Makefile: Likewise.
45870         * dlfcn/Makefile: Likewise.
45871         * gmon/Makefile: Likewise.
45872         * gnulib/Makefile: Likewise.
45873         * grp/Makefile: Likewise.
45874         * gshadow/Makefile: Likewise.
45875         * hesiod/Makefile: Likewise.
45876         * hurd/Makefile: Likewise.
45877         (all): Remove target.
45878         * iconvdata/Makefile: Include Makeconfig immediately after
45879         defining subdir.
45880         * inet/Makefile: Likewise.
45881         * intl/Makefile: Likewise.
45882         * io/Makefile: Likewise.
45883         * libio/Makefile: Likewise.
45884         (all): Remove target.
45885         * locale/Makefile: Include Makeconfig immediately after defining
45886         subdir.
45887         * login/Makefile: Likewise.
45888         * mach/Makefile: Likewise.
45889         (all): Remove target.
45890         * malloc/Makefile: Include Makeconfig immediately after defining
45891         subdir.
45892         (all): Remove target.
45893         * manual/Makefile: Include Makeconfig immediately after defining
45894         subdir.
45895         * math/Makefile: Likewise.
45896         * misc/Makefile: Likewise.
45897         * nis/Makefile: Likewise.
45898         * nss/Makefile: Likewise.
45899         * po/Makefile: Likewise.
45900         (all): Remove target.
45901         * posix/Makefile: Include Makeconfig immediately after defining
45902         subdir.
45903         * pwd/Makefile: Likewise.
45904         * resolv/Makefile: Likewise.
45905         * resource/Makefile: Likewise.
45906         * rt/Makefile: Likewise.
45907         * setjmp/Makefile: Likewise.
45908         * shadow/Makefile: Likewise.
45909         * signal/Makefile: Likewise.
45910         * socket/Makefile: Likewise.
45911         * soft-fp/Makefile: Likewise.
45912         * stdio-common/Makefile: Likewise.
45913         * stdlib/Makefile: Likewise.
45914         * streams/Makefile: Likewise.
45915         * string/Makefile: Likewise.
45916         * sunrpc/Makefile: Likewise.
45917         (all): Remove target.
45918         * sysvipc/Makefile: Include Makeconfig immediately after defining
45919         subdir.
45920         * termios/Makefile: Likewise.
45921         * time/Makefile: Likewise.
45922         * timezone/Makefile: Likewise.
45923         (all): Remove target.
45924         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45925         subdir.
45926         * wctype/Makefile: Likewise.
45928 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45930         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45931         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45932         (libc_feholdexcept_setround_mips): Ditto.
45933         (libc_feholdsetround): New.
45934         (libc_feholdsetroundf): New.
45935         (libc_feholdsetroundl): New.
45936         (libc_feupdateenv_test_mips): New.
45937         (libc_feupdateenv_test): New.
45938         (libc_feupdateenv_testf): New.
45939         (libc_feupdateenv_testl): New.
45940         (libc_feresetround): New.
45941         (libc_feresetroundf): New.
45942         (libc_feresetroundl): New.
45943         (libc_fetestexcept_mips): New.
45944         (libc_fetestexcept): New.
45945         (libc_fetestexceptf): New.
45946         (libc_fetestexceptl): New.
45947         (HAVE_RM_CTX): New.
45948         (libc_feholdexcept_setround_mips_ctx): New.
45949         (libc_feholdexcept_setround_ctx): New.
45950         (libc_feholdexcept_setroundf_ctx): New.
45951         (libc_feholdexcept_setroundl_ctx): New.
45952         (libc_fesetenv_mips_ctx): New.
45953         (libc_fesetenv_ctx): New.
45954         (libc_fesetenv_ctxf): New.
45955         (libc_fesetenv_ctxl): New.
45956         (libc_feupdateenv_mips_ctx): New.
45957         (libc_feupdateenv_ctx): New.
45958         (libc_feupdateenvf_ctx): New.
45959         (libc_feupdateenvl_ctx): New.
45960         (libc_feholdsetround_mips_ctx): New.
45961         (libc_feholdsetround_ctx): New.
45962         (libc_feholdsetroundf_ctx): New.
45963         (libc_feholdsetroundl_ctx): New.
45964         (libc_feresetround_mips_ctx): New.
45965         (libc_feresetround_ctx): New.
45966         (libc_feresetroundf_ctx): New.
45967         (libc_feresetroundl_ctx): New.
45969 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45971         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45973         * manual/ipc.texi: New file.
45974         * manual/Makefile (chapters): Add ipc.
45975         * manual/job.texi: Add "Inter-Process Communication" to next.
45976         * manual/process.texi: Add "Inter-Process Communication" to prev.
45978 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45982 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45984         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45986         * manual/arith.texi: Fix spaces after sentences.
45987         * manual/charset.texi: Likewise.
45988         * manual/errno.texi: Likewise.
45989         * manual/install.texi: Likewise.
45990         * manual/llio.texi: Likewise.
45991         * manual/locale.texi: Likewise.
45992         * manual/maint.texi: Likewise.
45993         * manual/math.texi: Likewise.
45994         * manual/memory.texi: Likewise.
45995         * manual/message.texi: Likewise.
45996         * manual/probes.texi: Likewise.
45997         * manual/resource.texi: Likewise.
45998         * manual/signal.texi: Likewise.
45999         * manual/socket.texi: Likewise.
46000         * manual/stdio.texi: Likewise.
46001         * manual/string.texi: Likewise.
46002         * manual/time.texi: Likewise.
46003         * manual/users.texi: Likewise.
46005 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
46007         [BZ #16632]
46008         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
46009         _DEFAULT_SOURCE is defined.
46011 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
46012             Carlos O'Donell  <carlos@redhat.com>
46014         [BZ #16613]
46015         * elf/dl-tls.c (_dl_count_modids): New function.
46016         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
46017         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
46018         audit library and increment generation counter.
46019         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
46020         * elf/tst-audit9.c: New file.
46021         * elf/tst-auditmod9a.c: New file.
46022         * elf/tst-auditmod9b.c: New file.
46023         * elf/Makefile: Add rules to build and run tst-audit9.
46025 2014-02-25  Florian Weimer  <fweimer@redhat.com>
46027         [BZ #15347]
46028         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
46030 2014-02-25  Will Newton  <will.newton@linaro.org>
46032         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
46033         (__longjmp): Restore sp and lr before restoring callee
46034         saved registers.  Add longjmp and longjmp_target
46035         SystemTap probe point.
46036         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
46037         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
46038         Define to zero to match jmpbuf layout.
46039         * sysdeps/arm/setjmp.S: Include stap-probe.h.
46040         (__sigsetjmp): Save sp and lr before saving callee
46041         saved registers.  Add setjmp SystemTap probe point.
46043 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
46045         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46047 2014-02-24  Andreas Schwab  <schwab@suse.de>
46049         [BZ #15804]
46050         * elf/pldd.c (wait_for_ptrace_stop): New function.
46051         (main): Call it after attaching.
46053 2014-02-22  Roland McGrath  <roland@hack.frob.com>
46055         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
46056         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
46057         Versions files is now verboten.
46058         * hurd/Versions (libc: GLIBC_2.0):
46059         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
46060         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
46061         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
46062         * mach/Versions: Likewise.
46064         * csu/Versions: Remove unused %include.
46065         * resolv/Versions: Likewise.
46067 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
46069         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
46070         ($(objpfx)check-local-headers.out): Likewise.
46071         ($(objpfx)begin-end-check.out): Likewise.
46072         * Makerules (check-abi-%.out): Likewise.
46073         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
46074         ($(objpfx)test2.cat): Likewise.
46075         ($(objpfx)de/libc.cat): Likewise.
46076         ($(objpfx)test-gencat.out): Likewise.
46077         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
46078         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
46079         ($(objpfx)noload-mem): Likewise.
46080         ($(objpfx)tst-pathopt.out): Likewise.
46081         ($(objpfx)tst-rtld-load-self.out): Likewise.
46082         ($(objpfx)tst-array1-cmp.out): Likewise.
46083         ($(objpfx)tst-array1-static-cmp.out): Likewise.
46084         ($(objpfx)tst-array2-cmp.out): Likewise.
46085         ($(objpfx)tst-array3-cmp.out): Likewise.
46086         ($(objpfx)tst-array4-cmp.out): Likewise.
46087         ($(objpfx)tst-array5-cmp.out): Likewise.
46088         ($(objpfx)tst-array5-static-cmp.out): Likewise.
46089         ($(objpfx)check-textrel.out): Likewise.
46090         ($(objpfx)check-execstack.out): Likewise.
46091         ($(objpfx)check-localplt.out): Likewise.
46092         ($(objpfx)order2-cmp.out): Likewise.
46093         ($(objpfx)tst-leaks1-mem): Likewise.
46094         ($(objpfx)tst-leaks1-static-mem): Likewise.
46095         ($(objpfx)tst-initorder-cmp.out): Likewise.
46096         ($(objpfx)tst-initorder2-cmp.out): Likewise.
46097         ($(objpfx)tst-unused-dep.out): Likewise.
46098         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
46099         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
46100         * iconv/Makefile (test-iconvconfig): Likewise.
46101         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
46102         ($(objpfx)iconv-test.out): Likewise.
46103         ($(objpfx)tst-tables.out): Likewise.
46104         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
46105         ($(objpfx)tst-gettext.out): Likewise.
46106         ($(objpfx)tst-translit.out): Likewise.
46107         ($(objpfx)tst-gettext2.out): Likewise.
46108         ($(objpfx)tst-gettext4.out): Likewise.
46109         ($(objpfx)tst-gettext6.out): Likewise.
46110         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
46111         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
46112         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
46113         ($(objpfx)tst-fopenloc-mem.out): Likewise.
46114         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46115         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46116         * posix/Makefile ($(objpfx)globtest.out): Likewise.
46117         ($(objpfx)wordexp-tst.out): Likewise.
46118         ($(objpfx)annexc.out): Likewise.
46119         ($(objpfx)tst-fnmatch-mem): Likewise.
46120         ($(objpfx)bug-regex2-mem): Likewise.
46121         ($(objpfx)bug-regex14-mem): Likewise.
46122         ($(objpfx)bug-regex21-mem): Likewise.
46123         ($(objpfx)bug-regex31-mem): Likewise.
46124         ($(objpfx)tst-vfork3-mem): Likewise.
46125         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46126         ($(objpfx)tst-pcre-mem): Likewise.
46127         ($(objpfx)tst-boost-mem): Likewise.
46128         ($(objpfx)tst-getconf.out): Likewise.
46129         ($(objpfx)bug-ga2-mem): Likewise.
46130         ($(objpfx)bug-glob2-mem): Likewise.
46131         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46132         ($(objpfx)mtrace-tst-leaks2): Likewise.
46133         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46134         ($(objpfx)tst-printf.out): Likewise.
46135         ($(objpfx)tst-setvbuf1.out): Likewise.
46136         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46137         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46138         ($(objpfx)tst-fmtmsg.out): Likewise.
46139         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46140         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46142         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46143         * bits/sigaction.h [__USE_MISC]: Likewise.
46144         * bits/waitstatus.h: Update #endif comments.
46145         * ctype/ctype.h: Likewise.
46146         * dirent/dirent.h: Likewise.
46147         [__USE_MISC]: Remove redundant conditionals.
46148         * grp/grp.h: Update #endif comments.
46149         [__USE_GNU]: Remove redundant conditionals.
46150         [__USE_MISC]: Likewise.
46151         * inet/netinet/in.h [__USE_GNU]: Likewise.
46152         * io/sys/stat.h [__USE_MISC]: Likewise.
46153         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46154         * libio/bits/stdio.h: Update #endif comments.
46155         [__USE_MISC]: Remove redundant conditionals.
46156         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46157         * libio/stdio.h: Update #endif comments.
46158         [__USE_MISC]: Remove redundant conditionals.
46159         * math/bits/math-finite.h [__USE_MISC]: Likewise.
46160         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46161         * math/math.h: Update #else and #endif comments.
46162         [__USE_MISC]: Remove redundant conditionals.
46163         * misc/sys/uio.h: Update #endif comments.
46164         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46165         * posix/glob.h [__USE_MISC]: Likewise.
46166         * posix/sys/types.h: Update #endif comments.
46167         [__USE_MISC]: Remove redundant conditionals.
46168         * posix/sys/wait.h: Update #endif comments.
46169         [__USE_MISC]: Remove redundant conditionals.
46170         * posix/unistd.h: Update #endif comments.
46171         [__USE_MISC]: Remove redundant conditionals.
46172         * pwd/pwd.h [__USE_GNU]: Likewise.
46173         [__USE_MISC]: Likewise.
46174         * resolv/netdb.h [__USE_GNU]: Likewise.
46175         * signal/signal.h: Update #endif comments.
46176         [__USE_MISC]: Remove redundant conditionals.
46177         * stdlib/stdlib.h: Update #else and #endif comments.
46178         [__USE_MISC]: Remove redundant conditionals.
46179         [__USE_GNU]: Likewise.
46180         * string/bits/string2.h [__USE_MISC]: Likewise.
46181         * string/string.h: Update #endif comments.
46182         [__USE_MISC]: Remove redundant conditionals.
46183         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46184         Likewise.
46185         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46186         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46187         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46188         Likewise.
46189         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46190         Likewise.
46191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46192         comments.
46193         [__USE_MISC]: Remove redundant conditionals.
46194         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46195         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46196         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46197         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46198         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46199         Likewise.
46200         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46201         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46202         Likewise.
46203         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46204         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46205         Likewise.
46206         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46207         Likewise.
46208         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46209         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46210         Likewise.
46211         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46212         Likewise.
46213         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46214         * sysdeps/x86/bits/string.h: Update #endif comments.
46215         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46216         conditionals.
46217         * time/sys/time.h: Update #endif comments.
46218         * time/time.h: Likewise.
46219         [__USE_MISC]: Remove redundant conditionals.
46221 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
46223         [BZ #16600]
46224         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46226 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
46228         * Versions.def (librt): Add GLIBC_2.17.
46230 2014-02-21  Adam Conrad  <adconrad@0c3.net>
46232         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46233         synonym for _SYS_AUXV_H to allow direct inclusion.
46234         * sysdeps/sparc/bits/hwcap.h: Likewise.
46235         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46236         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46237         * sysdeps/sparc/sysdep.h: Likewise.
46239 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46241         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46243 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46245         * benchtests/bench-strrchr.c: Print length instead of position.
46247 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
46249         [BZ #16611]
46250         * sysdeps/unix/sysv/linux/kernel-features.h
46251         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46252         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46253         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46254         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46255         Likewise.
46256         [__i386__ || __powerpc__ || __sh__ || __sparc__]
46257         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46258         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46259         (__ASSUME_SENDMMSG): Define instead of using previous
46260         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46261         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46262         (__ASSUME_SENDMMSG_SYSCALL): Define.
46263         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46264         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46265         Likewise.
46266         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46267         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46268         Likewise.
46269         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46270         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46271         Likewise.
46272         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46273         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46274         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46275         [__ASSUME_SENDMMSG]: Change conditionals to
46276         [__ASSUME_SENDMMSG_SOCKETCALL].
46277         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46278         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46279         Define.
46280         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46281         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46282         Likewise.
46283         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46284         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46285         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46286         [!__ASSUME_SENDMMSG]: Change conditional to
46287         [!__ASSUME_SENDMMSG_SOCKETCALL].
46288         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46289         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46290         Define.
46292         [BZ #16610]
46293         * sysdeps/unix/sysv/linux/kernel-features.h
46294         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46295         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46296         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46297         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46298         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46299         [__i386__ || __sparc__]
46300         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46301         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46302         (__ASSUME_RECVMMSG): Define instead of using previous
46303         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46304         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46305         (__ASSUME_RECVMMSG_SYSCALL): Define.
46306         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46307         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46308         Likewise.
46309         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46310         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46311         Likewise.
46312         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46313         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46314         Likewise.
46315         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46316         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46317         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46318         [__ASSUME_RECVMMSG]: Change condition to
46319         [__ASSUME_RECVMMSG_SOCKETCALL].
46320         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46321         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46322         Define.
46323         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46324         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46325         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46326         Likewise.
46327         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46328         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46329         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46330         [!__ASSUME_RECVMMSG]: Change condition to
46331         [!__ASSUME_RECVMMSG_SOCKETCALL].
46332         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46333         (__ASSUME_RECVMMSG_SYSCALL): Define.
46335         [BZ #16609]
46336         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46337         __powerpc__ || __s390__ || __sh__ || __sparc__]
46338         (__ASSUME_SOCKETCALL): Define.
46339         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46340         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46341         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46342         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46343         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46344         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46345         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46346         (__ASSUME_ACCEPT4): Define instead of using previous
46347         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46348         __powerpc__ || __sparc__ || __s390__)] condition.
46349         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46350         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46351         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46352         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46353         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46354         [!__ASSUME_ACCEPT4]: Change condition to
46355         [!__ASSUME_ACCEPT4_SOCKETCALL].
46356         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46357         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
46358         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46359         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46360         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46361         __ASSUME_ACCEPT4_SYSCALL.
46362         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46363         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46364         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46365         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46366         __ASSUME_ACCEPT4_SYSCALL.
46367         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46368         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46369         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46370         [__ASSUME_ACCEPT4]: Change condition to
46371         [__ASSUME_ACCEPT4_SOCKETCALL].
46372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46373         (__ASSUME_SOCKETCALL): Define.
46374         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46375         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46376         (__ASSUME_SOCKETCALL): Define.
46377         (__ASSUME_ACCEPT4): Remove.
46378         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46379         Define.
46380         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46381         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46382         Likewise.
46383         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46384         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46386         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46387         macro.
46388         (HWCAP_ARM_LPAE): Likewise.
46389         (HWCAP_ARM_EVTSTRM): Likewise.
46390         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46391         Add vpfd32, lpae and evtstrm.
46392         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46393         Increase to 22.
46395 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
46397         * math/auto-libm-test-in: Add tests of clog10.
46398         * math/auto-libm-test-out: Regenerated.
46399         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46400         * sysdeps/i386/fpu/libm-test-ulps: Update.
46401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46403 2014-02-18  Andreas Schwab  <schwab@suse.de>
46405         [BZ #16574]
46406         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46407         Store non-zero if the second buffer was newly allocated.
46408         (send_dg): Likewise.
46409         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46410         to send_vc and send_dg.
46411         (res_nsend): Pass NULL for ansp2_malloced.
46412         * resolv/res_query.c (__libc_res_nquery): Add parameter
46413         answerp2_malloced and pass it down to __libc_res_nsend.
46414         (res_nquery): Pass additional NULL to __libc_res_nquery.
46415         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46416         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
46417         second answer buffer if answerp2_malloced was set.
46418         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46419         (__libc_res_nquerydomain): Add parameter
46420         answerp2_malloced and pass it down to __libc_res_nquery.
46421         (res_nquerydomain): Pass additional NULL to
46422         __libc_res_nquerydomain.
46423         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46424         additional NULL to __libc_res_nsend and __libc_res_nquery.
46425         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46426         additional NULL to __libc_res_nsearch.
46427         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
46428         parameter of __libc_res_nsearch to check for separately allocated
46429         second buffer.
46430         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46431         __libc_res_nquery.
46432         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46433         additional NULL to __libc_res_nquery.
46434         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46435         __libc_res_nsearch.
46436         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46437         * include/resolv.h: Update prototypes of __libc_res_nquery,
46438         __libc_res_nsearch, __libc_res_nsend.
46440 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
46442         * math/auto-libm-test-in: Add tests of fma.
46443         * math/auto-libm-test-out: Regenerated.
46444         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46445         (fma_towardzero_test_data): Likewise.
46446         (fma_downward_test_data): Likewise.
46447         (fma_upward_test_data): Likewise.
46448         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46449         mpc_mode.
46450         (rounding_modes): Add values for new field.
46451         (func_calc_method): Add value mpfr_fff_f.
46452         (func_calc_desc): Add mpfr_fff_f union field.
46453         (test_function): Add field exact_args.
46454         (FUNC): Add macro argument EXACT_ARGS.
46455         (FUNC_mpfr_f_f): Update call to FUNC.
46456         (FUNC_mpfr_f_f): Likewise.
46457         (FUNC_mpfr_ff_f): Likewise.
46458         (FUNC_mpfr_if_f): Likewise.
46459         (FUNC_mpc_c_f): Likewise.
46460         (FUNC_mpc_c_c): Likewise.
46461         (test_functions): Add fma.  Update calls to FUNC.
46462         (handle_input_arg): Add argument exact_args.
46463         (add_test): Update call to handle_input_arg.
46464         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
46465         (output_for_one_input_case): Update call to calc_generic_results.
46466         Recalculate exact zero results in each rounding mode.
46468         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46469         non-negative before setting low bit.
46470         * math/auto-libm-test-in: Mark one asin test possibly having
46471         spurious underflow.
46472         * math/auto-libm-test-out: Regenerated.
46473         * sysdeps/i386/fpu/libm-test-ulps: Update.
46474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46476 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
46478         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46479         * sysdeps/unix/sysv/linux/microblaze: Move directory from
46480         ports/sysdeps/unix/sysv/linux/microblaze.
46481         * README: Add missing listing for microblaze*-*-linux-gnu.
46483 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
46485         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46486         duplicate code
46488 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
46490         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46491         * sysdeps/unix/sysv/linux/ia64: Move directory from
46492         ports/sysdeps/unix/sysv/linux/ia64.
46493         * README: Update listing for ia64-*-linux-gnu.
46495 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
46496             Joseph Myers  <joseph@codesourcery.com>
46498         * Makeconfig (test-name): New variable.
46499         (evaluate-test): Likewise.
46500         * Makerules (do-test-clean): Remove .test-result files.
46501         (common-mostlyclean): Likewise.
46502         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46503         * scripts/evaluate-test.sh: New file.
46505 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
46507         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46508         separate $(objpfx)tst-fopenloc-cmp.out and
46509         $(objpfx)tst-fopenloc-mem.out targets.
46510         (tests): Update dependencies.
46511         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46512         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46513         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46514         (tst-rxspencer-no-utf8-ARGS): New variable.
46515         (tst-rxspencer-no-utf8-ENV): Likewise.
46516         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46517         instead of $(objpfx)tst-rxspencer-mem.
46518         ($(objpfx)tst-rxspencer-mem): Change target to
46519         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
46520         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46521         * posix/tst-rxspencer-no-utf8.c: New file.
46523         * elf/Makefile ($(objpfx)order.out): Remove rule.
46524         [$(run-built-tests) = yes] (tests): Depend on
46525         $(objpfx)order-cmp.out.
46526         ($(objpfx)order-cmp.out): New rule.
46527         [$(run-built-tests) = yes] (tests): Depend on
46528         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46529         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46530         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46531         $(objpfx)tst-array5-static-cmp.out.
46532         ($(objpfx)tst-array1.out): Remove rule.
46533         ($(objpfx)tst-array1-cmp.out): New rule.
46534         ($(objpfx)tst-array1-static.out): Remove rule.
46535         ($(objpfx)tst-array1-static-cmp.out): New rule.
46536         ($(objpfx)tst-array2.out): Remove rule.
46537         ($(objpfx)tst-array2-cmp.out): New rule.
46538         ($(objpfx)tst-array3.out): Remove rule.
46539         ($(objpfx)tst-array3-cmp.out): New rule.
46540         ($(objpfx)tst-array4.out): Remove rule.
46541         ($(objpfx)tst-array4-cmp.out): New rule.
46542         ($(objpfx)tst-array5.out): Remove rule.
46543         ($(objpfx)tst-array5-cmp.out): New rule.
46544         ($(objpfx)tst-array5-static.out): Remove rule.
46545         ($(objpfx)tst-array5-static-cmp.out): New rule.
46546         [$(run-built-tests) = yes] (tests): Depend on
46547         $(objpfx)order2-cmp.out.
46548         ($(objpfx)order2.out): Remove rule.
46549         ($(objpfx)order2-cmp.out): New rule.
46550         ($(objpfx)tst-initorder.out): Remove rule.
46551         [$(run-built-tests) = yes] (tests): Depend on
46552         $(objpfx)tst-initorder-cmp.out.
46553         ($(objpfx)tst-initorder-cmp.out): New rule.
46554         ($(objpfx)tst-initorder2.out): Remove rule.
46555         [$(run-built-tests) = yes] (tests): Depend on
46556         $(objpfx)tst-initorder2-cmp.out.
46557         ($(objpfx)tst-initorder2-cmp.out): New rule.
46558         [$(run-built-tests) = yes] (tests): Depend on
46559         $(objpfx)tst-unused-dep-cmp.out.
46560         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46561         ($(objpfx)tst-unused-dep-cmp.out): New rule.
46562         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46563         on $(objpfx)tst-setvbuf1-cmp.out.
46564         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46565         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46566         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46567         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46568         ($(objpfx)tst-svc.out): Remove rule.
46569         ($(objpfx)tst-svc-cmp.out): New rule.
46571 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
46573         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46574         * ctype/ctype.h [__USE_MISC]: Likewise.
46575         * dirent/dirent.h [__USE_MISC]: Likewise.
46576         * grp/grp.h [__USE_MISC]: Likewise.
46577         * io/fcntl.h [__USE_MISC]: Likewise.
46578         * io/sys/stat.h [__USE_MISC]: Likewise.
46579         * libio/stdio.h [__USE_MISC]: Likewise.
46580         * posix/unistd.h [__USE_MISC]: Likewise.
46581         * pwd/pwd.h [__USE_MISC]: Likewise.
46582         * stdlib.h [__USE_MISC]: Likewise.
46583         * string/bits/string2.h [__USE_MISC]: Likewise.
46584         * string/string.h [__USE_MISC]: Likewise.
46585         * time/time.h [__USE_MISC]: Likewise.
46587 2014-02-13  Andreas Schwab  <schwab@suse.de>
46589         [BZ #16574]
46590         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46591         second answer buffer if it was separately allocated.
46593 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
46595         * sysdeps/mips/math-tests.h: Include <features.h>.
46596         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46597         (ROUNDING_TESTS_long_double): Do not define.
46598         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46599         (EXCEPTION_TESTS_long_double): Likewise.
46600         * sysdeps/mips/mips64/libm-test-ulps: Update.
46602         * include/features.h (__USE_BSD): Remove macro definitions.
46603         (__USE_SVID): Likewise.
46604         (_BSD_SOURCE): Likewise.
46605         (_SVID_SOURCE): Likewise.
46606         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46607         from definition of _DEFAULT_SOURCE.
46608         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46609         [_DEFAULT_SOURCE].
46610         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46611         * bits/mman.h [__USE_BSD]: Likewise.
46612         * bits/termios.h [__USE_BSD]: Likewise.
46613         * bits/waitstatus.h [__USE_BSD]: Likewise.
46614         * ctype/ctype.h [__USE_SVID]: Likewise.
46615         * dirent/dirent.h [__USE_BSD]: Likewise.
46616         * grp/grp.h [__USE_SVID]: Likewise.
46617         [__USE_BSD]: Likewise.
46618         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46619         * io/fcntl.h [__USE_BSD]: Likewise.
46620         * io/ftw.h [__USE_BSD]: Likewise.
46621         * io/sys/stat.h [__USE_BSD]: Likewise.
46622         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46623         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46624         * libio/stdio.h [__USE_SVID]: Likewise.
46625         [__USE_BSD]: Likewise.
46626         * math/math.h [__USE_SVID]: Likewise.
46627         [__USE_BSD]: Likewise.
46628         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46629         * misc/bits/syslog.h [__USE_BSD]: Likewise.
46630         * misc/search.h [__USE_SVID]: Likewise.
46631         * misc/sys/mman.h [__USE_BSD]: Likewise.
46632         * misc/sys/syslog.h [__USE_BSD]: Likewise.
46633         * misc/sys/uio.h [__USE_BSD]: Likewise.
46634         * posix/bits/unistd.h [__USE_BSD]: Likewise.
46635         * posix/glob.h [__USE_BSD]: Likewise.
46636         * posix/regex.h [__USE_BSD]: Likewise.
46637         * posix/sys/types.h [__USE_BSD]: Likewise.
46638         [__USE_SVID]: Likewise.
46639         * posix/sys/utsname.h [__USE_SVID]: Likewise.
46640         * posix/sys/wait.h [__USE_BSD]: Likewise.
46641         [__USE_SVID]: Likewise.
46642         * posix/unistd.h [__USE_BSD]: Likewise.
46643         [__USE_SVID]: Likewise.
46644         * pwd/pwd.h [__USE_SVID]: Likewise.
46645         * resolv/netdb.h [__USE_BSD]: Likewise.
46646         * setjmp/setjmp.h [__USE_BSD]: Likewise.
46647         * signal/signal.h [__USE_BSD]: Likewise.
46648         [__USE_SVID]: Likewise.
46649         * socket/sys/socket.h [__USE_BSD]: Likewise.
46650         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46651         * stdlib/stdlib.h [__USE_BSD]: Likewise.
46652         [__USE_SVID]: Likewise.
46653         * string/bits/string2.h [__USE_BSD]: Likewise.
46654         [__USE_SVID]: Likewise.
46655         * string/bits/string3.h [__USE_BSD]: Likewise.
46656         * string/endian.h [__USE_BSD]: Likewise.
46657         * string/string.h [__USE_SVID]: Likewise.
46658         [__USE_BSD]: Likewise.
46659         * string/strings.h [__USE_BSD]: Likewise.
46660         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46661         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46662         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46663         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46664         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46665         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46666         Likewise.
46667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46668         Likewise.
46669         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46670         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46671         Likewise.
46672         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46673         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46674         Likewise.
46675         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46676         Likewise.
46677         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46678         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46679         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46680         Likewise.
46681         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46682         Likewise.
46683         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46684         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46685         * termios/termios.h [__USE_BSD]: Likewise.
46686         * time/sys/time.h [__USE_BSD]: Likewise.
46687         * time/time.h [__USE_BSD]: Likewise.
46688         [__USE_SVID]: Likewise.
46690         * Makefile (subdir_targets): Remove subdir_lint.out.
46692         * stdio-common/Makefile (do-tst-unbputc): Remove target.
46693         (do-tst-printf): Likewise.
46694         (tests): Depend directly on $(objpfx)tst-unbputc.out and
46695         $(objpfx)tst-printf.out.
46697         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46699         * Makerules (check-abi-%): Change target to
46700         $(objpfx)check-abi-%.out.
46701         (check-abi target): Update dependencies.
46702         (check-abi-pattern variable): Redirect output of diff to $@.
46703         (check-abi variable): Likewise.
46704         * elf/Makefile (check-abi): Update dependencies.
46706         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46707         unused.
46708         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46709         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46710         subnormal range.
46711         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46712         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46713         value has largest subnormal exponent.
46714         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46715         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46716         * sysdeps/aarch64/soft-fp/sfp-machine.h
46717         (_FP_TININESS_AFTER_ROUNDING): New macro.
46718         * sysdeps/alpha/soft-fp/sfp-machine.h
46719         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46720         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46721         Likewise.
46722         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46723         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46724         * sysdeps/mips/soft-fp/sfp-machine.h
46725         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46726         * sysdeps/powerpc/soft-fp/sfp-machine.h
46727         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46728         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46729         Likewise.
46730         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46731         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46732         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46733         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46734         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46735         Likewise.
46737 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
46739         [BZ #16545]
46740         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46741         model 1.
46743 2014-02-12  Richard Henderson  <rth@redhat.com>
46745         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46746         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46747         * sysdeps/unix/sysv/linux/alpha: Move directory from
46748         ports/sysdeps/unix/sysv/linux/alpha.
46749         * README: Update listing for alpha-*-linux-gnu.
46751 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
46753         * include/features.h: Update comment documenting feature test
46754         macros.
46755         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
46756         _DEFAULT_SOURCE.
46757         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46758         (_SVID_SOURCE): Likewise.
46759         (_DEFAULT_SOURCE): Update description of default features.
46760         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46761         with _GNU_SOURCE.
46762         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46763         (S_ISVTX): Likewise.
46764         * manual/math.texi (Mathematical Constants): Likewise.
46765         * manual/signal.texi (Interrupted Primitives): Likewise.
46766         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46767         * math/test-matherr.c (_SVID_SOURCE): Do not define.
46768         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46769         Don't refer to _SVID_SOURCE in warning text.
46771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46773         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46774         already defined.
46775         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46776         * sysdeps/mips/dl-lookup.c: Remove.
46777         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46779 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46781         [BZ #16447]
46782         * math/auto-libm-test-in: Add testcase for expl.
46783         * math/auto-libm-test-out: Regenerate.
46784         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46785         calculation of unsafe.
46786         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46788 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46790         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46791         * sysdeps/unix/sysv/linux/aarch64: Move directory from
46792         ports/sysdeps/unix/sysv/linux/aarch64.
46793         * README: Update listing for aarch64*-*-linux-gnu.
46795 2014-02-11  Will Newton  <will.newton@linaro.org>
46797         * manual/probes.texi (Mathematical Function Probes): Use
46798         "triggered" instead of "hit".
46800         * manual/probes.texi (Internal Probes): Add documentation
46801         of setjmp, longjmp and longjmp_target probes.
46803         * include/stap-probe.h: Add comment about probe argument
46804         format.
46806         * malloc/mtrace.c (attribute_hidden): Remove unused macro
46807         definition.  (tr_where, tr_freehook, tr_mallochook,
46808         tr_reallochook, tr_memalignhook): Use ANSI protoype.
46810 2014-02-11  David S. Miller  <davem@davemloft.net>
46812         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46813         processing int_tests.
46815 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
46817         * sysdeps/mips: Move directory from ports/sysdeps/mips.
46818         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46819         * sysdeps/unix/sysv/linux/mips: Move directory from
46820         ports/sysdeps/unix/sysv/linux/mips.
46821         * README: Update listing for mips-*-linux-gnu and
46822         mips64-*-linux-gnu.
46824 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
46826         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46827         * sysdeps/unix/sysv/linux/m68k: Move directory from
46828         ports/sysdeps/unix/sysv/linux/m68k.
46829         * README: Update listing for m68k-*-linux-gnu.
46831 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
46833         * sysdeps/tile: Move directory from ports/sysdeps/tile.
46834         * sysdeps/unix/sysv/linux/generic: Move directory from
46835         ports/sysdeps/unix/sysv/linux/generic.
46836         * sysdeps/unix/sysv/linux/tile: Move directory from
46837         ports/sysdeps/unix/sysv/linux/tile.
46838         * README: Update listing for tile*-*-linux-gnu.
46840 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
46842         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46843         __builtin_expect.
46844         * benchtests/bench-memmem.c (simple_memmem): Likewise.
46845         * catgets/open_catalog.c (__open_catalog): Likewise.
46846         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46847         * debug/confstr_chk.c: Likewise.
46848         * debug/fread_chk.c (__fread_chk): Likewise.
46849         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46850         * debug/getgroups_chk.c: Likewise.
46851         * debug/mbsnrtowcs_chk.c: Likewise.
46852         * debug/mbsrtowcs_chk.c: Likewise.
46853         * debug/mbstowcs_chk.c: Likewise.
46854         * debug/memcpy_chk.c: Likewise.
46855         * debug/memmove_chk.c: Likewise.
46856         * debug/mempcpy_chk.c: Likewise.
46857         * debug/memset_chk.c: Likewise.
46858         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46859         * debug/strcat_chk.c (__strcat_chk): Likewise.
46860         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46861         * debug/strncat_chk.c (__strncat_chk): Likewise.
46862         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46863         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46864         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46865         * debug/wcpncpy_chk.c: Likewise.
46866         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46867         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46868         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46869         * debug/wcsncpy_chk.c: Likewise.
46870         * debug/wcsnrtombs_chk.c: Likewise.
46871         * debug/wcsrtombs_chk.c: Likewise.
46872         * debug/wcstombs_chk.c: Likewise.
46873         * debug/wmemcpy_chk.c: Likewise.
46874         * debug/wmemmove_chk.c: Likewise.
46875         * debug/wmempcpy_chk.c: Likewise.
46876         * debug/wmemset_chk.c: Likewise.
46877         * dirent/scandirat.c (SCANDIRAT): Likewise.
46878         * dlfcn/dladdr1.c (dladdr1): Likewise.
46879         * dlfcn/dladdr.c (dladdr): Likewise.
46880         * dlfcn/dlclose.c (dlclose_doit): Likewise.
46881         * dlfcn/dlerror.c (__dlerror): Likewise.
46882         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46883         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46884         * dlfcn/dlopen.c (dlopen_doit): Likewise.
46885         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46886         * dlfcn/dlsym.c (dlsym_doit): Likewise.
46887         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46888         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46889         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46890         Likewise.
46891         * elf/dl-conflict.c: Likewise.
46892         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46893         * elf/dl-dst.h: Likewise.
46894         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46895         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46896         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46897         * elf/dl-init.c (call_init, _dl_init): Likewise.
46898         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46899         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46900         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46901         Likewise.
46902         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46903         Likewise.
46904         * elf/dl-minimal.c (__libc_memalign): Likewise.
46905         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46906         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46907         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46908         * elf/dl-sym.c (do_sym): Likewise.
46909         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46910         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46911         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46912         * elf/dl-writev.h (_dl_writev): Likewise.
46913         * elf/ldconfig.c (search_dir): Likewise.
46914         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46915         (dl_main): Likewise.
46916         * elf/setup-vdso.h (setup_vdso): Likewise.
46917         * grp/compat-initgroups.c (compat_call): Likewise.
46918         * grp/fgetgrent.c (fgetgrent): Likewise.
46919         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46920         * grp/putgrent.c (putgrent): Likewise.
46921         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46922         Likewise.
46923         * hurd/hurdinit.c: Likewise.
46924         * iconvdata/8bit-gap.c (struct): Likewise.
46925         * iconvdata/ansi_x3.110.c : Likewise.
46926         * iconvdata/big5.c : Likewise.
46927         * iconvdata/big5hkscs.c : Likewise.
46928         * iconvdata/cp1255.c: Likewise.
46929         * iconvdata/cp1258.c : Likewise.
46930         * iconvdata/cp932.c : Likewise.
46931         * iconvdata/euc-cn.c: Likewise.
46932         * iconvdata/euc-jisx0213.c : Likewise.
46933         * iconvdata/euc-jp.c: Likewise.
46934         * iconvdata/euc-jp-ms.c : Likewise.
46935         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46936         * iconvdata/gb18030.c : Likewise.
46937         * iconvdata/gbbig5.c (const): Likewise.
46938         * iconvdata/gbgbk.c: Likewise.
46939         * iconvdata/gbk.c : Likewise.
46940         * iconvdata/ibm1364.c : Likewise.
46941         * iconvdata/ibm930.c : Likewise.
46942         * iconvdata/ibm932.c: Likewise.
46943         * iconvdata/ibm933.c : Likewise.
46944         * iconvdata/ibm935.c : Likewise.
46945         * iconvdata/ibm937.c : Likewise.
46946         * iconvdata/ibm939.c : Likewise.
46947         * iconvdata/ibm943.c: Likewise.
46948         * iconvdata/iso_11548-1.c: Likewise.
46949         * iconvdata/iso-2022-cn.c : Likewise.
46950         * iconvdata/iso-2022-cn-ext.c : Likewise.
46951         * iconvdata/iso-2022-jp-3.c: Likewise.
46952         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46953         * iconvdata/iso-2022-kr.c : Likewise.
46954         * iconvdata/iso646.c (gconv_end): Likewise.
46955         * iconvdata/iso_6937-2.c : Likewise.
46956         * iconvdata/iso_6937.c : Likewise.
46957         * iconvdata/iso8859-1.c: Likewise.
46958         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46959         * iconvdata/shift_jisx0213.c : Likewise.
46960         * iconvdata/sjis.c : Likewise.
46961         * iconvdata/t.61.c : Likewise.
46962         * iconvdata/tcvn5712-1.c : Likewise.
46963         * iconvdata/tscii.c: Likewise.
46964         * iconvdata/uhc.c : Likewise.
46965         * iconvdata/unicode.c (gconv_end): Likewise.
46966         * iconvdata/utf-16.c (gconv_end): Likewise.
46967         * iconvdata/utf-32.c (gconv_end): Likewise.
46968         * iconvdata/utf-7.c (base64): Likewise.
46969         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46970         * iconv/gconv_close.c (__gconv_close): Likewise.
46971         * iconv/gconv_open.c (__gconv_open): Likewise.
46972         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46973         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46974         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46975         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46976         (ucs4le_internal_loop_single): Likewise.
46977         * iconv/iconv.c (iconv): Likewise.
46978         * iconv/iconv_close.c: Likewise.
46979         * iconv/loop.c (SINGLE): Likewise.
46980         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46981         * include/atomic.h: Likewise.
46982         * inet/inet6_option.c (option_alloc): Likewise.
46983         * intl/bindtextdom.c (set_binding_values): Likewise.
46984         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46985         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46986         * intl/localealias.c (read_alias_file): Likewise.
46987         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46988         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46989         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46990         * libio/fmemopen.c (fmemopen): Likewise.
46991         * libio/iofgets.c (_IO_fgets): Likewise.
46992         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46993         * libio/iofgetws.c (fgetws): Likewise.
46994         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46995         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46996         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46997         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46998         * locale/findlocale.c (_nl_find_locale): Likewise.
46999         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
47000         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
47001         Likewise.
47002         * locale/setlocale.c (setlocale): Likewise.
47003         * login/programs/pt_chown.c (main): Likewise.
47004         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
47005         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
47006         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
47007         (mmap, mmap64, mremap, munmap): Likewise.
47008         * math/e_exp2l.c: Likewise.
47009         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
47010         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
47011         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
47012         * math/s_catan.c (__catan): Likewise.
47013         * math/s_catanf.c (__catanf): Likewise.
47014         * math/s_catanh.c (__catanh): Likewise.
47015         * math/s_catanhf.c (__catanhf): Likewise.
47016         * math/s_catanhl.c (__catanhl): Likewise.
47017         * math/s_catanl.c (__catanl): Likewise.
47018         * math/s_ccosh.c (__ccosh): Likewise.
47019         * math/s_ccoshf.c (__ccoshf): Likewise.
47020         * math/s_ccoshl.c (__ccoshl): Likewise.
47021         * math/s_cexp.c (__cexp): Likewise.
47022         * math/s_cexpf.c (__cexpf): Likewise.
47023         * math/s_cexpl.c (__cexpl): Likewise.
47024         * math/s_clog10.c (__clog10): Likewise.
47025         * math/s_clog10f.c (__clog10f): Likewise.
47026         * math/s_clog10l.c (__clog10l): Likewise.
47027         * math/s_clog.c (__clog): Likewise.
47028         * math/s_clogf.c (__clogf): Likewise.
47029         * math/s_clogl.c (__clogl): Likewise.
47030         * math/s_csin.c (__csin): Likewise.
47031         * math/s_csinf.c (__csinf): Likewise.
47032         * math/s_csinh.c (__csinh): Likewise.
47033         * math/s_csinhf.c (__csinhf): Likewise.
47034         * math/s_csinhl.c (__csinhl): Likewise.
47035         * math/s_csinl.c (__csinl): Likewise.
47036         * math/s_csqrt.c (__csqrt): Likewise.
47037         * math/s_csqrtf.c (__csqrtf): Likewise.
47038         * math/s_csqrtl.c (__csqrtl): Likewise.
47039         * math/s_ctan.c (__ctan): Likewise.
47040         * math/s_ctanf.c (__ctanf): Likewise.
47041         * math/s_ctanh.c (__ctanh): Likewise.
47042         * math/s_ctanhf.c (__ctanhf): Likewise.
47043         * math/s_ctanhl.c (__ctanhl): Likewise.
47044         * math/s_ctanl.c (__ctanl): Likewise.
47045         * math/w_pow.c: Likewise.
47046         * math/w_powf.c: Likewise.
47047         * math/w_powl.c: Likewise.
47048         * math/w_scalb.c (sysv_scalb): Likewise.
47049         * math/w_scalbf.c (sysv_scalbf): Likewise.
47050         * math/w_scalbl.c (sysv_scalbl): Likewise.
47051         * misc/error.c (error_tail): Likewise.
47052         * misc/pselect.c (__pselect): Likewise.
47053         * nis/nis_callback.c (__nis_create_callback): Likewise.
47054         * nis/nis_call.c (__nisfind_server): Likewise.
47055         * nis/nis_creategroup.c (nis_creategroup): Likewise.
47056         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
47057         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
47058         * nis/nis_getservlist.c (nis_getservlist): Likewise.
47059         * nis/nis_lookup.c (nis_lookup): Likewise.
47060         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
47061         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
47062         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
47063         * nis/nis_xdr.c (xdr_endpoint): Likewise.
47064         * nis/nss_compat/compat-grp.c (getgrent_next_file)
47065         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
47066         * nis/nss_compat/compat-initgroups.c (add_group)
47067         (internal_getgrent_r): Likewise.
47068         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
47069         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
47070         * nis/nss_compat/compat-spwd.c (getspent_next_file)
47071         (internal_getspnam_r): Likewise.
47072         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
47073         (_nss_nis_getaliasbyname_r): Likewise.
47074         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
47075         (_nss_nis_getntohost_r): Likewise.
47076         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
47077         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
47078         (_nss_nis_getgrgid_r): Likewise.
47079         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
47080         (internal_nis_gethostent_r, internal_gethostbyname2_r)
47081         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
47082         (_nss_nis_gethostbyname4_r): Likewise.
47083         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
47084         (initgroups_netid): Likewise.
47085         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
47086         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
47087         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
47088         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
47089         (_nss_nis_getprotobynumber_r): Likewise.
47090         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
47091         (_nss_nis_getsecretkey): Likewise.
47092         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
47093         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
47094         (_nss_nis_getpwuid_r): Likewise.
47095         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
47096         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
47097         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
47098         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
47099         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
47100         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
47101         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
47102         Likewise.
47103         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
47104         (_nss_nisplus_getntohost_r): Likewise.
47105         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
47106         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
47107         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
47108         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
47109         Likewise.
47110         * nis/nss_nisplus/nisplus-initgroups.c
47111         (_nss_nisplus_initgroups_dyn): Likewise.
47112         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
47113         (_nss_nisplus_getnetbyaddr_r): Likewise.
47114         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47115         (_nss_nisplus_getprotobynumber_r): Likewise.
47116         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47117         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47118         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47119         Likewise.
47120         * nis/nss_nisplus/nisplus-service.c
47121         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47122         (_nss_nisplus_getservbyport_r): Likewise.
47123         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47124         (_nss_nisplus_getspnam_r): Likewise.
47125         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47126         Likewise.
47127         * nscd/aicache.c (addhstaiX): Likewise.
47128         * nscd/cache.c (cache_search, prune_cache): Likewise.
47129         * nscd/connections.c (register_traced_file, send_ro_fd)
47130         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47131         (main_loop_epoll): Likewise.
47132         * nscd/grpcache.c (addgrbyX): Likewise.
47133         * nscd/hstcache.c (addhstbyX): Likewise.
47134         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47135         * nscd/mem.c (gc, mempool_alloc): Likewise.
47136         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47137         (addinnetgrX): Likewise.
47138         * nscd/nscd-client.h (__nscd_acquire_maplock)
47139         (__nscd_drop_map_ref): Likewise.
47140         * nscd/nscd_getai.c (__nscd_getai): Likewise.
47141         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47142         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47143         Likewise.
47144         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47145         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47146         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47147         (__nscd_get_map_ref): Likewise.
47148         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47149         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47150         Likewise.
47151         * nscd/pwdcache.c (addpwbyX): Likewise.
47152         * nscd/selinux.c (preserve_capabilities): Likewise.
47153         * nscd/servicescache.c (addservbyX): Likewise.
47154         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47155         * posix/fnmatch.c (fnmatch): Likewise.
47156         * posix/getopt.c (_getopt_internal_r): Likewise.
47157         * posix/glob.c (glob, glob_in_dir): Likewise.
47158         * posix/wordexp.c (exec_comm_child): Likewise.
47159         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47160         (getanswer_r, gaih_getanswer_slice): Likewise.
47161         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47162         * resolv/res_init.c: Likewise.
47163         * resolv/res_mkquery.c (res_nmkquery): Likewise.
47164         * resolv/res_query.c (__libc_res_nquery): Likewise.
47165         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47166         Likewise.
47167         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47168         * stdio-common/perror.c (perror): Likewise.
47169         * stdio-common/printf_fp.c (___printf_fp): Likewise.
47170         * stdio-common/tmpnam.c (tmpnam): Likewise.
47171         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47172         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47173         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47174         Likewise.
47175         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47176         * stdlib/putenv.c (putenv): Likewise.
47177         * stdlib/setenv.c (__add_to_environ): Likewise.
47178         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47179         * stdlib/strtol_l.c (INTERNAL): Likewise.
47180         * string/memmem.c (memmem): Likewise.
47181         * string/strerror.c (strerror): Likewise.
47182         * string/strnlen.c (__strnlen): Likewise.
47183         * string/test-memmem.c (simple_memmem): Likewise.
47184         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47185         * sunrpc/pm_getport.c (__get_socket): Likewise.
47186         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47187         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47188         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47189         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47190         Likewise.
47191         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47192         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47193         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47194         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47195         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47196         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47197         Likewise.
47198         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47199         Likewise.
47200         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47201         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47202         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47203         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47204         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47206         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47207         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47208         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47209         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47210         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47211         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47212         Likewise.
47213         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47214         Likewise.
47215         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47216         Likewise.
47217         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47218         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47219         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47220         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47221         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47222         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47223         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47224         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47225         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47226         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47227         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47228         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47229         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47230         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47231         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47232         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47233         Likewise.
47234         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47235         Likewise.
47236         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47237         Likewise.
47238         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47239         Likewise.
47240         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47241         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47242         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47243         Likewise.
47244         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47245         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47246         * sysdeps/posix/opendir.c (__opendirat): Likewise.
47247         * sysdeps/posix/sleep.c: Likewise.
47248         * sysdeps/posix/tempname.c: Likewise.
47249         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47250         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47251         Likewise.
47252         * sysdeps/powerpc/powerpc32/dl-machine.h
47253         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47254         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47256         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47257         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47258         Likewise.
47259         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47260         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47261         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47262         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47263         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47264         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47265         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47266         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47267         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47268         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47269         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47270         (elf_machine_lazy_rel): Likewise.
47271         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47272         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47273         (elf_machine_lazy_rel): Likewise.
47274         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47275         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47276         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47277         * sysdeps/unix/grantpt.c (grantpt): Likewise.
47278         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47279         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47280         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47281         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47282         Likewise.
47283         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47284         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47285         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47286         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47287         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47288         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47289         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47290         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47291         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47292         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47293         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47294         Likewise.
47295         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47296         (__posix_fallocate64_l64): Likewise.
47297         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47298         (posix_fallocate): Likewise.
47299         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47300         Likewise.
47301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47302         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47303         (getifaddrs_internal): Likewise.
47304         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47305         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47306         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47307         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47308         * sysdeps/unix/sysv/linux/posix_fallocate64.c
47309         (__posix_fallocate64_l64): Likewise.
47310         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47311         Likewise.
47312         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47313         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47314         (__get_clockfreq): Likewise.
47315         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47316         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47317         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47318         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47319         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47320         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47321         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47322         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47323         Likewise.
47324         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47325         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47326         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47327         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47328         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47329         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47330         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47331         Likewise.
47332         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47333         (posix_fallocate): Likewise.
47334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47335         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47336         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47337         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47338         (elf_machine_rela, elf_machine_rela_relative)
47339         (elf_machine_lazy_rel): Likewise.
47340         * time/asctime.c (asctime_internal): Likewise.
47341         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47342         * time/tzset.c (__tzset_parse_tz): Likewise.
47343         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47344         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47345         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47346         * wcsmbs/wcsmbsload.h: Likewise.
47348         [BZ #15894]
47349         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47351         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47352         (arena_get2): Remove THREAD_STATS conditionals.
47353         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47354         (__malloc_stats, int): Likewise.
47356 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
47358         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47359         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
47361         * manual/setjmp.texi: Fix typos/grammar errors.
47363         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47364         Only return early when n is <= 0.  Delete unused return statement.
47366         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47367         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47368         * debug/tst-longjmp_chk3.c: New file.
47370         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47371         (test_main): Replace code with set_fortify_handler call.
47372         * debug/test-strcpy_chk.c: Likewise.
47373         * debug/tst-chk1.c: Likewise.
47374         * debug/tst-longjmp_chk.c: Likewise.
47375         * test-skeleton.c: Include fcntl.h & paths.h
47376         (set_fortify_handler): Define.
47378         * debug/tst-longjmp_chk.c: Add header comment and include
47379         ../test-skeleton.c.
47380         (do_test): Mark static.
47381         (TEST_FUNCTION): Define.
47383         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47384         (IP_PMTUDISC_INTERFACE): Likewise.
47385         (IP_MULTICAST_IF): Likewise.
47386         (IP_MULTICAST_TTL): Likewise.
47387         (IP_MULTICAST_LOOP): Likewise.
47388         (IP_ADD_MEMBERSHIP): Likewise.
47389         (IP_DROP_MEMBERSHIP): Likewise.
47390         (IP_UNBLOCK_SOURCE): Likewise.
47391         (IP_BLOCK_SOURCE): Likewise.
47392         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47393         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47394         (IP_MSFILTER): Likewise.
47395         (MCAST_JOIN_GROUP): Likewise.
47396         (MCAST_BLOCK_SOURCE): Likewise.
47397         (MCAST_UNBLOCK_SOURCE): Likewise.
47398         (MCAST_LEAVE_GROUP): Likewise.
47399         (MCAST_JOIN_SOURCE_GROUP): Likewise.
47400         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47401         (MCAST_MSFILTER): Likewise.
47402         (IP_MULTICAST_ALL): Likewise.
47403         (IP_UNICAST_IF): Likewise.
47405         * timezone/Makefile: Delete $(have-ksh) check.
47406         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47407         * timezone/tzselect.ksh: Add +x mode bits.
47409         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47410         (ANON_INODE_FS_MAGIC): Likewise.
47411         (BDEVFS_MAGIC): Likewise.
47412         (BINFMTFS_MAGIC): Likewise.
47413         (BTRFS_TEST_MAGIC): Likewise.
47414         (CRAMFS_MAGIC_WEND): Likewise.
47415         (DEBUGFS_MAGIC): Likewise.
47416         (ECRYPTFS_SUPER_MAGIC): Likewise.
47417         (EXT3_SUPER_MAGIC): Likewise.
47418         (EXT4_SUPER_MAGIC): Likewise.
47419         (FUTEXFS_SUPER_MAGIC): Likewise.
47420         (HOSTFS_SUPER_MAGIC): Likewise.
47421         (HUGETLBFS_MAGIC): Likewise.
47422         (MINIX3_SUPER_MAGIC): Likewise.
47423         (MTD_INODE_FS_MAGIC): Likewise.
47424         (NILFS_SUPER_MAGIC): Likewise.
47425         (OPENPROM_SUPER_MAGIC): Likewise.
47426         (PIPEFS_MAGIC): Likewise.
47427         (PSTOREFS_MAGIC): Likewise.
47428         (QNX6_SUPER_MAGIC): Likewise.
47429         (RAMFS_MAGIC): Likewise.
47430         (REISERFS_SUPER_MAGIC_STRING): Likewise.
47431         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47432         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47433         (SECURITYFS_MAGIC): Likewise.
47434         (SELINUX_MAGIC): Likewise.
47435         (SMACK_MAGIC): Likewise.
47436         (SOCKFS_MAGIC): Likewise.
47437         (SQUASHFS_MAGIC): Likewise.
47438         (STACK_END_MAGIC): Likewise.
47439         (TMPFS_MAGIC): Likewise.
47440         (USBDEVICE_SUPER_MAGIC): Likewise.
47441         (V9FS_MAGIC): Likewise.
47442         (XENFS_SUPER_MAGIC): Likewise.
47443         (CRAMFS_MAGIC): Fix typo in comment.
47444         (EXT2_SUPER_MAGIC): Update comment.
47445         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47447 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
47449         * sysdeps/arm: Move directory from ports/sysdeps/arm.
47450         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47451         * sysdeps/unix/sysv/linux/arm: Move directory from
47452         ports/sysdeps/unix/sysv/linux/arm.
47453         * README: Update listing for arm-*-linux-gnueabi.
47455         * README: Remove mention of am33.
47457 2014-02-07  Roland McGrath  <roland@hack.frob.com>
47459         * bits/sigset.h (__sigemptyset): Use a statement expression rather
47460         than the comma operator, to avoid "rhs of comma has no effect"
47461         compiler warnings.
47462         (__sigfillset, __sigandset, __sigorset): Likewise.
47463         * include/signal.h (__sigemptyset): Likewise.
47464         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47466 2014-02-07  Allan McRae  <allan@archlinux.org>
47468         * version.h (RELEASE): Set to "development".
47469         (VERSION): Set to "2.19.90"
47470         * NEWS: Add 2.20 section.
47472 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
47474         [BZ #16529]
47475         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47477 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47479         * manual/contrib.texi: Update entry for Carlos O'Donell,
47480         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47482 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
47484         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47486         * sysdeps/unix/sysv/linux/kernel-features.h
47487         [__LINUX_KERNEL_VERSION >= 0x020621]
47488         (__ASSUME_PROC_PID_TASK_COMM): Define.
47490 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47492         [BZ #16398]
47493         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47494         conversion when destination buffer does not have enough space.
47495         * libio/tst-ftell-partial-wide.c: New test case.
47496         * libio/Makefile (tests): Add tst-ftell-partial-wide.
47498         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47499         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
47500         Leonard and Allan McRae.
47502 2014-02-04  David S. Miller  <davem@davemloft.net>
47504         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47505         32-bit.
47507 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47510         New file
47511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47512         New file
47513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47514         New file.
47515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47516         New file.
47517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47518         New file.
47519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47520         New file.
47521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47522         New file.
47523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47524         New file.
47525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47526         New file.
47527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47528         New file.
47529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47530         New file.
47531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47532         New file.
47533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47534         New file.
47536 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47538         * nptl/shlib-versions: Change powerpc*le start to 2.17.
47539         * shlib-versions: Likewise.
47541 2014-02-04  Roland McGrath  <roland@hack.frob.com>
47542             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47544         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47545         (abilist-pattern): New variable, set to %-le.abilist.
47547         * Makerules (abilist-pattern): New variable.
47548         (vpath): Use $(abilist-pattern) in place of %.abilist.
47549         (check-abi-% pattern rule): Likewise.
47550         (check-abi, update-abi): Likewise.
47552 2014-02-04  Eric Wong  <normalperson@yhbt.net>
47554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47556 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
47558         * manual/startup.texi: Add next, previous, and top entries for
47559         the `Program Arguments' and `Environment Variables' nodes.
47561 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
47563         * manual/macros.texi: Add comments before MTASC-safety macros.
47565         * manual/users.texi: Document MTASC-safety properties.
47567         * manual/threads.texi (pthread_key_create, pthread_key_delete)
47568         (pthread_getspecific, pthread_setspecific): Format with
47569         @deftypefun, and add @safety note.
47570         * manual/signal.texi: Move comments that analyze the above
47571         functions to their home place.
47573 2014-02-03  Allan McRae  <allan@archlinux.org>
47575         * po/sl.po: Update Slovenian translation from translation project.
47577 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
47579         * manual/time.texi (timegm): Add missing blank after @c.
47580         Reported by Joseph Myers <joseph@codesourcery.com>.
47582 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
47584         * manual/check-safety.sh: New.
47585         * manual/Makefile ($(objpfx)stamp-summary): Run it.
47587         * manual/terminal.texi: Document MTASC-safety properties.
47589         * manual/filesys.texi: Document MTASC-safety properties.
47591         * manual/errno.texi: Document MTASC-safety properties.
47593         * manual/intro.texi: Document safety identifiers and
47594         conditionals.
47596         * manual/string.texi (wcstok): Fix prototype.
47597         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47599         * manual/time.texi: Document MTASC-safety properties.
47601         * manual/string.texi: Document MTASC-safety properties.
47603         * manual/threads.texi: Document MTASC-safety properties.
47605         * manual/stdio.texi: Document MTASC-safety properties.
47607         * manual/syslog.texi: Document MTASC-safety properties.
47609         * manual/sysinfo.texi: Document MTASC-safety properties.
47611         * manual/startup.texi: Document MTASC-safety properties.
47613         * manual/socket.texi: Document MTASC-safety properties.
47615         * manual/signal.texi: Document MTASC-safety properties.
47617 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
47619         * manual/setjmp.texi: Document MTASC-safety properties.
47621         * manual/search.texi: Document MTASC-safety properties.
47623         * manual/resource.texi: Document MTASC-safety properties.
47625         * manual/process.texi: Document MTASC-safety properties.
47627         * manual/platform.texi: Document MTASC-safety properties.
47629         * manual/pipe.texi: Document MTASC-safety properties.
47631         * manual/pattern.texi: Document MTASC-safety properties.
47633         * manual/message.texi: Document MTASC-safety properties.
47635         [BZ #12751]
47636         * manual/memory.texi: Document MTASC-safety properties.
47638         * manual/math.texi: Document MTASC-safety properties.
47640         * manual/locale.texi: Document MTASC-safety properties.
47642         * manual/llio.texi: Document MTASC-safety properties.
47644         * manual/libdl.texi: New.
47646         * manual/lang.texi: Document MTASC-safety properties.
47648         * manual/job.texi: Document MTASC-safety properties.
47650         * manual/getopt.texi: Document MTASC-safety properties.
47652         * manual/ctype.texi: Document MTASC-safety properties.
47654 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
47656         [BZ #16046]
47657         * csu/libc-tls.c (static_map): Remove variable.
47658         (__libc_setup_tls): Use main executable's link map for TLS data.
47659         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47660         casing for LM_ID_BASE and GL(dl_nns).
47661         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47662         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
47663         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47664         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47665         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47666         member.
47667         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47668         l_phnum members.
47670 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
47672         * manual/debug.texi: Document MTASC-safety properties.
47674 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
47676         [BZ #16510]
47677         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47678         of __x86_64__ when disabling x87 inline functions.
47680 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
47682         * manual/charset.texi: Document MTASC-safety properties.
47684         * manual/crypt.texi: Document MTASC-safety properties.
47686         * manual/conf.texi: Document MTASC-safety properties.
47688         * manual/arith.texi: Document MTASC-safety properties.
47690         * manual/argp.texi: Document MTASC-safety properties.
47692         * manual/macros.texi: Introduce macros to document multi
47693         thread, asynchronous signal and asynchronous cancellation
47694         safety properties.
47695         * manual/intro.texi: Introduce the properties themselves.
47697 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47699         * sysdeps/sh/sh4/Makefile: New file.
47701 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
47703         * math/gen-libm-test.pl ($srcdir): New variable.
47704         ($auto_input): Use it.
47706 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47708         [BZ #16506]
47709         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47710         access beyond array bounds when parsing netgroups file.
47712         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47713         the old buffer before realloc.
47715 2014-01-27  Allan McRae  <allan@archlinux.org>
47717         * po/fr.po: Update French translation from translation project.
47719 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47721         * sysdeps/sh/libm-test-ulps: Regenerate.
47723 2014-01-24  David S. Miller  <davem@davemloft.net>
47725         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47727 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47729         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47730         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47732 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47734         [BZ #16474]
47735         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47736         string pointers after reallocation.
47738 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47740         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47741         __SH4A__ instead of __SH_FPU_ANY__.
47743 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47745         * sysdeps/sh/fpu_control.h: New file.
47746         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47747         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47748         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47749         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47750         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47751         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47752         * sysdeps/sh/sys/ucontext.h: Remove.
47753         * sysdeps/sh/sys: Remove directory.
47755 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47757         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47758         s390/sys/ucontext.h.
47759         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47760         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47762 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
47764         [BZ #15605]
47765         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47767 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47769         [BZ#16431]
47770         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47771         Adjust the vDSO correctly for internal calls.
47772         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47774 2014-01-20  Allan McRae  <allan@archlinux.org>
47776         * po/ca.po: Update Catalan translation from translation project.
47778 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
47780         * sysdeps/s390/sotruss-lib.c: New file.
47782 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47784         [BZ#16430]
47785         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47786         (__GI___gettimeofday): Alias for a different internal symbol to avoid
47787         local calls issues by not having a PLT stub required for IFUNC calls.
47788         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47790 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
47792         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47793         * math/test-fpucw-static.c: Likewise.
47795 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47797         [BZ #16453]
47798         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47800 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47802         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47803         implementation for powerpc.
47805 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
47807         [BZ #14782]
47808         * sysdeps/posix/system.c (__libc_system): Do not enable
47809         asynchronous cancellation.
47811 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47813         [BZ #16427]
47814         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47815         handling only for numbers special also in the IEEE case.
47817 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47819         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47821 2014-01-11  Allan McRae  <allan@archlinux.org>
47823         * po/bg.po: Update Bulgarian translation from translation project.
47825         * po/de.po: Update German translation from translation project.
47827 2014-01-10  Roland McGrath  <roland@hack.frob.com>
47829         * sysdeps/generic/gcc-compat.h: New file.
47831 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47833         * benchtests/asin-inputs: Correct slow inputs.
47834         * benchtests/acos-inputs: Likewise.
47836 2014-01-10  Allan McRae  <allan@archlinux.org>
47838         * po:sv.po: Update Swedish translation from translation project.
47840         * po/vi.po: Update Vietnamese translation from translation project.
47842         * po/eo.po: Update Esperanto translation from translation project.
47844         * po/cs.po: Update Czech translation from translation project.
47846         * po/nl.po: Update Dutch translation from translation project.
47848         * po/pl.po: Update Polish translation from translation project.
47850         * po/ru.po: Update Russian translation from translation project.
47852         * po/uk.po: Update Ukrainian translation from translation project.
47854 2014-01-08  Brooks Moses  <bmoses@google.com>
47856         * elf/dl-load.c: Fix comment typo.
47858 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
47860         * po/header.pot: Rename to...
47861         * po/pot.header: ... this.
47862         * po/Makefile: Use pot.header.
47864 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
47865             Maxim Kuvyrkov  <maxim@kugelworks.com>
47867         [BZ #16394]
47868         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47869         SRC and DEST against LEN.
47871 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47873         [BZ #16414]
47874         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47875         implementation.
47876         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47878 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47882 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
47884         [BZ #16408]
47885         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47886         for large positive arguments.
47888 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
47890         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47892         * math/auto-libm-test-in: Mark various tests with
47893         xfail-rounding:ldbl-128ibm.
47894         * math/auto-libm-test-out: Regenerated.
47896         [BZ #16407]
47897         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47898         Increase overflow threshold.
47900 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47902         [BZ #14286]
47903         * stdio-common/vfprintf.c: Check for integer overflow.
47905 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47907         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47908         the first argument and return value of __tls_get_addr_internal.
47910 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47912         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47913         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47915 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47917         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47918         * sysdeps/s390/rtld-global-offsets.sym: New file.
47919         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47920         GLIBC_2.19 symbol.
47921         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47922         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47923         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47924         ... this.
47925         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47926         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47927         ... this.
47928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47929         Regenerate.
47930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47931         Regenerate.
47932         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47933         halfs of GPRs for high_gprs contexts.
47934         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47935         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47936         field.
47937         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47938         uc_flags field.
47939         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47940         64 bit versions:
47941         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47942         for high GPRs (uc_high_gprs) and for future extensions
47943         (__reserved).
47944         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47945         for future extensions (__reserved).
47946         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47947         64 bit versions:
47948         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47949         SC_HIGHGPRS offset definition.
47950         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47951         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47953         * Versions.def: Add GLIBC_2.19 for libpthread.
47954         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47955         siglongjmp for libpthread with GLIBC_2.19 symver.
47956         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47957         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47958         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47959         * sysdeps/s390/__longjmp.c: New file.
47960         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47961         * sysdeps/s390/longjmp.c: New file.
47962         * sysdeps/s390/setjmp.S: New file.
47963         * sysdeps/s390/sigjmp.S: New file.
47964         * sysdeps/s390/v1-longjmp.c: New file.
47965         * sysdeps/s390/v1-setjmp.h: New file.
47966         * sysdeps/s390/v1-sigjmp.c: New file.
47967         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47968         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47969         GLIBC_2.19 version.
47970         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47971         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47972         versioned symbols for ____longjmp_chk.
47973         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47974         Likewise.
47975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47976         Regenerate.
47977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47978         Regenerate.
47979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47980         Regenerate.
47981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47982         Regenerate.
47983         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47984         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47985         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47986         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47987         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47988         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47989         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47990         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47991         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47992         * sysdeps/s390/rtld-__longjmp.c: New file.
47993         * sysdeps/s390/rtld-setjmp.S: New file.
47995 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47997         [BZ #16400]
47998         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47999         Return -__logl (x) for small positive arguments without evaluating
48000         a polynomial.
48002 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
48004         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
48005         Rename to ...
48006         (__ptrace_peeksiginfo_args): ... this.
48007         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48008         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48009         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48011 2014-01-06  Allan McRae  <allan@archlinux.org>
48013         * inet/netinet/in.h: Fix typo in comment.
48015 2014-01-05  Andreas Jaeger  <aj@suse.de>
48017         * sysdeps/i386/fpu/libm-test-ulps: Update.
48019 2014-01-05  Allan McRae  <allan@archlinux.org>
48021         * po/libc.pot: Regenerated.
48023         * malloc/memusagestat.c: Fix gettext call formatting.
48025 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
48027         * nscd/nscd.c: Improve usage() output.
48029 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
48031         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
48032         * sysdeps/unix/sysv/linux/configure: Regenerated.
48033         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
48034         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
48036 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
48038         [BZ #16390]
48039         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48040         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
48042 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48044         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
48045         extra tokens at end of #undef directive.
48046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
48047         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
48048         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
48050 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
48052         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48054         * math/auto-libm-test-in: Mark various tests with
48055         xfail-rounding:ldbl-128ibm.
48056         * math/auto-libm-test-out: Regenerated.
48058 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
48060         [BZ #16386]
48061         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
48062         numbers with subnormal high part when calculating exponent.
48064         [BZ #16385]
48065         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
48066         fabs.
48068         [BZ #16384]
48069         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
48070         M_LN2l.
48071         (__ieee754_acoshl): Use __log1pl not __log1p.
48073 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
48075         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
48076         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
48077         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
48078         (grow_heap, heap_trim, _int_new_arena, get_free_list)
48079         (reused_arena, arena_get2): Convert to GNU style.
48080         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
48081         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
48082         (memalign_check, __malloc_set_state): Likewise.
48083         * malloc/mallocbug.c (main): Likewise.
48084         * malloc/malloc.c (__malloc_assert, malloc_init_state)
48085         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
48086         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
48087         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
48088         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
48089         (__posix_memalign, malloc_info): Likewise.
48090         * malloc/malloc.h: Likewise.
48091         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
48092         (mallochook, memalignhook, reallochook, mabort): Likewise.
48093         * malloc/mcheck.h: Likewise.
48094         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
48095         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
48096         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
48097         * malloc/morecore.c (__default_morecore): Likewise.
48098         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
48099         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
48100         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
48101         (print_and_abort): Likewise.
48102         * malloc/obstack.h: Likewise.
48103         * malloc/set-freeres.c (__libc_freeres): Likewise.
48104         * malloc/tst-mallocstate.c (main): Likewise.
48105         * malloc/tst-mtrace.c (main): Likewise.
48106         * malloc/tst-realloc.c (do_test): Likewise.
48108 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48110         [BZ #16366]
48111         * nscd/netgroupcache.c (do_notfound): New function.
48112         (addgetnetgrentX): Use it.
48114         [BZ # 16365]
48115         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48116         NSS_STATUS_NOTFOUND.
48118 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
48120         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48123 2014-01-01  Allan McRae  <allan@archlinux.org>
48125         * scripts/update-copyrights: Update configure input file suffix.
48127         * NEWS: Update copyright year.
48128         * catgets/gencat.c: Likewise.
48129         * csu/version.c: Likewise.
48130         * debug/catchsegv.sh: Likewise.
48131         * debug/pcprofiledump.c: Likewise.
48132         * debug/xtrace.sh: Likewise.
48133         * elf/ldconfig.c: Likewise.
48134         * elf/ldd.bash.in: Likewise.
48135         * elf/pldd.c: Likewise.
48136         * elf/sotruss.ksh: Likewise.
48137         * elf/sprof.c: Likewise.
48138         * iconv/iconv_prog.c: Likewise.
48139         * iconv/iconvconfig.c: Likewise.
48140         * locale/programs/locale.c: Likewise.
48141         * locale/programs/localedef.c: Likewise.
48142         * login/programs/pt_chown.c: Likewise.
48143         * malloc/memusage.sh: Likewise.
48144         * malloc/memusagestat.c: Likewise.
48145         * malloc/mtrace.pl: Likewise.
48146         * manual/libc.texinfo: Likewise.
48147         * nscd/nscd.c: Likewise.
48148         * nss/getent.c: Likewise.
48149         * nss/makedb.c: Likewise.
48150         * posix/getconf.c: Likewise.
48151         * scripts/test-installation.pl: Likewise.
48153         * All files with FSF copyright notices: Update copyright dates
48154         using scripts/update-copyrights.
48155         * intl/plural.c: Regenerated.
48156         * locale/programs/charmap-kw.h: Likewise.
48157         * locale/programs/locfile-kw.h: Likewise.
48159 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
48161         * sysdeps/unix/sysv/linux/configure: Regenerated.
48162         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48163         the linux/fanotify.h header.
48164         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48165         HAVE_LINUX_FANOTIFY_H is defined.
48167 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48169         * benchtests/cos-inputs: New inputs.
48170         * benchtests/sin-inputs: Likewise.
48172         * benchtests/atan-inputs: New inputs. Fix name of multiple
48173         precision fallback inputs.
48175         * benchtests/atanh-inputs: New inputs.
48176         * benchtests/tanh-inputs: Likewise.
48178         * benchtests/acosh-inputs: New inputs.
48179         * benchtests/asinh-inputs: Likewise.
48181         * benchtests/cosh-inputs: New inputs.
48182         * benchtests/sinh-inputs: Likewise.
48184         * benchtests/acos-inputs: Add more inputs.
48185         * benchtests/asin-inputs: Likewise.
48187 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
48189         [BZ #16375]
48190         * manual/arith.texi: Fix spelling.
48191         * manual/charset.texi: Likewise.
48192         * manual/errno.texi: Likewise.
48193         * manual/filesys.texi: Likewise.
48194         * manual/lang.texi: Likewise.
48195         * manual/llio.texi: Likewise.
48196         * manual/locale.texi: Likewise.
48197         * manual/message.texi: Likewise.
48198         * manual/resource.texi: Likewise.
48199         * manual/search.texi: Likewise.
48200         * manual/setjmp.texi: Likewise.
48201         * manual/stdio.texi: Likewise.
48202         * manual/string.texi: Likewise.
48203         * manual/sysinfo.texi: Likewise.
48204         * manual/time.texi: Likewise.
48206 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
48208         * po/sl.po: New file.
48210 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
48212         * .gitignore: Add core/.gdbinit/.gdb_history.
48214 2013-12-27  Allan McRae  <allan@archlinux.org>
48216         [BZ #16369]
48217         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48218         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48220 2013-12-24  Brooks Moses  <bmoses@google.com>
48222         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48223         all compilers that claim C++98 compliance, not just GCC.
48224         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48225         Likewise.
48227 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48229         * NEWS: Restore accidentally deleted bug-fix entries.
48231 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48232             Ondřej Bílka  <neleai@seznam.cz>
48234         [BZ #15073]
48235         * malloc/malloc.c (_int_free): Perform sanity check only if we
48236         have_lock.
48238 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
48240         [BZ #12986]
48241         * manual/stdio.texi (String Input Conversions): Clarify that character
48242         classes are not supported.
48244 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48248 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
48250         [BZ #16337]
48251         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48252         Calculate results for small negative arguments directly rather
48253         than using reflection formula with special underflow handling.
48255         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48256         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48257         sysdeps/unix/bsd/bsd4.4/syscalls.list.
48258         (fchflags): Likewise.
48259         (revoke): Likewise.
48260         (setlogin): Likewise.
48261         (sigaltstack): Likewise.
48262         (wait4): Likewise.
48263         (sigblock): Remove.
48264         (sigsetmask): Likewise.
48265         (wait3): Likewise.
48266         (waitpid): Likewise.
48267         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48268         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48269         file.
48270         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48271         * sysdeps/unix/bsd/Makefile: ... here.
48272         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48273         * sysdeps/unix/bsd/Versions: ... here.
48274         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48275         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48276         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48277         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48278         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48279         * sysdeps/unix/bsd/sigblock.c: ... here.
48280         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48281         * sysdeps/unix/bsd/sigsetmask.c: ... here.
48282         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48283         * sysdeps/unix/bsd/sigvec.c: ... here.
48284         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48285         * sysdeps/unix/bsd/tcdrain.c: ... here.
48286         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48287         * sysdeps/unix/bsd/tcgetattr.c: ... here.
48288         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48289         * sysdeps/unix/bsd/tcsetattr.c: ... here.
48290         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48291         * sysdeps/unix/bsd/wait.c: ... here.
48292         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48293         * sysdeps/unix/bsd/wait3.c: ... here.
48294         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48295         * sysdeps/unix/bsd/waitpid.c: ... here.
48297 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
48299         [BZ #16356]
48300         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48301         round-to-nearest for [!USE_AS_EXPM1L].
48302         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48303         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
48304         more tests of exp and exp10.  Expect some exp10 tests to miss
48305         exceptions or fail in directed rounding modes.
48306         * math/auto-libm-test-out: Regenerated.
48307         * math/libm-test.inc (exp10_tonearest_test_data): New array.
48308         (exp10_test_tonearest): New function.
48309         (exp10_towardzero_test_data): New array.
48310         (exp10_test_towardzero): New function.
48311         (exp10_downward_test_data): New array.
48312         (exp10_test_downward): New function.
48313         (exp10_upward_test_data): New array.
48314         (exp10_test_upward): New function.
48315         (main): Call the new functions.
48316         * sysdeps/i386/fpu/libm-test-ulps: Update.
48317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48319 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
48321         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48322         asinh, atan, atan2, atanh, cbrt, cos and cosh.
48323         * math/auto-libm-test-out: Regenerated.
48324         * math/libm-test.inc (acosh_test_data): Add more tests.
48325         (atanh_test_data): Likewise.
48326         (ceil_test_data): Likewise.
48327         (copysign_test_data): Likewise.
48328         * sysdeps/i386/fpu/libm-test-ulps: Update.
48329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48331         * timezone/checktab.awk: Update from tzcode 2013i.
48332         * timezone/private.h: Likewise.
48333         * timezone/scheck.c: Likewise.
48334         * timezone/tzfile.h: Likewise.
48335         * timezone/tzselect.ksh: Likewise.
48336         * timezone/zdump.c: Likewise.
48337         * timezone/zic.c: Likewise.
48339         * math/auto-libm-test-in: Add tests of cpow.
48340         * math/auto-libm-test-out: Regenerated.
48341         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48342         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48343         mpc_cc_c.
48344         (func_calc_desc): Add mpc_cc_c union field.
48345         (test_functions): Add cpow.
48346         (special_fill_2pi): New function.
48347         (special_real_inputs): Add 2pi.
48348         (calc_generic_results): Handle mpc_cc_c.
48349         * sysdeps/i386/fpu/libm-test-ulps: Update.
48350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48352         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48353         csqrt, ctan and ctanh.
48354         * math/auto-libm-test-out: Regenerated.
48355         * math/libm-test.inc (TEST_COND_x86_64): New macro.
48356         (TEST_COND_x86): Likewise.
48357         (ccos_test_data): Use AUTO_TESTS_c_c.
48358         (ccosh_test_data): Likewise.
48359         (cexp_test_data): Likewise.
48360         (clog_test_data): Likewise.
48361         (csqrt_test_data): Likewise.
48362         (ctan_test_data): Likewise.
48363         (ctan_tonearest_test_data): Likewise.
48364         (ctan_towardzero_test_data): Likewise.
48365         (ctan_downward_test_data): Likewise.
48366         (ctan_upward_test_data): Likewise.
48367         (ctanh_test_data): Likewise.
48368         (ctanh_tonearest_test_data): Likewise.
48369         (ctanh_towardzero_test_data): Likewise.
48370         (ctanh_downward_test_data): Likewise.
48371         (ctanh_upward_test_data): Likewise.
48372         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48373         mpc_c_c.
48374         (func_calc_desc): Add mpc_c_c union field.
48375         (FUNC_mpc_c_c): New macro.
48376         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48377         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48378         ctanh.
48379         (special_fill_min_subnorm_p120): New function.
48380         (special_real_inputs): Add min_subnorm_p120.
48381         (calc_generic_results): Handle mpc_c_c.
48382         * sysdeps/i386/fpu/libm-test-ulps: Update.
48383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48385 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48387         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48388         (do_sin_slow): New functions.
48389         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48390         (cslow2, csloww1, csloww2): Use the new functions.
48392         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48393         Use M to change sign of result instead of X.  Assume X is
48394         positive.
48395         (csloww1): Likewise.
48396         (__sin): Adjust.
48397         (__cos): Adjust.
48399         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48400         arguments A and DA.
48401         (__sin): Adjust.
48402         (__cos): Likewise.
48404         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48405         (__cos): Likewise.
48406         (sloww1): Don't adjust sign of DX.
48407         (csloww1): Likewise.
48408         (sloww2): Use X directly and don't adjust sign of DX.
48409         (csloww2): Likewise.
48411 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48413         * math/auto-libm-test-in: Add tests of cabs and carg.
48414         * math/auto-libm-test-out: Regenerated.
48415         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48416         (carg_test_data): Likewise.
48417         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48418         mpc_c_f.
48419         (func_calc_desc): Add mpc_c_f union field.
48420         (test_functions): Add cabs and carg.
48421         (calc_generic_results): Handle mpc_c_f.
48423         * sysdeps/powerpc/powerpc32/libgcc-compat.S
48424         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48425         as a macro and a compat symbol.
48426         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48427         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48428         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48429         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48430         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48431         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48432         not use .hidden.
48433         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48434         Likewise.
48435         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48436         Likewise.
48437         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48438         Likewise.
48439         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48440         Likewise.
48441         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48442         Likewise.
48443         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48444         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48445         from GLIBC_2.3.2.
48447 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48451 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48453         * manual/texinfo.tex: Update to version 2013-11-26.10 with
48454         trailing whitespace removed.
48455         * scripts/config.guess: Update to version 2013-11-29.
48456         * scripts/config.sub: Update to version 2013-10-01.
48458         * math/auto-libm-test-in: Add tests of sincos.
48459         * math/auto-libm-test-out: Regenerated.
48460         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48461         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48462         mpfr_f_11.
48463         (func_calc_desc): Add mpfr_f_11 union field.
48464         (test_functions): Add sincos.
48465         (calc_generic_results): Handle mpfr_f_11.
48466         * sysdeps/i386/fpu/libm-test-ulps: Update.
48467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48469 2013-12-19  Andreas Schwab  <schwab@suse.de>
48471         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48472         CALL_MCOUNT.
48473         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48474         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48475         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48477 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48479         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48480         * sysdeps/i386/fpu/libm-test-ulps: Update.
48481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48483         [BZ #16293]
48484         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48485         round-to-nearest mode when using frndint.
48486         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48487         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48488         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48489         Likewise.
48490         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
48491         sinh test to fail.
48492         * math/auto-libm-test-out: Regenerated.
48493         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48494         (TEST_COND_x86): Likewise.
48495         (expm1_tonearest_test_data): New array.
48496         (expm1_test_tonearest): New function.
48497         (expm1_towardzero_test_data): New array.
48498         (expm1_test_towardzero): New function.
48499         (expm1_downward_test_data): New array.
48500         (expm1_test_downward): New function.
48501         (expm1_upward_test_data): New array.
48502         (expm1_test_upward): New function.
48503         (main): Run the new test functions.
48504         * sysdeps/i386/fpu/libm-test-ulps: Update.
48505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48507         * include/features.h: Update comment documenting feature test
48508         macros.  Mention _DEFAULT_SOURCE in comment.
48509         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48510         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48511         _BSD_SOURCE and _SVID_SOURCE.
48512         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48513         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48514         !_SVID_SOURCE]: Likewise.
48515         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48516         (__USE_POSIX_IMPLICITLY): Define.
48517         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48518         (_POSIX_SOURCE): Undefine and redefine.
48519         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48520         (_POSIX_C_SOURCE): Likewise.
48521         * manual/creature.texi (_DEFAULT_SOURCE): Document.
48522         (Feature Test Macros): Update documentation of default features.
48524 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48526         * benchtests/Makefile: Add bench-strtok.
48527         * benchtests/bench-strtok.c: New file: strtok benchtest.
48529 2013-12-19  Allan McRae  <allan@archlinux.org>
48531         * manual/install.texi: Suppress menu for plain text output.
48532         * INSTALL: Regenerated.
48534 2013-12-18  Brooks Moses  <bmoses@google.com>
48536         [BZ #15846]
48537         * misc/getauxval.c: Include errno.h.
48538         (__getauxval): Set errno to ENOENT if the requested type is not
48539         found.
48540         * misc/sys/auxv.h (getauxval): Document that it may set errno;
48541         don't declare with __attribute_const__.
48542         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48543         * manual/startup.texi: Document that getauxval sets errno.
48545 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48547         * math/auto-libm-test-in: Add tests of jn and yn.
48548         * math/auto-libm-test-out: Regenerated.
48549         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48550         (yn_test_data): Likewise.
48551         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48552         mpfr_if_f.
48553         (func_calc_desc): Add mpfr_if_f union field.
48554         (FUNC_mpfr_if_f): New macro.
48555         (test_functions): Add jn and yn.
48556         (calc_generic_results): Assert type of second input for
48557         mpfr_ff_f.  Handle mpfr_if_f.
48558         (output_for_one_input_case): Disable all checking for arguments
48559         fitting floating-point types in case of an integer argument.
48560         * sysdeps/i386/fpu/libm-test-ulps: Update.
48561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48564         Don't expect fegetround reference in libm.so.
48566 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48568         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48569         $(config-cflags-nofma).
48571 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48573         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48574         * math/auto-libm-test-out: Regenerated.
48576         [BZ #16338]
48577         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48578         to determine exponent and adjust argument to have exponent of -1.
48579         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48580         log2.
48581         * math/auto-libm-test-out: Regenerated.
48582         * sysdeps/i386/fpu/libm-test-ulps: Update.
48583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48585 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
48587         * manual/probes.texi: Remove cases when per-thread arenas are
48588         disabled.
48590 2013-12-18  Andreas Schwab  <schwab@suse.de>
48592         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48593         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48594         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48595         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48596         * sysdeps/i386/i686/multiarch/Makefile: Update.
48597         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48599 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48601         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48602         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48604 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
48606         [BZ #15968]
48607         Support TZ transition times < 00:00:00.
48608         This is needed for version-3 tz-format files; it supports time
48609         stamps past 2037 for America/Godthab (the only entry in the tz
48610         database for which this change is relevant).
48611         * manual/time.texi (TZ Variable): Document transition times
48612         from -167:59:59 through -00:00:01.
48613         * time/tzset.c (tz_rule): Time of day is now signed.
48614         (__tzset_parse_tz): Parse negative time of day.
48616         Document TZ transition times >= 25:00:00.
48617         * manual/time.texi (TZ Variable): Document transition times from
48618         25:00:00 through 167:59:59.  These are already supported, and this
48619         support will help with version-3 tz-format files.
48621         * manual/time.texi (TZ Variable): Modernize North America example
48622         to reflect current (i.e., 2007-and-later) daylight saving rules.
48624         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48626 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48628         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48629         * sysdeps/unix/bsd/bits/stat.h: Likewise.
48630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48631         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48632         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48633         * sysdeps/unix/bsd/bsdstat.h: Likewise.
48634         * sysdeps/unix/bsd/clock.c: Likewise.
48635         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48636         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48637         * sysdeps/unix/bsd/init-posix.c: Likewise.
48638         * sysdeps/unix/bsd/poll.c: Likewise.
48639         * sysdeps/unix/bsd/ptsname.c: Likewise.
48640         * sysdeps/unix/bsd/seekdir.c: Likewise.
48641         * sysdeps/unix/bsd/setegid.c: Likewise.
48642         * sysdeps/unix/bsd/seteuid.c: Likewise.
48643         * sysdeps/unix/bsd/setgid.c: Likewise.
48644         * sysdeps/unix/bsd/setrgid.c: Likewise.
48645         * sysdeps/unix/bsd/setruid.c: Likewise.
48646         * sysdeps/unix/bsd/setsid.c: Likewise.
48647         * sysdeps/unix/bsd/setuid.c: Likewise.
48648         * sysdeps/unix/bsd/sigaction.c: Likewise.
48649         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48650         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48651         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48652         * sysdeps/unix/bsd/telldir.c: Likewise.
48653         * sysdeps/unix/bsd/times.c: Likewise.
48654         * sysdeps/unix/bsd/usleep.c: Likewise.
48656         * misc/Makefile (install-lib): Remove libbsd-compat.a.
48657         ($(objpfx)libbsd-compat.a): Remove rule.
48659         * include/features.h (__FAVOR_BSD): Do not define.
48660         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48661         features conflicting with POSIX.
48662         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48663         (_BSD_SOURCE): Remove description of not being a subset of other
48664         feature test macros.
48665         * manual/job.texi (getpgrp): Do not document BSD version.
48666         (getpgid): Do not document by reference to BSD getpgrp.
48667         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48668         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48669         * signal/signal.h [__FAVOR_BSD]: Likewise.
48670         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48671         instead of making contents conditional on [__FAVOR_BSD].
48672         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48674 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48678 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48680         [BZ #16314]
48681         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48682         values below 2**-450, not 2**-500.
48683         * math/auto-libm-test-in: Don't allow spurious underflow from
48684         hypot.
48685         * math/auto-libm-test-out: Regenerated.
48687         [BZ #16316]
48688         [BZ #16330]
48689         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48690         values of ha and hb and sort them after adjusting subnormal
48691         arguments.
48692         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48693         Likewise.
48694         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48695         values of ea and eb and sort them after adjusting subnormal
48696         arguments.
48697         * math/auto-libm-test-in: Do not expect some hypot tests of
48698         subnormals to fail.  Add more hypot tests.
48699         * math/auto-libm-test-out: Regenerated.
48701 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48703         [BZ #13304]
48704         * sysdeps/sh/s_fma.c: New file.
48705         * sysdeps/sh/s_fmaf.c: New file.
48706         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
48707         version.
48708         * sysdeps/sh/Implies: Add sh/soft-fp.
48710 2013-12-16  Roland McGrath  <roland@hack.frob.com>
48712         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
48713         level of indirection to members `objname', `errstring', `malloced'.
48714         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48715         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
48716         it as the __longjmp argument (just pass 1 instead).
48717         (_dl_catch_error): Initialize C with argument pointers and address of
48718         volatile local ERRCODE rather than copying values out of C at return.
48720 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
48722         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48723         * math/auto-libm-test-out: Regenerated.
48724         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48725         (hypot_test_data): Likewise.
48726         (pow_test_data): Likewise.
48727         (pow_tonearest_test_data): Likewise.
48728         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48729         mpfr_ff_f.
48730         (func_calc_desc): Add mpfr_ff_f union field.
48731         (FUNC_mpfr_ff_f): New macro.
48732         (test_functions): Add atan2, hypot and pow.
48733         (special_fill_min): New function.
48734         (special_fill_minus_min): Likewise.
48735         (special_fill_min_subnorm): Likewise.
48736         (special_fill_minus_min_subnorm): Likewise.
48737         (special_real_inputs): Add min, -min, min_subnorm and
48738         -min_subnorm.
48739         (calc_generic_results): Handle mpfr_ff_f.
48740         * sysdeps/i386/fpu/libm-test-ulps: Update.
48741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48743 2013-12-16  Will Newton  <will.newton@linaro.org>
48745         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48746         (Aligned Memory Blocks): Add documentation for aligned_alloc
48747         and suggest it as an alternative to posix_memalign.
48748         (Hooks for Malloc): Document __memalign_hook is also called
48749         for aligned_alloc.  (Summary of Malloc): Add summary for
48750         aligned alloc.  Document __memalign_hook is also called
48751         for aligned_alloc.
48753 2013-12-16  Will Newton  <will.newton@linaro.org>
48755         * manual/memory.texi (Malloc Examples): Clarify default
48756         alignment documentation.  Suggest posix_memalign rather
48757         than memalign or valloc.
48758         (Aligned Memory Blocks): Remove suggestion to use memalign
48759         or valloc.  Remove obsolete comment about BSD.
48760         Document memalign errno values and mark the function obsolete.
48761         Document posix_memalign returned error codes.  Mark valloc
48762         as obsolete.  (Hooks for Malloc): __memalign_hook is also
48763         called for posix_memalign and valloc.
48764         (Summary of Malloc): Add posix_memalign to function summary.
48765         __memalign_hook is also called for posix_memalign and valloc.
48767 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48769         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48770         TAYLOR_SIN.
48771         (__sin): Adjust.
48772         (__cos): Likewise.
48773         (sloww): Use mynumber union.  Expand ternary operator into
48774         if-else statements.
48775         (cslow): use mynumber union.
48777 2013-12-16  Allan McRae  <allan@archlinux.org>
48779         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48780         * configure: Regenerated.
48782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48784         [BZ #14120]
48785         * configure.ac: Added --enable-maintainer-mode. Check for
48786         autoconf when enabled.
48787         * configure: Regenerated.
48789         * nscd/nscd.service: New file.
48790         * nscd/nscd.tmpfiles: New file.
48792 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
48794         [BZ #12100]
48795         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48796         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48797         * sysdeps/x86_64/multiarch/strstr.c: ... here.
48798         (strstr): Add __strstr_sse2_unaligned ifunc.
48799         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48800         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48801         (strcasestr): Remove __strcasestr_sse42 ifunc.
48802         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48803         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48806 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48808         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48809         * sysdeps/sh/bits/fenv.h: ... here.
48810         * sysdeps/sh/sh4/fpu/bits: Remove directory.
48812 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48814         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48817         hypotf multiarch implementations.
48818         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48819         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48820         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48821         multiarch hypot for PPC64.
48822         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48823         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48824         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48825         multiarch hypotf for PPC64.
48827         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48828         modff multiarch implementations.
48829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48832         multiarch modf for PPC64.
48833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48836         multiarch modff for PPC64.
48838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48839         and logl multiarch implementations.
48840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48843         multiarch logb for PPC64.
48844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48847         multiarch logb for PPC64.
48848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48851         multiarch logb for PPC64.
48853         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48854         isinff multiarch implementation.
48855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48856         file.
48857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48859         multiarch isinf for PPC64.
48860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48861         file.
48862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48863         multiarch isinff for PPC64.
48865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48866         finitef multiarch implementation.
48867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48868         file.
48869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48871         multiarch finite for PPC64.
48872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48873         file.
48874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48875         multiarch finitef for PPC64.
48877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48878         lrint multiarch implementation.
48879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48880         file.
48881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48883         multiarch llrint for PPC64.
48884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48885         multiarch lrint for PPC64.
48887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48888         copysignf multiarch implementation.
48889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48890         file.
48891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48892         file.
48893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48894         multiarch copysign for PPC64.
48895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48896         multiarch copysignf for PPC64.
48898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48899         multiarch implementation.
48900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48901         file.
48902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48903         file.
48904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48905         file.
48906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48907         file.
48908         multiarch llround for PPC64.
48909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48910         multiarch trunc for PPC64.
48911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48912         multiarch truncf for PPC64.
48914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48915         multiarch implementation.
48916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48917         file.
48918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48919         file.
48920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48921         file.
48922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48923         file.
48924         multiarch llround for PPC64.
48925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48926         multiarch round for PPC64.
48927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48928         multiarch roundf for PPC64.
48930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48931         multiarch implementation.
48932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48933         file.
48934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48935         file.
48936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48937         file.
48938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48939         file.
48940         multiarch llround for PPC64.
48941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48942         multiarch floor for PPC64.
48943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48944         multiarch floorf for PPC64.
48946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48947         multiarch implementation.
48948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48949         file.
48950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48951         file.
48952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48953         file.
48954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48955         file.
48956         multiarch llround for PPC64.
48957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48958         multiarch ceil for PPC64.
48959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48960         multiarch ceilf for PPC64.
48962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48963         multiarch implementation.
48964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48965         file.
48966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48967         file.
48968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48969         file.
48970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48971         multiarch llround for PPC64.
48972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48973         multiarch lround for PPC64.
48975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48976         multiarch implementation.
48977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48980         file.
48981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48984         multiarch isnan for PPC64.
48985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48986         multiarch isnanf for PPC64.
48988         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48989         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48990         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48991         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48992         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48995         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48996         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48997         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48998         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
49001         multiarch implementations.
49002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49003         (__libc_ifunc_impl_list): Likewise.
49004         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
49005         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
49006         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
49007         multiarch stpcpy for PPC64.
49009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
49010         multiarch implementations.
49011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49012         (__libc_ifunc_impl_list): Likewise.
49013         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
49014         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
49015         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
49016         multiarch strcpy for PPC64.
49018         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
49019         redefine function name.
49020         (_wordcopy_fwd_dest_aligned): Likewise.
49021         (_wordcopy_bwd_aligned): Likewise.
49022         (_wordcopy_bwd_dest_aligned): Likewise.
49023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
49024         multiarch implementations.
49025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49026         (__libc_ifunc_impl_list): Likewise.
49027         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
49028         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
49029         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
49030         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
49031         multiarch wcscpy for PPC64.
49033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
49034         multiarch implementations.
49035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49036         (__libc_ifunc_impl_list): Likewise.
49037         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
49038         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
49039         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
49040         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
49041         multiarch wcscpy for PPC64.
49043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
49044         multiarch implementations.
49045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49046         (__libc_ifunc_impl_list): Likewise.
49047         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
49048         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
49049         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
49050         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
49051         multiarch wcsrchr for PPC64.
49053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
49054         multiarch implementations.
49055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49056         (__libc_ifunc_impl_list): Likewise.
49057         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
49058         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
49059         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
49060         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
49061         multiarch wcschr for PPC64.
49063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
49064         multiarch implementations.
49065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49066         (__libc_ifunc_impl_list): Likewise.
49067         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
49068         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
49069         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
49070         multiarch strchrnul for PPC64.
49072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
49073         implementations.
49074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49075         (__libc_ifunc_impl_list): Likewise.
49076         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
49077         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
49078         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
49079         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
49080         strchr for PPC64.
49082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
49083         implementations.
49084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49085         (__libc_ifunc_impl_list): Likewise.
49086         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
49087         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
49088         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
49089         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
49090         strncmp for PPC64.
49092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
49093         multiarch implementations.
49094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49095         (__libc_ifunc_impl_list): Likewise.
49096         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
49097         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
49098         strncasecmp for PPC64.
49099         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
49100         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
49101         multiarch strncasecmp_l for PPC64.
49103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
49104         multiarch implementations.
49105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49106         (__libc_ifunc_impl_list): Likewise.
49107         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
49108         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
49109         multiarch strcasecmp for PPC64.
49110         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
49111         file.
49112         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
49113         multiarch strcasecmp_l for PPC64.
49115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49116         implementations.
49117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49118         (__libc_ifunc_impl_list): Likewise.
49119         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49120         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49121         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49122         strnlen for PPC64.
49124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49125         implementations.
49126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49127         (__libc_ifunc_impl_list): Likewise.
49128         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49129         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49130         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49131         strlen for PPC64.
49133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49134         implementations.
49135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49136         (__libc_ifunc_impl_list): Likewise.
49137         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49138         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49139         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49140         rawmemrchr for PPC64.
49142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49143         implementation.
49144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49145         (__libc_ifunc_impl_list): Likewise.
49146         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49147         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49148         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49149         memrchr for PPC64.
49151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49152         implementation.
49153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49154         (__libc_ifunc_impl_list): Likewise.
49155         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49156         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49157         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49158         memchr for PPC64.
49160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49161         implementation.
49162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49163         (__libc_ifunc_impl_list): Likewise.
49164         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49165         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49166         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49167         mempcpy for PPC64.
49169         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49170         avoid cretion of __bzero symbol.
49171         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49172         Likewise.
49173         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49174         Likewise.
49175         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49176         Likewise.
49177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49178         multiarch implementations.
49179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49180         (__libc_ifunc_impl_list): Likewise.
49181         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49182         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49183         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49184         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49185         bzero for PPC32.
49186         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49187         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49188         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49189         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49190         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49191         memset for PPC64.
49192         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49194         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49196         implementations.
49197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49198         (__libc_ifunc_impl_list): Likewise.
49199         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49200         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49201         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49202         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49203         memcmp for PPC64.
49205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49206         multiarch for POWER/PPC64.
49207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49208         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49209         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49210         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49211         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49212         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49213         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49214         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49215         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49216         memcpy for PPC64.
49218         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49219         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49220         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49221         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49222         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49223         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49224         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49225         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49226         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49227         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49228         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49229         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49230         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49231         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49232         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49241 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49243         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49245 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49247         * benchtests/Makefile (bench): Add exp2 and log2.
49248         (LDLIBS-bench-exp2): Add -lm.
49249         (LDLIBS-bench-log2): Likewise.
49250         * benchtests/exp2-inputs: New inputs file.
49251         * benchtests/log2-inputs: New inputs file.
49252         * benchtests/log-inputs: Add new inputs.
49253         * benchtests/tan-inputs: Likewise.
49255 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49257         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49258         definition...
49259         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49260         (csloww2): ... from here.
49262         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49263         instead of structures.
49264         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49265         (POLYNOMIAL): Likewise.
49266         (TAYLOR_SLOW): Likewise.
49267         (__sin): Likewise.
49268         (__cos): Likewise.
49269         (slow1): Likewise.
49270         (slow2): Likewise.
49271         (sloww): Likewise.
49272         (sloww1); Likewise.
49273         (sloww2): Likewise.
49274         (bsloww1): Likewise.
49275         (bsloww2): Likewise.
49276         (cslow2): Likewise.
49277         (csloww): Likewise.
49278         (csloww1): Likewise.
49279         (csloww2): Likewise.
49281 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
49283         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49284         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49285         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49286         * malloc/hooks.c (realloc_check): Likewise.
49288         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49289         * malloc/arena.c: Remove PER_THREAD conditional.
49290         [!PER_THREAD]: Remove code.
49291         (ptmalloc_unlock_all2): Likewise.
49292         (ptmalloc_init): Likewise.
49293         (_int_new_arena): Likewise.
49294         (arena_get2): Likewise.
49295         * malloc/hooks.c (__malloc_get_state): Likewise.
49296         (__malloc_set_state): Likewise.
49297         * malloc/malloc.c: Likewise.
49298         (struct malloc_state): Likewise.
49299         (struct malloc_par): Likewise.
49300         (__libc_realloc): Likewise.
49301         (__libc_mallopt): Likewise.
49303 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49305         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49307 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
49309         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49310         macro to a function.  Check for zero perturb_byte.
49311         (_int_malloc, _int_free): Remove zero perturb_byte checks.
49313         * malloc/malloc.c: (force_reg): Remove.
49314         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49315         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49316         force_reg by atomic_forced_read.
49317         * malloc/arena.c (ptmalloc_init): Likewise.
49318         * malloc/hooks.c (top_check): Likewise.
49320 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49324 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
49326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49328 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
49330         * math/auto-libm-test-in: Add tests of lgamma.
49331         * math/auto-libm-test-out: Regenerated.
49332         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49333         (M_LOG_2_SQRT_PIl): Likewise.
49334         (lgamma_test_data): Use AUTO_TESTS_f_f1.
49335         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49336         mpfr_f_f1.
49337         (func_calc_desc): Add mpfr_f_f1 union field.
49338         (ARGS1): New macro.
49339         (ARGS2): Likewise.
49340         (ARGS3): Likewise.
49341         (ARGS4): Likewise.
49342         (RET1): Likewise.
49343         (RET2): Likewise.
49344         (CALC): Likewise.
49345         (FUNC): Likewise.
49346         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49347         (test_functions): Add lgamma.
49348         (calc_generic_results): Handle mpfr_f_f1.
49349         * sysdeps/i386/fpu/libm-test-ulps: Update.
49350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49352 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49354         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49355         __mpn_add_n for PowerPC64/POWER7.
49356         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49357         __mpn_sub_n for PowerPC64/POWER7.
49359         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49360         __mpn_addmul_1 for PowerPC64.
49361         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49362         __mpn_submul_1 for PowerPC64.
49363         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49364         for PowerPC64.
49365         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49366         for PowerPC64.
49368 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
49370         [BZ #15089]
49371         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49373 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49375         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49377         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49378         add multiarch folders.
49379         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49380         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49381         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49382         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49383         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49384         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49385         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49386         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49387         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49388         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49389         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49398         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49400         New file.
49401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49402         New file.
49403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49404         multiarch __ieee754_hypot for PowerPC32.
49405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49406         New file.
49407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49408         New file.
49409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49410         multiarch __ieee754_hypotf for PowerPC32.
49412         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49413         long_double_symbol only if __logbl is defined.
49414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49415         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49417         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49418         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49419         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49420         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49421         path for implementation.
49422         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49423         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49425         logb, and logbl multiarch implementations for PowerPC32.
49426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49427         file.
49428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49429         file.
49430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49431         multiarch logb for PowerPC32.
49432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49433         file.
49434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49435         file.
49436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49437         multiarch logbf for PowerPC32.
49438         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49440         file.
49441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49442         multiarch logbl implementation for PowerPC32.
49444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49445         and modff multiarch implementations.
49446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49447         New file.
49448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49449         New file.
49450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49451         multiarch modf for PowerPC32.
49452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49453         New file.
49454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49455         New file.
49456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49457         multiarch modff for PowerPC32.
49459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49460         and lrintf multiarch implementations.
49461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49462         New file.
49463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49464         New file.
49465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49466         multiarch lrint for PowerPC32.
49467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49468         file: multiarch lrintf for PowerPC32.
49470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49471         and lroundf multiarch implementations.
49472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49473         New file.
49474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49475         New file.
49476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49477         New file.
49478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49479         multiarch lround for PowerPC32.
49480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49481         file: multiarch lroundf for PowerPC32.
49483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49484         copysign and copysignf multiarch implementations.
49485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49486         New file.
49487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49488         New file.
49489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49490         file: multiarch copysign for PowerPC32.
49491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49492         file: multiarch copysignf for PowerPC32.
49494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49495         and truncf multiarch implementations.
49496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49497         New file.
49498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49499         file.
49500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49501         multiarch trunc for PowerPC32.
49502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49503         New file.
49504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49505         New file.
49506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49507         multiarch truncf for PowerPC32.
49509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49510         and roundf multiarch implementations.
49511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49512         New file.
49513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49514         file.
49515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49516         multiarch round for PowerPC32.
49517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49518         New file.
49519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49520         New file.
49521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49522         multiarch roundf for PowerPC32.
49524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49525         and floorf multiarch implementations.
49526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49527         New file.
49528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49529         file.
49530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49531         multiarch floor for PowerPC32.
49532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49533         New file.
49534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49535         New file.
49536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49537         multiarch floorf for PowerPC32.
49539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49540         and ceilf multiarch implementations.
49541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49542         New file.
49543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49544         file.
49545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49546         multiarch ceil for PowerPC32.
49547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49548         New file.
49549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49550         file.
49551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49552         multiarch ceilf for PowerPC32.
49554         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49555         is defined.
49556         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49557         FINITEF is defined.
49558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49559         and finitef multiarch implementations.
49560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49561         New file.
49562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49563         file.
49564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49565         multiarch finite for PowerPC32.
49566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49567         New file.
49568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49569         file: multiarch finitef for PowerPC32.
49571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49572         and isinff multiarch implementations.
49573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49574         file.
49575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49576         file.
49577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49578         multiarch isinf for PowerPC32.
49579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49580         New file.
49581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49582         multiarch isinff for PowerPC32.
49584         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49585         alias when __isnan is defined.
49586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49587         and isnanf multiarch implementations.
49588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49589         file.
49590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49591         file.
49592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49593         file.
49594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49595         file.
49596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49597         multiarch isnan for PowerPC32.
49598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49599         New file.
49600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49601         New file.
49602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49603         multiarch isnanf for PowerPC32.
49605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49606         and sqrtf multiarch implementations.
49607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49608         file.
49609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49610         file.
49611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49612         multiarch sqrt for PowerPC32.
49613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49614         file.
49615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49616         file.
49617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49618         multiarch sqrtf for PowerPC32.
49620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49621         and llroundf multiarch implementations.
49622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49623         New file.
49624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49625         New file.
49626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49627         New file.
49628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49629         file: multiarch llround for PowerPC32.
49630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49631         file: multiarch llroundf for PowerPC32.
49633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49634         multiarch PowerPC32 fpu implementations.
49635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49636         New file.
49637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49638         New file.
49639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49640         multiarch llrint for PowerPC32.
49641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49642         New file.
49643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49644         New file.
49645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49646         file.
49648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49650         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49651         file.
49652         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49653         file.
49654         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49655         file.
49656         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49657         multiarch wordcopy for PPC32.
49658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49659         wordcopy objects.
49660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49661         (__libc_ifunc_impl_list): Likewise.
49662         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49663         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49664         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49665         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49666         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49667         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49669         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49671         file.
49672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49673         file.
49674         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49675         file.
49676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49677         multiarch wcscpy for PPC32.
49678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49679         multiarch objects.
49680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49681         (__libc_ifunc_impl_list): Likewise.
49682         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49683         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49684         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49685         sysdeps/powerpc/power6/wcscpy.c.
49687         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49689         file.
49690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49691         file.
49692         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49693         file.
49694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49695         multiarch wcsrchr for PPC32.
49696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49697         multiarch objects.
49698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49699         (__libc_ifunc_impl_list): Likewise.
49700         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49701         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49702         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49703         sysdeps/powerpc/power6/wcsrchr.c.
49705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49706         file.
49707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49708         file.
49709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49710         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49711         multiarch wcschr for PPc32.
49712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49713         multiarch objects.
49714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49715         (__libc_ifunc_impl_list): Likewise.
49716         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49717         * sysdeps/powerpc/power6/wcschr.c: ... to here.
49718         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49719         sysdeps/powerpc/power6/wcschr.c.
49721         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49722         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49723         file.
49724         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49725         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49726         file: multiarch strchr for PPC32.
49727         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49728         multiarch objects.
49729         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49730         (__libc_ifunc_impl_list): Likewise.
49732         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49733         name.
49734         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49735         file.
49736         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49737         file.
49738         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49739         multiarch strchrnul for PPC32.
49740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49741         multiarch objects.
49742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49743         (__libc_ifunc_impl_list): Likewise.
49745         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49746         file.
49747         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49748         multiarch strncasecmp for PPC32.
49749         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49750         file.
49751         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49752         multiarch strncasecmp_l for PPC32.
49753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49754         strncasecmp multiarch objects.
49755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49756         (__libc_ifunc_impl_list): Likewise.
49758         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49759         file.
49760         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49761         multiarch strncasecmp for PPC32.
49762         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49763         New file.
49764         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49765         multiarch strcasecmp_l for PPC32.
49766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49767         multiarch objects.
49768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49769         (__libc_ifunc_impl_list): Likewise.
49771         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49772         file.
49773         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49774         file.
49775         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49776         multiarch strncmp for PPC32.
49777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49778         multiarch objects.
49779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49780         (__libc_ifunc_impl_list): Likewise.
49782         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49783         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49784         file.
49785         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49786         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49788         multiarch objects.
49789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49790         (__libc_ifunc_impl_list): Likewise.
49792         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49793         file.
49794         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49795         file.
49796         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49798         multiarch objects.
49799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49800         (__libc_ifunc_impl_list): Likewise.
49802         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49803         file.
49804         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49805         file.
49806         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49807         multiarch rawmemchr for PPC32.
49808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49809         multiarch objects.
49810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49811         (__libc_ifunc_impl_list): Likewise.
49813         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49814         file.
49815         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49816         file.
49817         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49818         file: memrchr multiarch for PPC32.
49819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49820         multiarch objects.
49821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49822         (__libc_ifunc_impl_list): Likewise.
49824         * string/memchr.c (__memchr): Using macro to redefine symbol name.
49825         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49826         file.
49827         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49828         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49829         multiarch memchr for PPC32.
49830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49831         multiarch objects.
49832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49833         (__libc_ifunc_impl_list): Likewise.
49835         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49836         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49837         file.
49838         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49839         file.
49840         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49841         file: multiarch mempcpy for PPC32.
49842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49843         multiarch objects.
49844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49845         (__libc_ifunc_impl_list): Likewise.
49847         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49848         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49849         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49850         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49851         multiarch bzero for PPC32.
49852         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49853         file.
49854         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49855         file.
49856         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49857         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49858         file: multiarch memset for PPC32.
49859         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49861         memset multiarch objects.
49862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49863         (__libc_ifunc_impl_list): Likewise.
49865         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49866         file.
49867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49869         memcmp for PPC32.
49870         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49872         multiarch objects.
49873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49874         (__libc_ifunc_impl_list): Likewise.
49876         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49877         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49878         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49879         file.
49880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49881         file.
49882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49883         file.
49884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49885         multiarch memcpy for PPC32.
49886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49887         multiarch objects.
49888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49889         (__libc_ifunc_impl_list): Likewise.
49891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49892         support multiarch for POWER/PPC32.
49893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49894         Likewise.
49895         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49897         Implies file to make multiarch folder appers before the fpu and
49898         default folder for power4 configuration.
49900 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49902         * scripts/bench.pl: Append volatile keyword to type.
49904 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49906         * sysdeps/sh/sotruss-lib.c: New file.
49907         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49909 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49913 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49915         [BZ #6810]
49916         * math/w_tgamma.c: Include <errno.h>.
49917         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49918         * math/w_tgammaf.c: Include <errno.h>.
49919         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49920         * math/w_tgammal.c: Include <errno.h>.
49921         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49922         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49923         underflow.  Add more tgamma tests.
49924         * math/auto-libm-test-out: Regenerated.
49925         * sysdeps/i386/fpu/libm-test-ulps: Update.
49926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49928         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49929         sin, sinh, tan, tanh, tgamma, y0 and y1.
49930         * math/auto-libm-test-out: Regenerated.
49931         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49932         (TEST_COND_x86): Likewise.
49933         (M_E2l): Remove macro.
49934         (M_E3l): Likewise.
49935         (M_2_SQRT_PIl): Likewise.
49936         (M_SQRT_PIl): Likewise.
49937         (M_1_DIV_El): Likewise.
49938         (log_test_data): Use AUTO_TESTS_f_f.
49939         (log10_test_data): Likewise.
49940         (log1p_test_data): Likewise.
49941         (log2_test_data): Likewise.
49942         (sin_test_data): Likewise.
49943         (sin_tonearest_test_data): Likewise.
49944         (sin_towardzero_test_data): Likewise.
49945         (sin_downward_test_data): Likewise.
49946         (sin_upward_test_data): Likewise.
49947         (sinh_test_data): Likewise.
49948         (sinh_tonearest_test_data): Likewise.
49949         (sinh_towardzero_test_data): Likewise.
49950         (sinh_downward_test_data): Likewise.
49951         (sinh_upward_test_data): Likewise.
49952         (tan_test_data): Likewise.
49953         (tan_tonearest_test_data): Likewise.
49954         (tan_towardzero_test_data): Likewise.
49955         (tan_downward_test_data): Likewise.
49956         (tan_upward_test_data): Likewise.
49957         (tanh_test_data): Likewise.
49958         (tgamma_test_data): Likewise.
49959         (y0_test_data): Likewise.
49960         (y1_test_data): Likewise.
49961         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49962         (special_real_inputs): Add pi/4.
49963         * sysdeps/i386/fpu/libm-test-ulps: Update.
49964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49966 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49968         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49969         "longjmp_target" static probes.
49970         (__longjmp): Rename to __longjmp_symbol.
49971         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49972         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49973         on which longjmp to generate.
49974         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49975         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49976         probe.
49977         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49978         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49979         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49980         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49981         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49982         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49984         __longjmp_symbol based on which __longjmp to generate.
49985         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49986         probe.
49987         (setjmp): Rename to setjmp_symbol.
49988         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49989         (_setjmp): Rename to _setjmp_symbol.
49990         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49991         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49992         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49993         which setjmp to generate.
49994         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49995         "longjmp_target" static probes.
49997 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49999         * benchtests/README: Add note about output arguments.
50000         * benchtests/bench-sincos.c: Remove file.
50001         * benchtests/sincos-inputs: New file.
50002         * scripts/bench.pl: Identify output arguments and define
50003         static variables for them.
50005         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
50007         [BZ #15941]
50008         * Makefile (INSTALL): Add install-plain.texi as the primary
50009         dependency.
50010         * manual/install-plain.texi: New file.
50011         * manual/install.texi: Include node directive only for
50012         non-plaintext output.
50014 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
50016         * stdlib/longlong.h: Update from GCC.
50018         [BZ #6807]
50019         [BZ #15901]
50020         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
50021         * math/w_j0f.c (y0f): Likewise.
50022         * math/w_j0l.c (__y0l): Likewise.
50023         * math/w_j1.c (y1): Likewise.
50024         * math/w_j1f.c (y1f): Likewise.
50025         * math/w_j1l.c (__y1l): Likewise.
50026         * math/w_jn.c (yn): Likewise.
50027         * math/w_jnf.c (ynf): Likewise.
50028         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
50029         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
50030         value for Bessel function domain errors outside _SVID_ mode.
50031         Adjust sign of return value for yn (negative integer, 0).
50032         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
50033         by zero in return for negative x and set sign appropriately for
50034         negative n.
50035         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
50036         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
50037         * math/libm-test.inc (y0_test_data): Add more tests and adjust
50038         expectations in error cases.
50039         (y1_test_data): Likewise.
50040         (yn_test_data): Likewise.
50041         * sysdeps/i386/fpu/libm-test-ulps: Update.
50042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50044 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50046         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
50047         "64" to "64-v1".  Add "64-v2".
50048         (abi-64-options): Rename to ...
50049         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
50050         (abi-64-condition): Rename to ...
50051         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
50052         (abi-64-ld-soname): Rename to ...
50053         (abi-64-v1-ld-soname): ... this.
50054         (abi-64-v2-options): Define.
50055         (abi-64-v2-condition): Likewise.
50056         (abi-64-v2-ld-soname): Likewise.
50057         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
50058         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
50059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
50060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
50061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
50063 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50064             Alan Modra  <amodra@gmail.com>
50066         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
50067         New versions for use with the ELFv2 ABI.
50068         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
50069         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
50070         declaration.
50071         (struct La_ppc64v2_retval): Likewise.
50072         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
50073         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
50074         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
50075         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
50076         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
50077         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50078         Do not save or restore CR.
50079         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
50080         (_dl_profile_resolve): Do no save or restore CR.  Support extended
50081         return values for ELFv2 ABI.  Fix location of FPR return registers.
50082         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
50083         updated values for _CALL_ELF == 2.
50084         (La_regs, La_retval, int_retval): Likewise.
50086 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50088         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
50089         (FRAME_MIN_SIZE_PARM): Likewise.
50090         (FRAME_BACKCHAIN): Likewise.
50091         (FRAME_CR_SAVE): Likewise.
50092         (FRAME_LR_SAVE): Likewise.
50093         (FRAME_TOC_SAVE): Likewise.
50094         (FRAME_PARM_SAVE): Likewise.
50095         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
50096         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
50097         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50098         (call_mcount_parm_offset): New macro.
50099         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
50100         (PROF): Use symbolic stack frame offsets.
50101         (TAIL_CALL_SYSCALL_ERROR): Likewise.
50102         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
50103         Redefine in terms of FRAME_MIN_SIZE.
50104         (_dl_runtime_resolve): Use symbolic stack frame offsets.
50105         (_dl_profile_resolve): Likewise.  Update comment.
50106         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
50107         symbols stack frame offsets.
50108         (__sigsetjmp): Likewise.
50109         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
50110         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
50111         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
50112         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50115         (FRAME_BACKCHAIN): Remove.
50116         (FRAME_CR_SAVE): Likewise.
50117         (FRAME_LR_SAVE): Likewise.
50118         (FRAME_COMPILER_DW): Likewise.
50119         (FRAME_LINKER_DW): Likewise.
50120         (FRAME_TOC_SAVE): Likewise.
50121         (FRAME_PARM_SAVE): Likewise.
50122         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50123         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50124         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50126         (CHECK_SP): Use symbolic stack frame offsets.
50127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50128         zone" instead of caller's parameter save area for temp storage.
50129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50130         Likewise.  Also, use symbolic stack frame offsets.
50131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50132         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50133         our own stack frame instead of the caller's.
50134         (__socket): Use symbolic stack frame offsets.
50136 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50137             Alan Modra  <amodra@gmail.com>
50139         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50140         Define.
50141         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50142         (PPC64_LOCAL_ENTRY_OFFSET): Define.
50143         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50144         New function.
50145         (elf_machine_fixup_plt): Call it.
50146         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
50147         reloc arguments.
50148         (elf_machine_rela): Update call to elf_machine_plt_conflict.
50149         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50150         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50151         r2 before calling target.
50153 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50154             Alan Modra  <amodra@gmail.com>
50156         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50157         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50158         versions of macros to support ELFv2 ABI.
50159         (LOCALENTRY): New macro.
50160         (ENTRY, EALIGN): Use it.
50161         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50162         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50163         fall through into ENTRY entry point.
50164         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50165         Only define if _CALL_ELF != 2.
50167         (elf_machine_matches_host): Verify ABI version matches.
50168         (RTLD_START): Use LOCALENTRY.
50169         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50170         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50171         (PLT_ENTRY_WORDS): New macro.
50172         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50173         (elf_machine_runtime_setup): Support ELFv2 ABI.
50174         (elf_machine_fixup_plt): Likewise.
50175         (elf_machine_plt_conflict): Likewise.
50176         (resolve_ifunc): Likewise.
50177         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50178         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50179         Likewise.
50180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50181         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50183         (makecontext): Support ELFv2 ABI.
50184         * elf/elf.h (EF_PPC64_ABI): Define.
50186 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50188         * sysdeps/powerpc/powerpc64/sysdep.h
50189         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50190         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50191         (ENTRY) [ASSEMBLER]: ... but instead here ...
50192         (EALIGN) [ASSEMBLER]: ... and here.
50193         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50194         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50195         (ENTRY_2) [!ASSEMBLER]: Use it.
50196         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50197         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
50198         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50199         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50200         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50202         Use PPC64_LOAD_FUNCPTR.
50204         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50206 2013-12-04  Alan Modra  <amodra@gmail.com>
50208         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50209         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50210         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50211         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50213         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50214         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50215         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50216         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50217         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50218         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50220 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50223         (__makecontext): Fix incorrect CFI when backtracing out of
50224         context created via makecontext.
50225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50226         (__setcontext): Fix incorrect CFI during switch to new context.
50227         (__novec_setcontext): Likewise.
50229 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50231         [BZ #4772]
50232         * time/strptime_l.c (__strptime_internal): Allow modifiers
50233         in strptime.
50234         * time/tst-strptime.c (day_tests): Add testcase.
50236 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50238         * scripts/bench.pl: Skip over blank lines.
50240 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
50242         [BZ #926]
50243         * manual/time.texi (Calendar Time): Clarify what timezone functions
50244         use.
50246 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50250 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50252         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50253         implementation.
50254         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50255         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50256         * debug/memset_chk.c (__memset_chk): Likewise.
50257         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50258         * debug/strncpy_chk.c: Likewise.
50260 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50262         [BZ #15268]
50263         [BZ #15425]
50264         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50265         (__ieee754_exp): For possibly underflowing results, check size of
50266         result and force underflow exception if required.
50267         * math/auto-libm-test-in: Add more tests of exp.
50268         * math/auto-libm-test-out: Regenerated.
50269         * sysdeps/i386/fpu/libm-test-ulps: Update.
50270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50272         [BZ #16283]
50273         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50274         * math/w_exp2f.c (__exp2f): Likewise.
50275         * math/w_exp2l.c (__exp2l): Likewise.
50276         * math/auto-libm-test-in: Do not allow missing errno on exp2
50277         underflow.
50278         * math/auto-libm-test-out: Regenerated.
50280 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
50282         [BZ #16274]
50283         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50284         handle filename validation.
50285         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50286         (do_open): Delete.
50288 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50290         [BZ #6786]
50291         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50292         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50293         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50294         <float.h>.
50295         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50296         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50297         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50298         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50299         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50300         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50301         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50302         * math/auto-libm-test-in: Don't allow missing errno from erfc.
50303         Add more erfc tests.
50304         * math/auto-libm-test-out: Regenerated.
50305         * sysdeps/i386/fpu/libm-test-ulps: Update.
50306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50308         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50309         exp2, expm1, j0 and j1.
50310         * math/auto-libm-test-out: Regenerated.
50311         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50312         (erfc_test_data): Likewise.
50313         (exp_test_data): Likewise.
50314         (exp_tonearest_test_data): Likewise.
50315         (exp_towardzero_test_data): Likewise.
50316         (exp_downward_test_data): Likewise.
50317         (exp_upward_test_data): Likewise.
50318         (exp10_test_data): Likewise.
50319         (exp2_test_data): Likewise.
50320         (expm1_test_data): Likewise.
50321         (j0_test_data): Likewise.
50322         (j1_test_data): Likewise.
50323         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50324         (input_flag_type): Add flag_xfail_rounding.
50325         (input_flags): Add xfail-rounding.
50326         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50327         (output_for_one_input_case): Handle flag_xfail_rounding.
50328         * sysdeps/i386/fpu/libm-test-ulps: Update.
50329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50331 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
50333         [BZ #16289]
50334         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50335         division by 0.
50337 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50339         [BZ #16195]
50340         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50341         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50342         (STAP_PROBE0): New macro.
50343         (STAP_PROBE1): Likewise.
50344         (STAP_PROBE2): Likewise.
50345         (STAP_PROBE3): Likewise.
50346         (STAP_PROBE4): Likewise.
50348 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
50350         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50352 2013-12-02  Steve Ellcey  <sellcey@mips.com>
50354         * benchtests/Makefile (bench): Add sqrt.
50355         (LDLIBS-bench-sqrt): New.
50356         * benchtests/sqrt-input: New.
50358 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
50360         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50361         (GAIH_EAI): Likewise.
50362         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50363         (gaih_inet): Likewise.
50364         (getaddrinfo): Don't use GAIH_EAI.
50366         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50367         (struct gaih): Remove definition.
50369 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50371         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50372         Use HERRNOP directly.
50374 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50378 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
50380         * math/gen-auto-libm-tests.c (test_functions): Add more
50381         single-argument functions.
50382         (special_fill_pi_2): New function.
50383         (special_fill_minus_pi_2): Likewise.
50384         (special_fill_pi_6): Likewise.
50385         (special_fill_minus_pi_6): Likewise.
50386         (special_fill_pi_3): Likewise.
50387         (special_fill_2pi_3): Likewise.
50388         (special_fill_e): Likewise.
50389         (special_fill_1_e): Likewise.
50390         (special_fill_e_minus_1): Likewise.
50391         (special_real_inputs): Add more special inputs.
50392         (output_for_one_input_case): Do not require ERANGE on underflow to
50393         zero if round-to-nearest result does not underflow to zero, unless
50394         exact results required.
50395         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50396         atan, atanh, cbrt, cos and cosh.
50397         * math/auto-libm-test-out: Regenerated.
50398         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50399         (acos_tonearest_test_data): Likewise.
50400         (acos_towardzero_test_data): Likewise.
50401         (acos_downward_test_data): Likewise.
50402         (acos_upward_test_data): Likewise.
50403         (acosh_test_data): Likewise.
50404         (asin_test_data): Likewise.
50405         (asin_tonearest_test_data): Likewise.
50406         (asin_towardzero_test_data): Likewise.
50407         (asin_upward_test_data): Likewise.
50408         (asinh_test_data): Likewise.
50409         (atan_test_data): Likewise.
50410         (atanh_test_data): Likewise.
50411         (cbrt_test_data): Likewise.
50412         (cos_test_data): Likewise.
50413         (cos_tonearest_test_data): Likewise.
50414         (cos_towardzero_test_data): Likewise.
50415         (cos_downward_test_data): Likewise.
50416         (cos_upward_test_data): Likewise.
50417         (cosh_test_data): Likewise.
50418         (cosh_tonearest_test_data): Likewise.
50419         (cosh_towardzero_test_data): Likewise.
50420         (cosh_downward_test_data): Likewise.
50421         (cosh_upward_test_data): Likewise.
50422         * sysdeps/i386/fpu/libm-test-ulps: Update.
50423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50425 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
50427         [BZ #6787]
50428         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50429         * math/w_exp10f.c (__exp10f): Likewise.
50430         * math/w_exp10l.c (__exp10l): Likewise.
50431         * math/libm-test.inc (exp10_test_data): Add more tests and expect
50432         errno settings in existing tests.
50434         [BZ #14032]
50435         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50436         precision control set to double precision.
50437         * sysdeps/i386/fpu/w_sqrt.c: New file.
50438         * math/auto-libm-test-in: Add more tests.
50439         * math/auto-libm-test-out: Update.
50441         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50442         (sqrt_test_tonearest): New function.
50443         (sqrt_towardzero_test_data): New variable.
50444         (sqrt_test_towardzero): New function.
50445         (sqrt_downward_test_data): New variable.
50446         (sqrt_test_downward): New function.
50447         (sqrt_upward_test_data): New variable.
50448         (sqrt_test_upward): New function.
50449         (main): Call the new functions.
50451         * math/gen-auto-libm-tests.c: New file.
50452         * math/auto-libm-test-in: Likewise.
50453         * math/auto-libm-test-out: New generated file.
50454         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50455         variables.
50456         (%beautify): Add generated representations of zero.
50457         (top level): Set $auto_input and call parse_auto_input.
50458         (beautify): Remove trailing "f" from hex float constants.
50459         (parse_args): Handle XFAIL_TEST.
50460         (convert_condition): New function.
50461         (or_value): Likewise.
50462         (or_cond_value): Likewise.
50463         (generate_testfile): Handle AUTO_TESTS_* lines.
50464         (parse_auto_input): New function.
50465         * math/libm-test.inc (XFAIL_TEST): New macro.
50466         (ERRNO_UNCHANGED): Update value.
50467         (ERRNO_EDOM): Likewise.
50468         (ERRNO_ERANGE): Likewise.
50469         (IGNORE_RESULT): Likewise.
50470         (TEST_COND_flt_32): New macro.
50471         (TEST_COND_dbl_64): Likewise.
50472         (TEST_COND_ldbl_96_intel): Likewise.
50473         (TEST_COND_ldbl_96_m68k): Likewise.
50474         (TEST_COND_ldbl_128): Likewise.
50475         (TEST_COND_ldbl_128ibm): Likewise.
50476         (TEST_COND_long32): Likewise.
50477         (TEST_COND_long64): Likewise.
50478         (TEST_COND_before_rounding): Likewise.
50479         (TEST_COND_after_rounding): Likewise.
50480         (enable_test): Handle XFAIL_TEST flag.
50481         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50482         with finite results.
50483         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50484         auto-libm-test-out.
50486 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50487             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50489         [BZ #16214]
50490         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50491         __tls_get_addr_internal instead of __tls_get_offset in order to
50492         avoid GOT pointer dependency.  Make rtld export
50493         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50494         __tls_get_addr since we are a __tls_get_offset platform.
50495         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50496         GOT pointer being set up before.
50497         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50499 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
50501         * manual/math.texi (Errors in Math Functions): Document accuracy
50502         goals.
50504         [BZ #15004]
50505         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50506         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50507         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50508         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50509         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50510         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50511         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50512         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50513         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50514         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50515         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50516         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50517         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50518         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50519         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50520         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50522         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50523         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50524         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50525         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50526         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50527         Likewise.
50528         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50529         Likewise.
50530         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50531         Likewise.
50532         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50533         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50534         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50535         atomic-feupdateenv and flt-rounds.
50536         * sysdeps/powerpc/nofpu/Versions (libc): Add
50537         __atomic_feholdexcept, __atomic_feclearexcept,
50538         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50539         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50540         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50541         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50542         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50543         here.
50544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50545         Update.
50547         * manual/arith.texi (FP Exceptions): Document that exceptions may
50548         not be raised when matherr is used.
50549         (Math Error Reporting): Document overflow in directed rounding
50550         modes.  Document that errno may not be set when finite values are
50551         returned on overflow.  Document intent to set errno on underflow
50552         only for underflow to zero.
50554         [BZ #16271]
50555         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50556         round-to-nearest then adjust result for other rounding modes.
50557         * include/fenv.h (fegetround): Use libm_hidden_proto.
50558         * math/fegetround.c (fegetround): Use libm_hidden_def.
50559         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50560         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50561         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50562         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50563         Likewise.
50564         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50565         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50566         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50567         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50569 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50571         [BZ #16077]
50572         * nss/Versions (libnss_files): Add
50573         _nss_files_gethostbyname3_r.
50574         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50575         New function.
50576         (HOST_DB_LOOKUP): Remove macro.
50577         (_nss_files_gethostbyname_r): Implement function without the
50578         HOST_DB_LOOKUP macro.
50579         (_nss_files_gethostbyname2_r): Likewise.
50581 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
50583         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50585 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
50587         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50588         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50589         warning.
50591 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50593         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50594         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50595         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50596         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50597         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50598         __fe_nomask_env_priv and attribute_hidden.
50599         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50600         (libc_feupdateenv_test_ppc): Likewise.
50601         (libc_feresetround_ppc): Likewise.
50602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50603         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50604         compat_symbol macro.
50605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50606         (__fe_nomask_env): Likewise.
50607         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50609 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50611         * string/Makefile: Remove ifunc tests.
50612         * string/test-string.h: Define TEST_IFUNC.
50613         * string/test-bcopy-ifunc.c: Remove.
50614         * string/test-bzero-ifunc.c: Likewise.
50615         * string/test-memccpy-ifunc.c: Likewise.
50616         * string/test-memchr-ifunc.c: Likewise.
50617         * string/test-memcmp-ifunc.c: Likewise.
50618         * string/test-memcpy-ifunc.c: Likewise.
50619         * string/test-memmem-ifunc.c: Likewise.
50620         * string/test-memmove-ifunc.c: Likewise.
50621         * string/test-mempcpy-ifunc.c: Likewise.
50622         * string/test-memrchr-ifunc.c: Likewise.
50623         * string/test-memset-ifunc.c: Likewise.
50624         * string/test-rawmemchr-ifunc.c: Likewise.
50625         * string/test-stpcpy-ifunc.c: Likewise.
50626         * string/test-stpncpy-ifunc.c: Likewise.
50627         * string/test-strcasecmp-ifunc.c: Likewise.
50628         * string/test-strcasestr-ifunc.c: Likewise.
50629         * string/test-strcat-ifunc.c: Likewise.
50630         * string/test-strchr-ifunc.c: Likewise.
50631         * string/test-strchrnul-ifunc.c: Likewise.
50632         * string/test-strcmp-ifunc.c: Likewise.
50633         * string/test-strcpy-ifunc.c: Likewise.
50634         * string/test-strcspn-ifunc.c: Likewise.
50635         * string/test-strlen-ifunc.c: Likewise.
50636         * string/test-strncasecmp-ifunc.c: Likewise.
50637         * string/test-strncat-ifunc.c: Likewise.
50638         * string/test-strncmp-ifunc.c: Likewise.
50639         * string/test-strncpy-ifunc.c: Likewise.
50640         * string/test-strnlen-ifunc.c: Likewise.
50641         * string/test-strpbrk-ifunc.c: Likewise.
50642         * string/test-strrchr-ifunc.c: Likewise.
50643         * string/test-strspn-ifunc.c: Likewise.
50644         * string/test-strstr-ifunc.c: Likewise.
50646 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50648         * benchtests/Makefile: Remove ifunc tests.
50649         * benchtests/bench-string.h: Define TEST_IFUNC.
50650         * benchtests/bench-bcopy-ifunc.c: Remove.
50651         * benchtests/bench-bzero-ifunc.c: Likewise.
50652         * benchtests/bench-memccpy-ifunc.c: Likewise.
50653         * benchtests/bench-memchr-ifunc.c: Likewise.
50654         * benchtests/bench-memcmp-ifunc.c: Likewise.
50655         * benchtests/bench-memcpy-ifunc.c: Likewise.
50656         * benchtests/bench-memmem-ifunc.c: Likewise.
50657         * benchtests/bench-memmove-ifunc.c: Likewise.
50658         * benchtests/bench-mempcpy-ifunc.c: Likewise.
50659         * benchtests/bench-memrchr-ifunc.c: Likewise.
50660         * benchtests/bench-memset-ifunc.c: Likewise.
50661         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50662         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50663         * benchtests/bench-stpcpy-ifunc.c: Likewise.
50664         * benchtests/bench-stpncpy-ifunc.c: Likewise.
50665         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50666         * benchtests/bench-strcasestr-ifunc.c: Likewise.
50667         * benchtests/bench-strcat-ifunc.c: Likewise.
50668         * benchtests/bench-strchr-ifunc.c: Likewise.
50669         * benchtests/bench-strchrnul-ifunc.c: Likewise.
50670         * benchtests/bench-strcmp-ifunc.c: Likewise.
50671         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50672         * benchtests/bench-strcpy-ifunc.c: Likewise.
50673         * benchtests/bench-strcspn-ifunc.c: Likewise.
50674         * benchtests/bench-strlen-ifunc.c: Likewise.
50675         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50676         * benchtests/bench-strncat-ifunc.c: Likewise.
50677         * benchtests/bench-strncmp-ifunc.c: Likewise.
50678         * benchtests/bench-strncpy-ifunc.c: Likewise.
50679         * benchtests/bench-strnlen-ifunc.c: Likewise.
50680         * benchtests/bench-strpbrk-ifunc.c: Likewise.
50681         * benchtests/bench-strrchr-ifunc.c: Likewise.
50682         * benchtests/bench-strsep-ifunc.c: Likewise.
50683         * benchtests/bench-strspn-ifunc.c: Likewise.
50684         * benchtests/bench-strstr-ifunc.c: Likewise.
50686 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50688         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50690 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50692         * resolv/netdb.h: Use __glibc_reserved instead __unused.
50693         * rt/aio.h: Likewise.
50694         * sysdeps/gnu/bits/utmp.h: Likewise.
50695         * sysdeps/gnu/bits/utmpx.h: Likewise.
50696         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50697         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50698         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50699         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50700         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50701         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50702         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50703         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50704         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50705         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50706         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50707         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50708         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50710         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50711         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50712         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50713         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50714         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50715         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50716         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50717         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50718         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50719         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50720         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50722         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50723         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50724         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50725         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50726         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50727         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50728         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50729         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50730         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50731         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50732         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50733         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50734         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50735         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50736         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50737         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50739 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
50741         [BZ #16245]
50742         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50743         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50745 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
50747         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50748         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50749         Likewise.
50751 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50753         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50754         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50755         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50756         (__fesetround): Remove define.
50757         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50758         rounding and exceptions handling.
50759         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50760         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50761         (__fe_nomask_env): Likewise.
50762         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50763         __fegetround instead of fegetround.
50764         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50765         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50767 2013-11-21  Roland McGrath  <roland@hack.frob.com>
50769         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50770         it's there.
50772         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50774 2013-11-21  Meador Inge  <meadori@codesourcery.com>
50776         [BZ #11157]
50777         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50778         (encrypt_r): Likewise.
50779         * malloc/obstack.h (obstack_free): Likewise.
50780         * posix/unistd.h (encrypt): Likewise.
50782 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
50784         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50785         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50786         DL_CALL_DT_FINI() that call the functions directly.
50787         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50788         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50789         * elf/dl-fini.c: Likewise.
50791 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
50793         * malloc/hooks.c (memalign_check): Add alignment rounding.
50794         * malloc/malloc.c (_mid_memalign): New function.
50795         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50796         Implement by calling _mid_memalign.
50797         * manual/probes.texi (Memory Allocation Probes): Remove
50798         memory_valloc_retry and memory_pvalloc_retry.
50800 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50802         * locale/programs/locarchive.c (open_archive): Add const
50803         qualifier to ARCHIVEFNAME and copy default fname to
50804         DEFAULT_FNAME.
50806         [BZ #15601]
50807         * libio/tst-widetext.input: Rename Oriya to Odia.
50808         * locale/iso-639.def: Likewise.
50810         * manual/probes.texi (Mathematical Function Probes): Add
50811         documentation for sin, cos, asin and acos probes.
50812         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50813         (__sin32): Add slowasin probe.
50814         (__cos32): Add slowacos probe.
50815         (__mpsin): Add slowsin probe.
50816         (__mpcos): Add slowcos probe.
50818 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
50820         [BZ #15483]
50821         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50822         thread-local __sim_exceptions_thread and global
50823         __sim_exceptions_global.
50824         (__sim_disabled_exceptions): Change to thread-local
50825         __sim_disabled_exceptions_thread and global
50826         __sim_disabled_exceptions_global.
50827         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50828         and global __sim_round_mode_global.
50829         (__simulate_exceptions): Use thread-local floating-point state and
50830         set global state from it as needed.
50831         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50832         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50833         __sim_round_mode_thread.
50834         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50835         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50836         and global __sim_exceptions_global.
50837         (__sim_disabled_exceptions): Change to thread-local
50838         __sim_disabled_exceptions_thread and global
50839         __sim_disabled_exceptions_global.
50840         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50841         and global __sim_round_mode_global.
50842         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50843         (SIM_SET_GLOBAL): Likewise.
50844         * sysdeps/powerpc/soft-fp/sfp-machine.h
50845         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50846         __sim_round_mode_thread.
50847         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50848         __sim_disabled_exceptions_thread.
50849         (__sim_exceptions): Change to __sim_exceptions_thread.
50850         (__sim_disabled_exceptions): Change to
50851         __sim_disabled_exceptions_thread.
50852         (__sim_round_mode): Change to __sim_round_mode_thread.
50853         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50854         thread-local floating-point state and set global state from it as
50855         needed.
50856         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50857         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50858         (__sim_disabled_exceptions): Remove extern declaration.
50859         (feenableexcept): Use thread-local floating-point state and set
50860         global state from it as needed.
50861         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50862         extern declaration.
50863         (__sim_disabled_exceptions): Likewise.
50864         (__sim_round_mode): Likewise.
50865         (__fegetenv): Use thread-local floating-point state.
50866         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50867         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50868         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50869         floating-point state and set global state from it as needed.
50870         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50871         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50872         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50873         Likewise.
50874         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50875         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50876         Likewise.
50877         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50878         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50879         Use __sim_round_mode_thread.
50880         * math/test-fenv-tls.c: New file.
50881         * math/Makefile (tests): Add test-fenv-tls.
50882         ($(objpfx)test-fenv-tls): Depend on
50883         $(common-objpfx)nptl/libpthread.so.
50885 2013-11-19  Andreas Schwab  <schwab@suse.de>
50887         * locale/programs/locale.c (show_info): Decode wordarray elements.
50888         * locale/categories.def (LC_MONETARY): Add element for
50889         _NL_MONETARY_CRNCYSTR.
50890         * locale/C-monetary.c (conversion_rate): New variable.
50891         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50892         element.
50894 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
50896         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50897         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50899 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50901         * elf/Makefile (tst-auxv): New test.
50902         * elf/tst-auxv.c: New
50903         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50905 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50907         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50908         (hidden_proto): Caller changed.
50909         (hidden_tls_proto): New macro.
50910         (libc_hidden_tls_proto): Likewise.
50911         (rtld_hidden_tls_proto): Likewise.
50912         (libm_hidden_tls_proto): Likewise.
50913         (libresolv_hidden_tls_proto): Likewise.
50914         (librt_hidden_tls_proto): Likewise.
50915         (libdl_hidden_tls_proto): Likewise.
50916         (libnss_files_hidden_tls_proto): Likewise.
50917         (libnsl_hidden_tls_proto): Likewise.
50918         (libnss_nisplus_hidden_tls_proto): Likewise.
50919         (libutil_hidden_tls_proto): Likewise.
50921 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50923         [BZ #10253]
50924         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50925         (decompose_rpath): Defer expansion to fillin_rpath.
50926         (_dl_init_paths): Pass linkmap to fillin_rpath.
50928 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50930         * benchtests/Makefile: Add strsep.
50931         * benchtests/bench-strsep.c: New file: strsep benchtest.
50932         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50934 2013-11-18  Andreas Schwab  <schwab@suse.de>
50936         * locale/programs/locale.c (show_info) [case byte]: Check for
50937         '\377' instead of '\177'.
50938         * locale/C-monetary.c (not_available): Always use "\377".
50939         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50940         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50941         detect unavailable sign_posn locale elements.
50942         * locale/localeconv.c (__localeconv): For grouping and
50943         mon_grouping handle "\177" and "\377" like no grouping.
50944         (INT_ELEM): New macro.  Use it to set all numeric members.
50945         * locale/programs/ld-monetary.c (monetary_read)
50946         <tok_mon_grouping>: Normalize single -1 to the empty string.
50947         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50948         Likewise.
50950 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50952         [BZ #16055]
50953         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50954         when we match (nil).
50955         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50957 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50959         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50960         (NO_TEST_INLINE): Update value.
50961         (ERRNO_UNCHANGED): Likewise.
50962         (ERRNO_EDOM): Likewise.
50963         (ERRNO_ERANGE): Likewise.
50964         (IGNORE_RESULT): Likewise.
50965         (check_float_internal): Check signs of NaN results if
50966         TEST_NAN_SIGN used.
50967         (check_complex): Pass TEST_NAN_SIGN flag through to second
50968         check_float_internal call.
50969         (copysign_test_data): Add tests with quiet NaNs as second
50970         argument.  Use TEST_NAN_SIGN.
50971         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50972         TEST_NAN_SIGN.
50973         (signbit_test_data): Add tests of quiet NaN argument.
50974         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50976         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50977         $ignore_result.
50978         (parse_args): Handle function results specified as IGNORE.
50979         * math/libm-test.inc (IGNORE_RESULT): New macro.
50980         (check_float_internal): Do not check numerical result if flag
50981         IGNORE_RESULT set.
50982         (check_complex): Pass through IGNORE_RESULT to second
50983         check_float_internal call.
50984         (check_int): Do not check numerical result if flag IGNORE_RESULT
50985         set.
50986         (check_long): Likewise.
50987         (check_bool): Likewise.
50988         (check_longlong): Likewise.
50989         (lrint_test_data): Add tests of infinite and NaN arguments.
50990         (lrint_tonearest_test_data): Likewise.
50991         (lrint_towardzero_test_data): Likewise.
50992         (lrint_downward_test_data): Likewise.
50993         (lrint_upward_test_data): Likewise.
50994         (llrint_test_data): Likewise.
50995         (llrint_tonearest_test_data): Likewise.
50996         (llrint_towardzero_test_data): Likewise.
50997         (llrint_downward_test_data): Likewise.
50998         (llrint_upward_test_data): Likewise.
50999         (lround_test_data): Likewise.
51000         (llround_test_data): Likewise.
51002         * math/libm-test.inc (NO_TEST_INLINE): New macro.
51003         (ERRNO_UNCHANGED): Update value.
51004         (ERRNO_EDOM): Likewise.
51005         (ERRNO_ERANGE): Likewise.
51006         (NO_TEST_INLINE_FLOAT): New macro.
51007         (NO_TEST_INLINE_DOUBLE): Likewise.
51008         (enable_test): New function.
51009         (RUN_TEST_f_f): Check enable_test before running test.
51010         (RUN_TEST_2_f): Likewise.
51011         (RUN_TEST_fff_f): Likewise.
51012         (RUN_TEST_c_f): Likewise.
51013         (RUN_TEST_f_f1): Likewise.
51014         (RUN_TEST_fF_f1): Likewise.
51015         (RUN_TEST_fI_f1): Likewise.
51016         (RUN_TEST_ffI_f1): Likewise.
51017         (RUN_TEST_c_c): Likewise.
51018         (RUN_TEST_cc_c): Likewise.
51019         (RUN_TEST_f_i): Likewise.
51020         (RUN_TEST_f_i_tg): Likewise.
51021         (RUN_TEST_ff_i_tg): Likewise.
51022         (RUN_TEST_f_b): Likewise.
51023         (RUN_TEST_f_b_tg): Likewise.
51024         (RUN_TEST_f_l): Likewise.
51025         (RUN_TEST_f_L): Likewise.
51026         (RUN_TEST_fFF_11): Likewise.
51027         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
51028         conditionals.
51029         (cosh_test_data): Likewise.
51030         (exp_test_data): Likewise.
51031         (expm1_test_data): Likewise.
51032         (hypot_test_data): Likewise.
51033         (pow_test_data): Likewise.
51034         (sinh_test_data): Likewise.
51035         (tanh_test_data): Likewise.
51036         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
51037         flags argument.
51039         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
51040         tests with quiet NaN input and output.
51041         (acosh_test_data): Likewise.
51042         (asin_test_data): Likewise.
51043         (asinh_test_data): Likewise.
51044         (atan_test_data): Likewise.
51045         (atanh_test_data): Likewise.
51046         (atan2_test_data): Likewise.
51047         (cbrt_test_data): Likewise.
51048         (cos_test_data): Likewise.
51049         (cosh_test_data): Likewise.
51050         (erf_test_data): Likewise.
51051         (erfc_test_data): Likewise.
51052         (exp_test_data): Likewise.
51053         (exp10_test_data): Likewise.
51054         (exp2_test_data): Likewise.
51055         (expm1_test_data): Likewise.
51056         (hypot_test_data): Likewise.
51057         (j0_test_data): Likewise.
51058         (j1_test_data): Likewise.
51059         (jn_test_data): Likewise.
51060         (lgamma_test_data): Likewise.
51061         (log_test_data): Likewise.
51062         (log10_test_data): Likewise.
51063         (log1p_test_data): Likewise.
51064         (log2_test_data): Likewise.
51065         (pow_test_data): Likewise.
51066         (scalb_test_data): Likewise.
51067         (sin_test_data): Likewise.
51068         (sincos_test_data): Likewise.
51069         (sinh_test_data): Likewise.
51070         (tan_test_data): Likewise.
51071         (tanh_test_data): Likewise.
51072         (tgamma_test_data): Likewise.
51073         (y0_test_data): Likewise.
51074         (y1_test_data): Likewise.
51075         (yn_test_data): Likewise.
51077         [BZ #16167]
51078         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
51079         argument being NaN and avoid computations with second argument in
51080         that case.
51081         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51082         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
51083         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51085 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
51087         * locale/iso-639.def: Add Chitwani Tharu (the).
51089 2013-11-14  Andreas Schwab  <schwab@suse.de>
51091         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
51092         word instead of empty string.
51094 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51097         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
51098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51099         (__fe_nomask_env): Likewise.
51101 2013-11-13  Steve Ellcey  <sellcey@mips.com>
51103         * benchtests/bench-timing.h: Include time.h.
51105 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
51107         [BZ #15997]
51108         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
51109         to 3.4.0 for x32.
51110         * sysdeps/unix/sysv/linux/configure: Regenerated.
51112 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
51114         [BZ #16151]
51115         * stdlib/strtod_l.c (round_and_return): Do not consider
51116         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51117         exponent one less than half the least subnormal exponent.
51118         * stdlib/test-strtod-round-data: Add more tests.
51119         * stdlib/tst-strtod-round.c (tests): Regenerated.
51121 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51123         [BZ #14143]
51124         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51125         (__fe_mask_env): Likewise.
51126         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51127         libm_hidden_proto and add function prototype.
51128         (__fe_mask_env): Add function prototype.
51129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51130         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51132         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51134         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51136 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51138         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51139         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51141 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51143         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51144         of htab_find_slot().
51146 2013-11-11  David S. Miller  <davem@davemloft.net>
51148         [BZ #16150]
51149         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51150         symbol in the non-vis3 case in static builds.
51151         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51152         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51153         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51154         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51156 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
51158         [BZ #387]
51159         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51160         it is empty.
51162 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51164         * benchtests/Makefile: Add bench-strtod.
51165         * benchtests/bench-strtod.c: New file: strtod benchtest
51167 2013-11-11  Andreas Schwab  <schwab@suse.de>
51169         [BZ #16153]
51170         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51171         terminating NUL in key length.
51173 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51175         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51176         Add artificial ODP entry for vDSO symbol for PPC64.
51177         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51178         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51180 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
51182         [BZ #15374]
51183         * nss/getent.c (services_keys): Recognize services starting with digit.
51185 2013-11-06  David S. Miller  <davem@davemloft.net>
51187         [BZ #15985]
51188         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51189         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51191 2013-11-06  Will Newton  <will.newton@linaro.org>
51193         * manual/memory.texi (Malloc Examples): Remove register
51194         keyword from examples.
51196 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
51198         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51200 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
51202         [BZ #6981]
51203         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51204         depending on [__GCC_IEC_559 > 0].
51205         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51206         depending on [__GCC_IEC_559_COMPLEX > 0].
51208 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
51210         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51211         to iso-639.def.
51213 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
51215         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51217 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
51219         [BZ #16112]
51220         * malloc/malloc (malloc_info): Do not handle first bin as
51221         special case.
51223 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
51225         * locale/iso-639.def: Add Central Nahuatl (nhn).
51227 2013-11-01  Bruno Haible  <bruno@clisp.org>
51229         [BZ #7003]
51230         * manual/math.texi (BSD Random): Specify range upper bound as
51231         in POSIX.
51233 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
51235         * locale/iso-639.def: Add Meadow Mari (mhr).
51237 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
51239         [BZ #14752], [BZ #15763]
51240         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51241         Validate name.
51242         * rt/tst_shm.c: Add test for escaping directory.
51244 2013-10-31  Andreas Schwab  <schwab@suse.de>
51246         [BZ #15917]
51247         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51248         followed by 'x' as part of digit sequence.
51249         * stdio-common/tst-sscanf.c (double_tests2): New tests.
51251 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51253         [BZ #16037]
51254         * configure.ac: allow GNU Make 4.0 and greater.
51255         * configure: Regenerated.
51257 2013-10-30  Will Newton  <will.newton@linaro.org>
51259         [BZ #16038]
51260         * malloc/hooks.c (memalign_check): Limit alignment to the
51261         maximum representable power of two.
51262         * malloc/malloc.c (__libc_memalign): Likewise.
51263         * malloc/tst-memalign.c (do_test): Add test for very
51264         large alignment values.
51265         * malloc/tst-posix_memalign.c (do_test): Likewise.
51267 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51269         [BZ #11087]
51270         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51271         (munmap_chunk): Likewise.
51272         (mremap_chunk): Likewise.
51274 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51276         [BZ #15799]
51277         * stdlib/div.c (div): Remove obsolete code.
51278         * stdlib/ldiv.c (ldiv): Likewise.
51279         * stdlib/lldiv.c (lldiv): Likewise.
51281 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51283         [BZ #16071]
51284         * nss/nss_files/files-XXX.c (get_contents_ret): New
51285         enumerator.
51286         (get_contents): New function.
51287         (internal_getent): Use it.  Expand size of LINEBUFLEN.
51289 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
51291         * configure.in: Moved to ...
51292         * configure.ac: ... here. Change reference to configure.in
51293         to configure.ac.
51294         * sysdeps/arm/preconfigure.ac: ... here.
51295         configure.in to configure.ac.
51296         * sysdeps/gnu/configure.in: Moved to ...
51297         * sysdeps/gnu/configure.ac: ... here.
51298         * sysdeps/i386/configure.in: Moved to ...
51299         * sysdeps/i386/configure.ac: ... here.
51300         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51301         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51302         * sysdeps/mach/configure.in: Moved to ...
51303         * sysdeps/mach/configure.ac: ... here.
51304         * sysdeps/mach/hurd/configure.in: Moved to ...
51305         * sysdeps/mach/hurd/configure.ac: ... here.
51306         * sysdeps/powerpc/configure.in: Moved to ...
51307         * sysdeps/powerpc/configure.ac: ... here.
51308         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51309         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51310         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51311         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51312         * sysdeps/s390/s390-32/configure.in: Moved to ...
51313         * sysdeps/s390/s390-32/configure.ac: ... here.
51314         * sysdeps/s390/s390-64/configure.in: Moved to ...
51315         * sysdeps/s390/s390-64/configure.ac: ... here.
51316         * sysdeps/sh/configure.in: Moved to ...
51317         * sysdeps/sh/configure.ac: ... here.
51318         * sysdeps/sparc/configure.in: Moved to ...
51319         * sysdeps/sparc/configure.ac: ... here.
51320         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51321         * sysdeps/unix/sysv/linux/configure.ac: ... here.
51322         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51323         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51324         * sysdeps/x86_64/configure.in: Moved to ...
51325         * sysdeps/x86_64/configure.ac: ... here.
51326         * sysdeps/x86_64/preconfigure.in: Moved to ...
51327         * sysdeps/x86_64/preconfigure.ac: ... here.
51328         * aclocal.m4: Change reference to configure.in to configure.ac.
51329         * config.h.in: Likewise.
51330         * manual/install.texi: Likewise.
51331         * manual/maint.texi: Likewise.
51332         * Makefile: Likewise.
51333         * malloc/Makefile: Likewise.
51334         * nscd/Makefile: Likewise.
51335         * Makeconfig: Change reference to configure.in and
51336         preconfigure.in to configure.ac and preconfigure.ac
51337         respectively.
51338         * INSTALL: Regenerated.
51339         * configure: Likewise.
51340         * sysdeps/gnu/configure: Likewise.
51341         * sysdeps/i386/configure: Likewise.
51342         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51343         * sysdeps/mach/configure: Likewise.
51344         * sysdeps/mach/hurd/configure: Likewise.
51345         * sysdeps/powerpc/configure: Likewise.
51346         * sysdeps/powerpc/powerpc32/configure: Likewise.
51347         * sysdeps/powerpc/powerpc64/configure: Likewise.
51348         * sysdeps/s390/s390-32/configure: Likewise.
51349         * sysdeps/s390/s390-64/configure: Likewise.
51350         * sysdeps/sh/configure: Likewise.
51351         * sysdeps/sparc/configure: Likewise.
51352         * sysdeps/unix/sysv/linux/configure: Likewise.
51353         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51354         * sysdeps/x86_64/configure: Likewise.
51355         * sysdeps/x86_64/preconfigure: Likewise.
51357 2013-10-29  Andreas Schwab  <schwab@suse.de>
51359         * stdio-common/Makefile (tst-swscanf-ENV): Define.
51361 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51363         * benchtests/pow-inputs: Add new inputs.
51365         * benchtests/exp-inputs: Add new inputs.
51367         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51368         conditional check for return value.
51369         (__cos32): Likewise.
51371 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51373         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51374         to provide a boost for large inputs with word alignment.
51375         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51376         implementation based on optimized PPC64 strcpy.
51377         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51378         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51379         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51380         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51382 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51384         [BZ #2801]
51385         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51387 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51389         [BZ #14876]
51390         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51391         * time/tst-strptime.c (day_tests): Add testcase.
51393 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51395         [BZ #14029]
51396         * manual/pattern.texi: Acknowledge that fnmatch can fail.
51398 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
51400         [BZ #16074]
51401         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51402         MAP_FAILED on error.
51404 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51406         [BZ #16072]
51407         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51408         heap for large requests.
51410 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
51412         [BZ #9954]
51413         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51414         result if the result has no associated interface.
51415         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51416         interface for all 127.X.Y.Z addresses.
51418 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
51420         * locale/iso-639.def: Add Ligurian (lij)
51422 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
51424         [BZ #15825]
51425         * sunrpc/rpc_main.c: Document rpcgen -5.
51427 2013-10-19  Michael Stahl  <mstahl@redhat.com>
51429         * elf/rtld.c (do_preload): Print the reason why preloading failed.
51431 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51433         [BZ #10278]
51434         * posix/glob.c: Match only directories when trailing slash is present.
51435         * posix/tst-gnuglob.c (my_opendir): Do not open files.
51436         (main): Add testcase.
51438 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51440         [BZ #15670]
51441         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51443 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
51445         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51446         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51447         AUTH_DES and cindex for FIPS 140-2.
51448         (DES Encryption): Add cindex FIPS 46-3.
51450         * locale/locarchive.h (struct locarhandle): Add fname.
51451         * locale/programs/localedef.c (main): Pass ARGV[remaining]
51452         if an optional argument was specified to --list-archive,
51453         otherwise NULL.
51454         * locale/programs/locarchive.c (show_archive_content): Take new
51455         argument fname and pass it via ah.fname to open_archive.
51456         * locale/programs/localedef.h: Update decl.
51457         (open_archive): If AH->fname is non-null, open that file
51458         rather than the default file name, and don't ignore ENOENT.
51459         (create_archive): Set AH.fname to NULL.
51460         (delete_locales_from_archive): Likewise.
51461         (add_locales_to_archive): Likewise.
51462         * locale/programs/locfile.c (write_all_categories): Likewise.
51464 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
51465             Aldy Hernandez  <aldyh@redhat.com>
51467         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51468         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51469         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51470         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51471         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51472         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51473         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51474         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51475         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51476         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51477         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51478         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51479         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51480         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51481         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51482         Likewise.
51483         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51484         Likewise.
51485         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51486         Likewise.
51487         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51488         Likewise.
51489         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51490         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51491         Likewise.
51492         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51493         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51494         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51495         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51496         Likewise.
51497         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51498         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51499         * sysdeps/powerpc/preconfigure: Likewise.
51500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51501         Likewise.
51502         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51503         Replace contents of file by #include of <fenv_libc.h>.
51504         * sysdeps/powerpc/soft-fp/sfp-machine.h
51505         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51506         and <sys/prctl.h>.
51507         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51508         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51509         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51510         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51511         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51512         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51520         Allow copysignl PLT reference to be missing.
51522 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
51523             Joseph Myers  <joseph@codesourcery.com
51525         [BZ #15948]
51526         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51527         single character.
51528         (add_to_tablewc): Assert sequence of wide characters is nonempty.
51530 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51532         * elf/tst-tls-dlinfo.c: Don't include tls.h.
51533         * elf/tst-tls1.c: Likewise.
51534         * elf/tst-tls10.h: Likewise.
51535         * elf/tst-tls14.c: Likewise.
51536         * elf/tst-tls2.c: Likewise.
51537         * elf/tst-tls3.c: Likewise.
51538         * elf/tst-tls4.c: Likewise.
51539         * elf/tst-tls5.c: Likewise.
51540         * elf/tst-tls6.c: Likewise.
51541         * elf/tst-tls7.c: Likewise.
51542         * elf/tst-tls8.c: Likewise.
51543         * elf/tst-tls9.c: Likewise.
51544         * elf/tst-tlsmod1.c: Likewise.
51545         * elf/tst-tlsmod13.c: Likewise.
51546         * elf/tst-tlsmod13a.c: Likewise.
51547         * elf/tst-tlsmod14a.c: Likewise.
51548         * elf/tst-tlsmod16a.c: Likewise.
51549         * elf/tst-tlsmod16b.c: Likewise.
51550         * elf/tst-tlsmod2.c: Likewise.
51551         * elf/tst-tlsmod3.c: Likewise.
51552         * elf/tst-tlsmod4.c: Likewise.
51553         * elf/tst-tlsmod5.c: Likewise.
51554         * elf/tst-tlsmod6.c: Likewise.
51556 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
51558         [BZ #12486]
51559         * malloc/malloc.c: remove checks for statistics.
51561 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51563         [BZ #15277]
51564         * inet/inet_net.c (inet_network): Detect additional invalid strings.
51565         * inet/tst-network.c: Add testcase.
51567 2013-10-17  Andreas Schwab  <schwab@suse.de>
51569         [BZ #15218]
51570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51571         to determine canonical name.
51573 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51575         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51576         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51577         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51578         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51579         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51580         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51581         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51582         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51583         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51584         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51585         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51586         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51587         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51588         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51589         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51590         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51591         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51592         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51593         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51594         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51595         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51596         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51597         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51598         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51599         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51600         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51601         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51602         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51603         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51604         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51605         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51606         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51607         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51608         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51609         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51610         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51611         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51612         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51613         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51614         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51615         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51616         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51617         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51618         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51619         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51620         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51621         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51622         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51623         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51624         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51625         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51626         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51627         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51628         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51629         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51630         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51631         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51632         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51634 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
51636         [BZ #16041]
51637         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51638         make result into a quiet NaN.
51640 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
51642         * soft-fp/adddf3.c: Fix horizontal whitespace.
51643         * soft-fp/addsf3.c: Likewise.
51644         * soft-fp/addtf3.c: Likewise.
51645         * soft-fp/divdf3.c: Likewise.
51646         * soft-fp/divsf3.c: Likewise.
51647         * soft-fp/divtf3.c: Likewise.
51648         * soft-fp/double.h: Likewise.
51649         * soft-fp/eqdf2.c: Likewise.
51650         * soft-fp/eqsf2.c: Likewise.
51651         * soft-fp/eqtf2.c: Likewise.
51652         * soft-fp/extenddftf2.c: Likewise.
51653         * soft-fp/extended.h: Likewise.
51654         * soft-fp/extendsfdf2.c: Likewise.
51655         * soft-fp/extendsftf2.c: Likewise.
51656         * soft-fp/extendxftf2.c: Likewise.
51657         * soft-fp/fixdfdi.c: Likewise.
51658         * soft-fp/fixdfsi.c: Likewise.
51659         * soft-fp/fixdfti.c: Likewise.
51660         * soft-fp/fixsfdi.c: Likewise.
51661         * soft-fp/fixsfsi.c: Likewise.
51662         * soft-fp/fixsfti.c: Likewise.
51663         * soft-fp/fixtfdi.c: Likewise.
51664         * soft-fp/fixtfsi.c: Likewise.
51665         * soft-fp/fixtfti.c: Likewise.
51666         * soft-fp/fixunsdfdi.c: Likewise.
51667         * soft-fp/fixunsdfsi.c: Likewise.
51668         * soft-fp/fixunsdfti.c: Likewise.
51669         * soft-fp/fixunssfdi.c: Likewise.
51670         * soft-fp/fixunssfsi.c: Likewise.
51671         * soft-fp/fixunssfti.c: Likewise.
51672         * soft-fp/fixunstfdi.c: Likewise.
51673         * soft-fp/fixunstfsi.c: Likewise.
51674         * soft-fp/fixunstfti.c: Likewise.
51675         * soft-fp/floatdidf.c: Likewise.
51676         * soft-fp/floatdisf.c: Likewise.
51677         * soft-fp/floatditf.c: Likewise.
51678         * soft-fp/floatsidf.c: Likewise.
51679         * soft-fp/floatsisf.c: Likewise.
51680         * soft-fp/floatsitf.c: Likewise.
51681         * soft-fp/floattidf.c: Likewise.
51682         * soft-fp/floattisf.c: Likewise.
51683         * soft-fp/floattitf.c: Likewise.
51684         * soft-fp/floatundidf.c: Likewise.
51685         * soft-fp/floatundisf.c: Likewise.
51686         * soft-fp/floatunditf.c: Likewise.
51687         * soft-fp/floatunsidf.c: Likewise.
51688         * soft-fp/floatunsisf.c: Likewise.
51689         * soft-fp/floatunsitf.c: Likewise.
51690         * soft-fp/floatuntidf.c: Likewise.
51691         * soft-fp/floatuntisf.c: Likewise.
51692         * soft-fp/floatuntitf.c: Likewise.
51693         * soft-fp/fmadf4.c: Likewise.
51694         * soft-fp/fmasf4.c: Likewise.
51695         * soft-fp/fmatf4.c: Likewise.
51696         * soft-fp/gedf2.c: Likewise.
51697         * soft-fp/gesf2.c: Likewise.
51698         * soft-fp/getf2.c: Likewise.
51699         * soft-fp/ledf2.c: Likewise.
51700         * soft-fp/lesf2.c: Likewise.
51701         * soft-fp/letf2.c: Likewise.
51702         * soft-fp/muldf3.c: Likewise.
51703         * soft-fp/mulsf3.c: Likewise.
51704         * soft-fp/multf3.c: Likewise.
51705         * soft-fp/negdf2.c: Likewise.
51706         * soft-fp/negsf2.c: Likewise.
51707         * soft-fp/negtf2.c: Likewise.
51708         * soft-fp/op-1.h: Likewise.
51709         * soft-fp/op-2.h: Likewise.
51710         * soft-fp/op-4.h: Likewise.
51711         * soft-fp/op-8.h: Likewise.
51712         * soft-fp/op-common.h: Likewise.
51713         * soft-fp/quad.h: Likewise.
51714         * soft-fp/single.h: Likewise.
51715         * soft-fp/soft-fp.h: Likewise.
51716         * soft-fp/sqrtdf2.c: Likewise.
51717         * soft-fp/sqrtsf2.c: Likewise.
51718         * soft-fp/sqrttf2.c: Likewise.
51719         * soft-fp/subdf3.c: Likewise.
51720         * soft-fp/subsf3.c: Likewise.
51721         * soft-fp/subtf3.c: Likewise.
51722         * soft-fp/truncdfsf2.c: Likewise.
51723         * soft-fp/trunctfdf2.c: Likewise.
51724         * soft-fp/trunctfsf2.c: Likewise.
51725         * soft-fp/trunctfxf2.c: Likewise.
51726         * soft-fp/unorddf2.c: Likewise.
51727         * soft-fp/unordsf2.c: Likewise.
51728         * soft-fp/unordtf2.c: Likewise.
51730 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
51732         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51733         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51735 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
51737         * elf/dl-libc.c: Clear initfini list after freeing.
51739 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
51741         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51742         * soft-fp/addsf3.c: Likewise.
51743         * soft-fp/addtf3.c: Likewise.
51744         * soft-fp/divdf3.c: Likewise.
51745         * soft-fp/divsf3.c: Likewise.
51746         * soft-fp/divtf3.c: Likewise.
51747         * soft-fp/double.h: Likewise.
51748         * soft-fp/eqdf2.c: Likewise.
51749         * soft-fp/eqsf2.c: Likewise.
51750         * soft-fp/eqtf2.c: Likewise.
51751         * soft-fp/extenddftf2.c: Likewise.
51752         * soft-fp/extended.h: Likewise.
51753         * soft-fp/extendsfdf2.c: Likewise.
51754         * soft-fp/extendsftf2.c: Likewise.
51755         * soft-fp/extendxftf2.c: Likewise.
51756         * soft-fp/fixdfdi.c: Likewise.
51757         * soft-fp/fixdfsi.c: Likewise.
51758         * soft-fp/fixdfti.c: Likewise.
51759         * soft-fp/fixsfdi.c: Likewise.
51760         * soft-fp/fixsfsi.c: Likewise.
51761         * soft-fp/fixsfti.c: Likewise.
51762         * soft-fp/fixtfdi.c: Likewise.
51763         * soft-fp/fixtfsi.c: Likewise.
51764         * soft-fp/fixtfti.c: Likewise.
51765         * soft-fp/fixunsdfdi.c: Likewise.
51766         * soft-fp/fixunsdfsi.c: Likewise.
51767         * soft-fp/fixunsdfti.c: Likewise.
51768         * soft-fp/fixunssfdi.c: Likewise.
51769         * soft-fp/fixunssfsi.c: Likewise.
51770         * soft-fp/fixunssfti.c: Likewise.
51771         * soft-fp/fixunstfdi.c: Likewise.
51772         * soft-fp/fixunstfsi.c: Likewise.
51773         * soft-fp/fixunstfti.c: Likewise.
51774         * soft-fp/floatdidf.c: Likewise.
51775         * soft-fp/floatdisf.c: Likewise.
51776         * soft-fp/floatditf.c: Likewise.
51777         * soft-fp/floatsidf.c: Likewise.
51778         * soft-fp/floatsisf.c: Likewise.
51779         * soft-fp/floatsitf.c: Likewise.
51780         * soft-fp/floattidf.c: Likewise.
51781         * soft-fp/floattisf.c: Likewise.
51782         * soft-fp/floattitf.c: Likewise.
51783         * soft-fp/floatundidf.c: Likewise.
51784         * soft-fp/floatundisf.c: Likewise.
51785         * soft-fp/floatunsidf.c: Likewise.
51786         * soft-fp/floatunsisf.c: Likewise.
51787         * soft-fp/floatuntidf.c: Likewise.
51788         * soft-fp/floatuntisf.c: Likewise.
51789         * soft-fp/floatuntitf.c: Likewise.
51790         * soft-fp/fmadf4.c: Likewise.
51791         * soft-fp/fmasf4.c: Likewise.
51792         * soft-fp/fmatf4.c: Likewise.
51793         * soft-fp/gedf2.c: Likewise.
51794         * soft-fp/gesf2.c: Likewise.
51795         * soft-fp/getf2.c: Likewise.
51796         * soft-fp/ledf2.c: Likewise.
51797         * soft-fp/lesf2.c: Likewise.
51798         * soft-fp/letf2.c: Likewise.
51799         * soft-fp/muldf3.c: Likewise.
51800         * soft-fp/mulsf3.c: Likewise.
51801         * soft-fp/multf3.c: Likewise.
51802         * soft-fp/negdf2.c: Likewise.
51803         * soft-fp/negsf2.c: Likewise.
51804         * soft-fp/negtf2.c: Likewise.
51805         * soft-fp/op-1.h: Likewise.
51806         * soft-fp/op-2.h: Likewise.
51807         * soft-fp/op-4.h: Likewise.
51808         * soft-fp/op-8.h: Likewise.
51809         * soft-fp/op-common.h: Likewise.
51810         * soft-fp/quad.h: Likewise.
51811         * soft-fp/single.h: Likewise.
51812         * soft-fp/soft-fp.h: Likewise.
51813         * soft-fp/sqrtdf2.c: Likewise.
51814         * soft-fp/sqrtsf2.c: Likewise.
51815         * soft-fp/sqrttf2.c: Likewise.
51816         * soft-fp/subdf3.c: Likewise.
51817         * soft-fp/subsf3.c: Likewise.
51818         * soft-fp/subtf3.c: Likewise.
51819         * soft-fp/truncdfsf2.c: Likewise.
51820         * soft-fp/trunctfdf2.c: Likewise.
51821         * soft-fp/trunctfsf2.c: Likewise.
51822         * soft-fp/trunctfxf2.c: Likewise.
51823         * soft-fp/unorddf2.c: Likewise.
51824         * soft-fp/unordsf2.c: Likewise.
51825         * soft-fp/unordtf2.c: Likewise.
51827 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
51829         [BZ #15672]
51830         * misc/error.c (error_tail): Fix possible buffer overflow.
51832 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
51834         [BZ #13028]
51835         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51836         address.
51838 2013-10-14  P. J. McDermott  <pj@pehjota.net>
51840         [BZ #832]
51841         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
51842         testing pipefail option.
51844 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51846         * soft-fp/double.h: Indent preprocessor directives inside #if.
51847         * soft-fp/extended.h: Likewise.
51848         * soft-fp/op-2.h: Likewise.
51849         * soft-fp/op-4.h: Likewise.
51850         * soft-fp/op-common.h: Likewise.
51851         * soft-fp/quad.h: Likewise.
51852         * soft-fp/single.h: Likewise.
51853         * soft-fp/soft-fp.h: Likewise.
51855 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
51857         * iconv/iconv_prog.c: Fix typos.
51858         * stdio-common/psiginfo-data.h: Likewise.
51860 2013-10-12   Reuben Thomas <rrt@sc3d.org>
51862         [BZ #15764]
51863         * locale/setlocale.c: Fix typo.
51865 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51867         [BZ #16036]
51868         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51869         signaling NaN arguments.
51870         * soft-fp/unordsf2.c (__unordsf2): Likewise.
51871         * soft-fp/unordtf2.c (__unordtf2): Likewise.
51873         [BZ #14910]
51874         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51875         unordered operands.
51876         * soft-fp/gesf2.c (__gesf2): Likewise.
51877         * soft-fp/getf2.c (__getf2): Likewise.
51878         * soft-fp/ledf2.c (__ledf2): Likewise.
51879         * soft-fp/lesf2.c (__lesf2): Likewise.
51880         * soft-fp/letf2.c (__letf2): Likewise.
51882         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51883         * soft-fp/eqsf2.c (__eqsf2): Likewise.
51884         * soft-fp/eqtf2.c (__eqtf2): Likewise.
51885         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51886         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51887         * soft-fp/fixdfti.c (__fixdfti): Likewise.
51888         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51889         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51890         * soft-fp/fixsfti.c (__fixsfti): Likewise.
51891         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51892         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51893         * soft-fp/fixtfti.c (__fixtfti): Likewise.
51894         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51895         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51896         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51897         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51898         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51899         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51900         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51901         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51902         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51903         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51904         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51905         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51906         * soft-fp/floattidf.c (__floattidf): Likewise.
51907         * soft-fp/floattisf.c (__floattisf): Likewise.
51908         * soft-fp/floattitf.c (__floattitf): Likewise.
51909         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51910         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51911         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51912         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51913         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51914         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51915         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51916         * soft-fp/gesf2.c (__gesf2): Likewise.
51917         * soft-fp/getf2.c (__getf2): Likewise.
51918         * soft-fp/ledf2.c (__ledf2): Likewise.
51919         * soft-fp/lesf2.c (__lesf2): Likewise.
51920         * soft-fp/letf2.c (__letf2): Likewise.
51922         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51923         Undefine and redefine.
51924         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51925         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51926         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51927         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51928         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51929         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51930         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51931         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51932         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51933         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51934         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51935         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51936         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51937         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51938         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51940         [BZ #16032]
51941         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51942         without decrementing exponent if mantissa >= that for the
51943         denominator, not >.
51944         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51945         denominator, not >.  Decrement exponent in < case instead of
51946         incrementing in >= case.
51947         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51948         without decrementing exponent if mantissa >= that for the
51949         denominator, not >.
51951         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51952         computing saturated result for unsigned overflow.
51954 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51955             Jeff Law  <law@redhat.com>
51957         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51958         (atan2Mp): Add systemtap probe marker.
51959         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51960         (__ieee754_log): Add systemtap probe marker.
51961         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51962         (atanMp): Add systemtap probe marker.
51963         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51964         (tanMp): Add systemtap probe marker.
51965         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51966         (__slowexp): Add systemtap probe marker.
51967         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51968         (__slowpow): Add systemtap probe marker.
51969         * manual/probes.texi: Document probes.
51971 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51973         [BZ #15362]
51974         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51975         written.
51976         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51977         written.
51978         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51979         written to buffer but not flushed.
51980         * libio/iofwrite_u.c:  Likewise.
51981         * libio/iopadn.c:  Return bytes returned even if EOF was
51982         encountered.
51983         * libio/iowpadn.c:  Likewise.
51984         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51985         if _IO_padn does not write the whole buffer.
51986         [!COMPILE_WPRINTF] (PAD): Likewise.
51988 2013-10-10  David S. Miller  <davem@davemloft.net>
51990         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51991         directory block.
51993 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51995         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51996         instead of FSF address.
51997         * soft-fp/fixdfti.c: Likewise.
51998         * soft-fp/fixsfti.c: Likewise.
51999         * soft-fp/fixtfti.c: Likewise.
52000         * soft-fp/fixunsdfti.c: Likewise.
52001         * soft-fp/fixunssfti.c: Likewise.
52002         * soft-fp/fixunstfti.c: Likewise.
52003         * soft-fp/floattidf.c: Likewise.
52004         * soft-fp/floattisf.c: Likewise.
52005         * soft-fp/floattitf.c: Likewise.
52006         * soft-fp/floatuntidf.c: Likewise.
52007         * soft-fp/floatuntisf.c: Likewise.
52008         * soft-fp/floatuntitf.c: Likewise.
52009         * soft-fp/trunctfxf2.c: Likewise.
52011         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
52012         * soft-fp/fixdfti.c: Likewise.
52013         * soft-fp/fixsfti.c: Likewise.
52014         * soft-fp/fixtfti.c: Likewise.
52015         * soft-fp/fixunsdfti.c: Likewise.
52016         * soft-fp/fixunssfti.c: Likewise.
52017         * soft-fp/fixunstfti.c: Likewise.
52018         * soft-fp/floattidf.c: Likewise.
52019         * soft-fp/floattisf.c: Likewise.
52020         * soft-fp/floattitf.c: Likewise.
52021         * soft-fp/floatuntidf.c: Likewise.
52022         * soft-fp/floatuntisf.c: Likewise.
52023         * soft-fp/floatuntitf.c: Likewise.
52024         * soft-fp/trunctfxf2.c: Likewise.
52026 2013-10-10  David S. Miller  <davem@davemloft.net>
52028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52030 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
52032         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52033         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
52034         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
52035         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
52036         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
52037         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
52038         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
52040         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
52041         for NaNs before doing comparisons on argument.
52042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
52043         Likewise.
52045 2013-10-10  Will Newton  <will.newton@linaro.org>
52047         * malloc/hooks.c (memalign_check): Ensure the value of bytes
52048         passed to _int_memalign does not overflow.
52050 2013-10-10  Torvald Riegel  <triegel@redhat.com>
52052         * scripts/bench.pl: Add include-sources directive.
52053         * benchtests/README: Update documentation.
52055 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
52057         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
52058         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
52059         instead of FP_INIT_ROUNDMODE.
52060         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
52061         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
52063         [BZ #16034]
52064         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
52065         copy class of input value.
52066         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
52067         not handle exceptions.
52068         * soft-fp/negsf2.c (__negsf2): Likewise.
52069         * soft-fp/negtf2.c (__negtf2): Likewise.
52070         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
52072 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
52074         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
52075         semicolon.  From Linux kernel.
52077 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
52079         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
52081 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
52083         [BZ #156]
52084         * manual/socket.texi: Added statement about buffer
52085         for gethostbyname2_r.
52087 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
52089         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
52090         Use .p2align directive instead, throughout.
52091         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52092         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
52093         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
52094         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52095         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52096         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
52097         * sysdeps/x86_64/strchr.S: Likewise.
52098         * sysdeps/x86_64/strrchr.S: Likewise.
52100 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52102         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
52104         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
52106         * sysdeps/generic/math_private.h (__mpsin1): Remove
52107         declaration.
52108         (__mpcos1): Likewise.
52109         (__mpsin): New argument __range_reduce.
52110         (__mpcos): Likewise.
52111         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52112         (slow): Use __mpsin and __mpcos.
52113         (slow1): Likewise.
52114         (slow2): Likewise.
52115         (sloww): Likewise.
52116         (sloww1): Likewise.
52117         (sloww2): Likewise.
52118         (bsloww): Likewise.
52119         (bsloww1): Likewise.
52120         (bsloww2): Likewise.
52121         (cslow2): Likewise.
52122         (csloww): Likewise.
52123         (csloww1): Likewise.
52124         (csloww2): Likewise.
52125         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52126         range_reduce.  Merge in __mpsin1.
52127         (__mpcos): Likewise.
52128         (__mpsin1): Remove.
52129         (__mpcos1): Likewise.
52131 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
52133         * locale/loadlocale.c (_nl_intern_locale_data): Use
52134         LOCFILE_ALIGNED_P.
52135         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52136         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52137         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52138         obstack data is appropriately aligned.
52139         (obstack_int32_grow_fast): Likewise.
52140         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52141         * locale/programs/locfile.c (add_locale_uint32): Likewise.
52142         (add_locale_uint32_array): Likewise.
52144 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52146         * benchtests/Makefile: Remove ARGLIST and RET variables.
52147         ($(objpfx)bench-%.c): Pass only function name to the script.
52148         * benchtests/README: Update documentation.
52149         * benchtests/acos-inputs: Add new directives.
52150         * benchtests/acosh-inputs: Likewise.
52151         * benchtests/asin-inputs: Likewise.
52152         * benchtests/asinh-inputs: Likewise.
52153         * benchtests/atan-inputs: Likewise.
52154         * benchtests/atanh-inputs: Likewise.
52155         * benchtests/cos-inputs: Likewise.
52156         * benchtests/cosh-inputs: Likewise.
52157         * benchtests/exp-inputs: Likewise.
52158         * benchtests/log-inputs: Likewise.
52159         * benchtests/pow-inputs: Likewise.
52160         * benchtests/rint-inputs: Likewise.
52161         * benchtests/sin-inputs: Likewise.
52162         * benchtests/sinh-inputs: Likewise.
52163         * benchtests/tan-inputs: Likewise.
52164         * benchtests/tanh-inputs: Likewise.
52165         * scripts/bench.pl: Add support for new directives.
52167 2013-10-07  Alan Modra  <amodra@gmail.com>
52169         * README: Fix careless merge.
52171 2013-10-05  Alan Modra  <amodra@gmail.com>
52173         * NEWS: Mention powerpc64le support and bugs fixed.
52174         * README: Both big-endian and little-endian powerpc64 supported.
52176 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52178         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52179         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52180         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52181         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52183 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
52185         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52186         match prototype.
52188 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
52190         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52191         Move -mhard-float appending from
52192         ports/sysdeps/powerpc/powerpc32/Makefile.
52193         [$(with-fp) = yes] (ASFLAGS): Likewise.
52194         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52195         * sysdeps/powerpc/nofpu: Move directory from
52196         ports/sysdeps/powerpc/nofpu.
52197         * sysdeps/powerpc/soft-fp: Move directory from
52198         ports/sysdeps/powerpc/soft-fp.
52199         * sysdeps/powerpc/powerpc32/405: Move directory from
52200         ports/sysdeps/powerpc/powerpc32/405.
52201         * sysdeps/powerpc/powerpc32/440: Move directory from
52202         ports/sysdeps/powerpc/powerpc32/440.
52203         * sysdeps/powerpc/powerpc32/464: Move directory from
52204         ports/sysdeps/powerpc/powerpc32/464.
52205         * sysdeps/powerpc/powerpc32/476: Move directory from
52206         ports/sysdeps/powerpc/powerpc32/476.
52207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52208         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52210         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52212         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52214         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52216         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52217         * README: Update for powerpc-*-linux-gnu software floating point
52218         support in libc.
52220         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52221         case to powerpc/powerpc32*.
52222         * sysdeps/unix/sysv/linux/configure: Regenerated.
52224         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52225         (_FPU_MASK_OM): Define as 0x04.
52226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52228         0x00c10080.
52229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52230         0x0000003c.
52231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52234         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52235         getcontext_e500.
52236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52237         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52238         setcontext_e500.
52239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52240         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52241         and setcontext_e500.
52243 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
52245         * locale/iso-3166.def: Update iso-1366.def and related occurrences
52247 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52249         * manual/threads.texi (Default Thread Attributes): Fix typo.
52251 2013-10-04  Will Newton  <will.newton@linaro.org>
52253         * malloc/Makefile: Add tst-memalign.
52254         * malloc/tst-memalign.c: New file.
52256         * malloc/tst-posix_memalign.c: Add comments.
52257         (do_test): Add comments and call free on all potentially
52258         allocated pointers. Add space after cast.
52260         * malloc/tst-pvalloc.c: Add comments.
52261         (do_test): Add comments and call free on all potentially
52262         allocated pointers. Remove duplicate check for NULL pointer.
52263         Add space after cast.
52265         * malloc/tst-valloc.c: Add comments.
52266         (do_test): Add comments and call free on all potentially
52267         allocated pointers. Remove duplicate check for NULL pointer.
52268         Add space after cast.
52270 2013-10-04  Alan Modra  <amodra@gmail.com>
52272         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52273         Use stdint types in rather than __attribute__((mode())).
52274         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52276 2013-10-04  Alan Modra  <amodra@gmail.com>
52278         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52279         Correct handling of unaligned relocs for little-endian.
52280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52282 2013-10-04  Alan Modra  <amodra@gmail.com>
52284         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52285         * configure: Regenerate.
52286         * nptl/shlib-versions: Powerpc*le starts at 2.18.
52287         * shlib-versions: Likewise.
52289 2013-10-04  Alan Modra  <amodra@gmail.com>
52291         * string/tester.c (test_memrchr): Increment reported test cycle.
52293 2013-10-04  Alan Modra  <amodra@gmail.com>
52295         * string/test-memcpy.c (do_one_test): When reporting errors, print
52296         string address and don't overrun end of string.
52298 2013-10-04  Alan Modra  <amodra@gmail.com>
52300         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52301         insrdi.  Make better use of reg selection to speed exit slightly.
52302         Schedule entry path a little better.  Remove useless "are we done"
52303         checks on entry to main loop.  Handle wrapping around zero address.
52304         Correct main loop count.  Handle single left-over word from main
52305         loop inline rather than by using loop_small.  Remove extra word
52306         case in loop_small caused by wrong loop count.  Add little-endian
52307         support.
52308         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52309         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
52310         cache hint.
52311         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52312         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52313         support.  Avoid rlwimi.
52314         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52316 2013-10-04  Alan Modra  <amodra@gmail.com>
52318         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52319         insrdi.  Formatting.
52320         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52321         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52322         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52323         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52324         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52325         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52327 2013-10-04  Alan Modra  <amodra@gmail.com>
52329         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52330         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52331         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52332         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52333         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52334         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52336         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52337         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
52338         use of regs.  Use power7 mtocrf.  Tidy function tails.
52340 2013-10-04  Alan Modra  <amodra@gmail.com>
52342         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52343         Formatting.  Consistently use rXXX register defines or rN defines.
52344         Use early exit labels that avoid restoring unused non-volatile regs.
52345         Make cr field use more consistent with rWORDn compares.  Rename
52346         regs used as shift registers for unaligned loop, using rN defines
52347         for short lifetime/multiple use regs.
52348         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52349         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
52350         addi 1,1,64 to pop stack frame.  Simplify return value code.
52351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52353 2013-10-04  Alan Modra  <amodra@gmail.com>
52355         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52356         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
52357         rather than rlwimi.
52358         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52359         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52360         little-endian support.  Correct typos.
52361         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
52362         rather than rlwimi.
52363         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
52364         in loop and entry code to keep "and." results.
52365         (strchr): Add little-endian support.  Comment.  Move cntlzd
52366         earlier in tail.
52367         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52369 2013-10-04  Alan Modra  <amodra@gmail.com>
52371         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52372         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52373         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52374         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52376 2013-10-04  Alan Modra  <amodra@gmail.com>
52378         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52379         (rTMP): Define as r11.
52380         (strcmp): Add little-endian support.  Optimise tail.
52381         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52382         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52383         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52384         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52385         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52386         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52389 2013-10-04  Alan Modra  <amodra@gmail.com>
52391         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52392         little-endian support.  Remove unnecessary "are we done" tests.
52393         Handle "s" wrapping around zero and extremely large "size".
52394         Correct main loop count.  Handle single left-over word from main
52395         loop inline rather than by using small_loop.  Correct comments.
52396         Delete "zero" tail, use "end_max" instead.
52397         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52399 2013-10-04  Alan Modra  <amodra@gmail.com>
52401         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52402         support.  Don't branch over align.
52403         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52404         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52405         support.  Rearrange tmp reg use to suit.  Comment.
52406         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52408 2013-10-04  Alan Modra  <amodra@gmail.com>
52410         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52412 2013-10-04  Alan Modra  <amodra@gmail.com>
52414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52415         conditional form of branch and link when obtaining pc.
52416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52418 2013-10-04  Alan Modra  <amodra@gmail.com>
52420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52421         HIWORD/LOWORD.
52422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52425 2013-10-04  Alan Modra  <amodra@gmail.com>
52427         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52428         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52429         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52430         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52431         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52432         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52433         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52434         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52435         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52436         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52439             Alistair Popple <alistair@ozlabs.au.ibm.com>
52440             Alan Modra <amodra@gmail.com>
52442         [BZ #15723]
52443         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52444         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52445         _dl_hwcap access for little-endian.
52446         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
52447         destroy vmx regs when saving unaligned.
52448         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52449         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
52450         destroy vmx regs when saving unaligned.
52452 2013-10-04  Alan Modra  <amodra@gmail.com>
52454         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52455         Don't use a union to pack hi/low value.
52457 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52459         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52460         for little-endian.
52461         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52462         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52463         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52464         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52465         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52467 2013-10-04  Alan Modra  <amodra@gmail.com>
52469         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52470         constants to usual value for .cst8 section, and remove redundant
52471         high address load.
52472         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52473         constant for 0x1p52.  Load little-endian words of double from
52474         correct stack offsets.
52476 2013-10-04  Alan Modra  <amodra@gmail.com>
52478         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52479         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52480         words of double from correct stack offsets.
52481         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52482         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52483         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52484         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52485         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52486         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52487         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52488         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52489         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52490         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52491         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52492         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52493         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52494         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52495         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52496         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52497         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52499 2013-10-04  Alan Modra  <amodra@gmail.com>
52501         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52502         64-bit int/double union.
52503         (_FPU_SETCW): Likewise.
52504         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52505         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52507 2013-10-04  Alan Modra  <amodra@gmail.com>
52509         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52510         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52512 2013-10-04  Alan Modra  <amodra@gmail.com>
52514         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52515         use vector int constants.
52516         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52518 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52520         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52521         array with long long.
52522         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52523         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52524         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52525         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52526         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52527         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52528         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52529         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52530         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52531         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52532         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52533         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52534         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52536 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52538         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52539         (__signbit): Likewise.  Correct for little-endian.
52540         (__signbitl): Call __signbit.
52541         (lrint): Correct for little-endian.
52542         (lrintf): Call lrint.
52544 2013-10-04  Alan Modra  <amodra@gmail.com>
52546         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52547         union 32-bit int array member with 64-bit int array.
52548         (t515, tm256): Double rather than long double.
52549         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52551 2013-10-04  Alan Modra  <amodra@gmail.com>
52553         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52554         Delete.
52555         (IEEE854_LONG_DOUBLE_BIAS): Delete.
52556         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52557         version of math_ldbl.h.
52559 2013-10-04  Alan Modra  <amodra@gmail.com>
52561         [BZ #15734], [BZ #15735]
52562         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52563         all uses of ieee875 long double macros and unions.  Simplify test
52564         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
52565         ldbl_extract_mantissa value for ix,iy exponents.  Properly
52566         normalize after ldbl_extract_mantissa, and don't add hidden bit
52567         already handled.  Don't treat low word of ieee854 mantissa like
52568         low word of IBM long double and mask off bit when testing for
52569         zero.
52570         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52571         all uses of ieee875 long double macros and unions.  Simplify tests
52572         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
52573         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
52574         two1022, instead use their values.  Recognise that tests for large
52575         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
52576         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52577         Rewrite all uses of ieee875 long double macros and unions.  Simplify
52578         test for 0.0L and nan.  Correct negation.
52579         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52580         ieee875 long double macros and unions.  Correct output for large
52581         magnitude x.  Correct absolute value calculation.
52582         (__erfcl): Likewise.
52583         * math/libm-test.inc: Add tests for errors discovered in IBM long
52584         double versions of fmodl, remainderl, erfl and erfcl.
52586 2013-10-04  Alan Modra  <amodra@gmail.com>
52588         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52589         all uses of ieee854 long double macros and unions.  Simplify tests
52590         for long doubles that are fully specified by the high double.
52591         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52592         Likewise.
52593         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52594         Remove dead code too.
52595         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52596         (__ieee754_ynl): Likewise.
52597         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52598         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52599         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52600         Remove dead code too.
52601         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52602         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52603         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52604         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52605         Simplify.
52606         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52607         Simplify.
52608         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52609         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52610         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52611         Comment on variable precision.
52612         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52613         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52614         Likewise.
52615         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52616         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52617         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52618         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52619         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52621 2013-10-04  Alan Modra  <amodra@gmail.com>
52623         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52624         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52625         all uses of ieee854 long double macros and unions.
52626         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52627         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52628         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52629         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52630         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52631         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52632         Likewise.
52633         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52634         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52635         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52636         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52637         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52638         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52639         Simplify sign and nan test too.
52640         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52641         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52642         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52643         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52644         Likewise.
52645         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52646         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52647         Likewise.
52648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52649         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52650         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52651         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52652         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52653         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52655 2013-10-04  Alan Modra  <amodra@gmail.com>
52657         * stdio-common/printf_size.c (__printf_size): Don't use
52658         union ieee854_long_double in fpnum union.
52659         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
52660         signbit macro to retrieve sign from long double.
52661         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52662         retrieve sign from long double.
52663         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52664         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52665         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52666         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52667         * math/test-misc.c (main): Don't use union ieee854_long_double.
52669 2013-10-04  Alan Modra  <amodra@gmail.com>
52671         [BZ #15680]
52672         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52673         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52674         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52675         calculation.  Remove unnecessary test for denormal exponent.
52676         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52677         Correct handling of denormals.  Avoid undefined shift behaviour.
52678         Correct normalisation of low mantissa when low double is denormal.
52679         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52680         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
52681         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52682         Correct normalisation of low mantissa.  Test for overflow of high
52683         mantissa and normalise.
52684         (ldbl_nearbyint): Use more readable constant for two52.
52685         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52686         (__mpn_construct_long_double): Fix test for overflow of high
52687         mantissa and correct normalisation.  Avoid undefined shift.
52689 2013-10-04  Alan Modra  <amodra@gmail.com>
52691         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52692         (union ibm_extended_long_double): Define as an array of ieee754_double.
52693         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52694         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52695         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52696         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52697         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52698         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52699         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52700         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52701         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52702         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52703         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52705 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
52707         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52708         page size instead of calling getpagesize.
52710         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52711         (LOCFILE_ALIGN_MASK): Likewise.
52712         (LOCFILE_ALIGN_UP): Likewise.
52713         (LOCFILE_ALIGNED_P): Likewise.
52714         * locale/programs/ld-collate.c (collate_output): Use the new
52715         macros instead of __alignof__ (int32_t).
52716         * locale/weight.h (findidx): Likewise.
52718 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
52720         [BZ #431]
52721         * manual/string.texi: Fix strncat and wcsncat.
52723 2013-10-03  Brooks Moses  <bmoses@google.com>
52725         [BZ #15915]
52726         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52727         * Makerules: ...here, and adjust associated comments.
52729 2013-10-02  Will Newton  <will.newton@linaro.org>
52731         * malloc/Makefile: Add tst-pvalloc.
52732         * malloc/tst-pvalloc.c: New file.
52734 2013-10-02  Will Newton  <will.newton@linaro.org>
52736         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52737         improve test coverage.
52739 2013-10-02  Will Newton  <will.newton@linaro.org>
52741         * malloc/Makefile: Add tst-posix_memalign.
52742         * malloc/tst-posix_memalign.c: New file.
52744 2013-10-01  Eric Blake  <eblake@redhat.com>
52746         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52747         Use __THROWNL rather than __THROW on static functions.
52749 2013-09-30  Petr Machata  <pmachata@redhat.com>
52751         * elf/elf.h (R_AARCH64_ABS16): New macro.
52752         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52753         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52754         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52755         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52756         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52757         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52758         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52759         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52760         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52761         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52762         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52763         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52764         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52765         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52766         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52767         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52768         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52769         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52770         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52771         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52772         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52773         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52774         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52775         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52776         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52777         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52778         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52779         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52780         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52781         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52782         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52783         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52784         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52785         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52786         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52787         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52788         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52789         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52790         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52791         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52792         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52793         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52794         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52795         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52796         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52797         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52798         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52799         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52800         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52801         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52802         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52803         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52804         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52805         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52806         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52807         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52808         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52809         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52810         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52811         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52812         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52813         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52814         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52815         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52816         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52817         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52818         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52819         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52820         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52821         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52822         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52823         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52824         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52825         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52826         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52827         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52828         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52829         (R_AARCH64_TLSDESC_LDR): Likewise.
52830         (R_AARCH64_TLSDESC_ADD): Likewise.
52831         (R_AARCH64_TLSDESC_CALL): Likewise.
52833 2013-09-30  Andreas Schwab  <schwab@suse.de>
52835         [BZ #15048]
52836         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52837         the nss database lookup.
52838         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52841 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
52843         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52845 2013-09-28  P. J. McDermott  <pj@pehjota.net>
52847         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52848         ${Bash-specific parameter/pattern/string} parameter expansion.
52849         * sysdeps/unix/make-syscalls.sh: Likewise.
52851 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52853         * sysdeps/sh/stackguard-macros.h: New file.
52855 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
52857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52858         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52859         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52860         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52861         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52862         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52864 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52866         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52867         Fix thread ID register.
52869 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
52871         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52872         [POSIX || UNIX98]: Require rather than permitting all symbols from
52873         <time.h>.
52874         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52875         element of struct sched_param.
52876         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52877         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52878         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52879         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52880         constant.
52882 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
52884         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52885         argument calculation.
52887 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52889         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52890         Expect macro.
52891         [POSIX] (pthread_attr_t): Do not require type.
52892         [POSIX] (pthread_cond_t): Likewise.
52893         [POSIX] (pthread_condattr_t): Likewise.
52894         [POSIX] (pthread_key_t): Likewise.
52895         [POSIX] (pthread_mutex_t): Likewise.
52896         [POSIX] (pthread_mutexattr_t): Likewise.
52897         [POSIX] (pthread_once_t): Likewise.
52898         [POSIX] (pthread_t): Likewise.
52899         [POSIX-based standards] (pthread_atfork): Expect function.
52901 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52902             Richard Sandiford  <richard@codesourcery.com>
52904         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52905         (swap_endianness_p): New extern variable.
52906         (set_big_endian): New inline function.
52907         (maybe_swap_uint32): Likewise.
52908         (maybe_swap_uint32_array): Likewise.
52909         (maybe_swap_uint32_obstack): Likewise.
52910         * locale/programs/locfile.c: Include <stdbool.h>.
52911         (swap_endianness_p): New variable.
52912         (add_locale_uint32): Call maybe_swap_uint32.
52913         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52914         (write_locale_data): Call maybe_swap_uint32_array.
52915         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52916         maybe_swap_uint32.
52917         (obstack_int32_grow_fast): Likewise.
52918         (output_weightwc): Call maybe_swap_uint32_obstack.
52919         (collate_output): Likewise.
52920         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52921         (OPT_LITTLE_ENDIAN): Likewise.
52922         (options): Add --little-endian and --big-endian options.
52923         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52924         * locale/programs/locarchive.c: Include "locfile.h".
52925         (GET): New macro.
52926         (SET): Likewise.
52927         (INC): Likewise.
52928         (create_archive): Use the new macros to access fields of
52929         structures directly mapped from or written to locale archives.
52930         (oldlocrecentcmp): Likewise.
52931         (enlarge_archive): Likewise.
52932         (insert_name): Likewise.
52933         (add_alias): Likewise.
52934         (add_locale): Likewise.
52935         (delete_locales_from_archive): Likewise.
52936         (show_archive_content): Likewise.
52937         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52938         locale data.
52940 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52942         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52943         http://www.gnu.org/doc/freemanuals.texi.
52944         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52946 2013-09-24  Will Newton  <will.newton@linaro.org>
52948         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52949         macro.
52951 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52953         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52954         unsigned char.
52956 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52958         * manual/threads.texi (POSIX Threads): Fix a typo.
52960 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52962         [BZ #14547]
52963         * string/tst-strcoll-overflow.c: New test case.
52964         * string/Makefile (xtests): Add tst-strcoll-overflow.
52965         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52966         cache if string sizes may cause integer overflow.
52968         [BZ #14547]
52969         * string/strcoll_l.c (coll_seq): New members rule, idx,
52970         save_idx and back_us.
52971         (get_next_seq_nocache): New function.
52972         (do_compare_nocache): New function.
52973         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52974         when malloc fails.
52976 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52978         [BZ #15754]
52979         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52980         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52981         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52983         [BZ #15754]
52984         * elf/Makefile (tests): Add tst-ptrguard1.
52985         (tests-static): Add tst-ptrguard1-static.
52986         (tst-ptrguard1-ARGS): Define.
52987         (tst-ptrguard1-static-ARGS): Define.
52988         * elf/tst-ptrguard1.c: New file.
52989         * elf/tst-ptrguard1-static.c: New file.
52990         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52991         * sysdeps/i386/stackguard-macros.h: Likewise.
52992         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52993         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52994         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52995         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52996         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52997         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52999 2013-09-23  Hector Marco  <hecmargi@upv.es>
53000             Ismael Ripoll  <iripoll@disca.upv.es>
53001             Carlos O'Donell  <carlos@redhat.com>
53003         [BZ #15754]
53004         * sysdeps/generic/stackguard-macros.h: Define
53005         __pointer_chk_guard_local and POINTER_CHK_GUARD.
53006         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
53007         Define __pointer_chk_guard_local.
53008         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
53009         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
53011 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
53013         [BZ #15859]
53014         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
53016 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
53018         * include/string.h (__ffs): Declare as hidden.
53019         * string/ffs.c (__ffs): Define as hidden.
53020         * sysdeps/i386/ffs.c (__ffs): Likewise.
53021         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
53022         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
53023         * sysdeps/s390/ffs.c (__ffs): Likewise.
53024         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
53026 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
53028         * NEWS: Mention malloc probes.
53030         * malloc/arena.c (new_heap): New memory_heap_new probe.
53031         (grow_heap): New memory_heap_more probe.
53032         (shrink_heap): New memory_heap_less probe.
53033         (heap_trim): New memory_heap_free probe.
53034         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
53035         (systrim): New memory_sbrk_less probe.
53036         * manual/probes.texi: Document them.
53038         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
53039         * manual/probes.texi: Document it.
53041         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
53042         (__libc_realloc): Add memory_realloc_retry probe.
53043         (__libc_memalign): Add memory_memalign_retry probe.
53044         (__libc_valloc): Add memory_valloc_retry probe.
53045         (__libc_pvalloc): Add memory_pvalloc_retry probe.
53046         (__libc_calloc): Add memory_calloc_retry probe.
53047         * manual/probes.texi: Document them.
53049         * malloc/arena.c (get_free_list): Add probe
53050         memory_arena_reuse_free_list.
53051         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
53052         and memory_arena_reuse.
53053         (arena_get2) [!PER_THREAD]: Likewise.
53054         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
53055         memory_arena_reuse_realloc.
53056         * manual/probes.texi: Document them.
53058         * malloc/malloc.c (__libc_free): Add
53059         memory_mallopt_free_dyn_thresholds probe.
53060         (__libc_mallopt): Add multiple memory_mallopt probes.
53061         * manual/probes.texi: Document them.
53063         * malloc/malloc.c: Include stap-probe.h.
53064         (__libc_mallopt): Add memory_mallopt probe.
53065         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
53066         * manual/probes.texi: New.
53067         * manual/Makefile (chapters): Add probes.
53068         * manual/threads.texi: Set next node.
53070 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
53072         [BZ #15963, #13985]
53073         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
53074         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
53075         Add `Chinese' to `nan' entry name.
53077 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53079         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
53080         (POLYNOMIAL): Likewise.
53081         (TAYLOR_SINCOS): Likewise.
53082         (TAYLOR_SLOW): Likewise.
53083         (__sin): Use TAYLOR_SINCOS.
53084         (__cos): Likewise.
53085         (slow): Use TAYLOR_SLOW.
53086         (sloww): Likewise.
53087         (bsloww): Likewise.
53088         (csloww): Likewise.
53090 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53092         * stdlib/strtod_l.c: Fix buffer overrun.
53094 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53096         * benchtests/Makefile (bench): Add sincos.
53097         * benchtests/bench-sincos.c: New file.
53099         * math/libm-test.inc (cos_test_data): New test inputs.
53100         (sin_test_data): Likewise.
53102         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
53103         macro.
53104         (__sin): Use it.
53105         (__cos): Likewise.
53106         (slow1): Likewise.
53107         (slow2): Likewise.
53108         (sloww1): Likewise.
53109         (sloww2): Likewise.
53110         (bsloww1): Likewise.
53111         (bsloww2): Likewise.
53112         (cslow2): Likewise.
53113         (csloww1): Likewise.
53114         (csloww2): Likewise.
53116         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53117         function.
53118         (__sin): Use it.
53119         (__cos): Likewise.
53121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53122         gotos.
53123         (__cos): Likewise.
53125 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
53127         * config.h.in (HAVE_MIPS_NAN2008): New macro.
53128         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53129         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53130         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53131         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53132         * elf/cache.c (print_entry): Handle the new cache flags.
53134 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53135             Aldy Hernandez  <aldyh@redhat.com>
53137         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53138         Change condition to [_SOFT_FLOAT].
53139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53151         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53154         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53155         declaration.
53157 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53159         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53160         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53161         (__longjmp): Use LOAD_GP to load saved GPRs.
53162         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53163         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53164         (__sigsetjmp): Use SAVE_GP to save GPRs.
53166         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53167         Do not append -msoft-float.
53168         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53170 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53172         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53174 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
53176         [BZ #15966]
53177         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53178         (_FPU_GETCW): Use initial "__" on variable and field names but not
53179         on macro parameter name.
53180         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
53181         parentheses around reference to macro parameter.
53183 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
53185         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53186         prototype.
53187         (ctype_startup): Use uint32_t in cast and sizeof for
53188         ctype->charnames.
53190 2013-09-11  Jia Liu  <proljc@gmail.com>
53192         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53193         __daddr_t_defined.
53194         [__FreeBSD__]: Likewise.
53196 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
53198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53199         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53200         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53201         (strchr): Remove __strchr_sse42 ifunc selection.
53202         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53203         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53205 2013-09-11  Will Newton  <will.newton@linaro.org>
53207         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53208         parameter to RES. Remove hardcoded 1000 value.
53209         * benchtests/bench-skeleton.c (main): Pass RES parameter
53210         to TIMING_INIT and multiply result by 1000.
53212 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53216 2013-09-11  Andreas Schwab  <schwab@suse.de>
53218         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53219         if not defined.
53220         (O_TMPFILE) [__USE_GNU]: Define.
53221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53222         Define.
53224 2013-09-11  Will Newton  <will.newton@linaro.org>
53226         [BZ #15857]
53227         * malloc/malloc.c (__libc_memalign): Check the value of bytes
53228         does not overflow.
53230 2013-09-11  Will Newton  <will.newton@linaro.org>
53232         [BZ #15856]
53233         * malloc/malloc.c (__libc_valloc): Check the value of bytes
53234         does not overflow.
53236 2013-09-11  Will Newton  <will.newton@linaro.org>
53238         [BZ #15855]
53239         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53240         does not overflow.
53242 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
53244         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53245         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53246         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53247         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53248         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53250 2013-09-10  Allan McRae  <allan@archlinux.org>
53252         [BZ #15748]
53253         * manual/arith.texi (Parsing of Floats): Clarify
53254         cross-reference.
53256         [BZ #15849]
53257         * manual/install.texi (Running make install): Mention
53258         --enable-pt-chown.
53259         * INSTALL: Regenerated.
53261 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
53263         * csu/init-first.c (_init): Remove the !SHARED condition around
53264         FPU control word initialization.
53265         * elf/dl-support.c (_dl_fpu_control): New variable.
53266         (_dl_aux_init) <AT_FPUCW>: Initialize it.
53267         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53268         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53269         * math/test-fpucw-static.c: New file.
53270         * math/test-fpucw-ieee.c: New file.
53271         * math/test-fpucw-ieee-static.c: New file.
53272         * math/Makefile (tests): Add `test-fpucw-ieee' and
53273         `$(tests-static)'.
53274         (tests-static): New variable.
53275         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53276         dependency to...
53277         [($(build-shared),yes)]
53278         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53279         ... this.
53280         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53281         New dependency.
53283 2013-09-09  Allan McRae  <allan@archlinux.org>
53285         [BZ #15939]
53286         * manual/string.texi (Collation Functions): Fix typo in
53287         strcoll example.
53288         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53290         [BZ #15893]
53291         * stdlib/isomac.c (get_null_defines): Fix memory leak.
53293         [BZ #15892]
53294         * libio/memstream.c (open_memstream): Fix memory leak.
53295         * libio/wmemstream.c (open_wmemstream): Likewise.
53297         [BZ #15895]
53298         * nscd/netgroupcache.c: Fix nesting of ifdefs.
53300 2013-09-09  Will Newton  <will.newton@linaro.org>
53302         * malloc/Makefile: Add tst-realloc to tests.
53303         * malloc/tst-realloc.c: New file.
53305 2013-09-09  Allan McRae  <allan@archlinux.org>
53307         [BZ #15844]
53308         * COPYING: Update from GNU website to fix FSF address.
53309         * COPYING.LIB: Likewise.
53311 2013-09-06  David S. Miller  <davem@davemloft.net>
53313         * po/zh_TW.po: Update Chinese (traditional) translation from
53314         translation project.
53316 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
53317             Joseph Myers  <joseph@codesourcery.com>
53319         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53320         "localeinfo.h".
53321         (obstack_chunk_alloc): New macro.
53322         (obstack_chunk_free): Likewise.
53323         (record_offset): New function.
53324         (init_locale_data): Likewise.
53325         (align_locale_data): Likewise.
53326         (add_locale_empty): Likewise.
53327         (add_locale_raw_data): Likewise.
53328         (add_locale_raw_obstack): Likewise.
53329         (add_locale_string): Likewise.
53330         (add_locale_wstring): Likewise.
53331         (add_locale_uint32): Likewise.
53332         (add_locale_uint32_array): Likewise.
53333         (add_locale_char): Likewise.
53334         (start_locale_structure): Likewise.
53335         (end_locale_structure): Likewise.
53336         (start_locale_prelude): Likewise.
53337         (end_locale_prelude): Likewise.
53338         (write_locale_data): Take locale_file structure rather than an
53339         iovec.
53340         * locale/programs/locfile.h: Include "obstack.h".
53341         (struct locale_file): Change to store locale file contents instead
53342         of header.
53343         (init_locale_data): New prototype.
53344         (align_locale_data): Likewise.
53345         (add_locale_empty): Likewise.
53346         (add_locale_raw_data): Likewise.
53347         (add_locale_raw_obstack): Likewise.
53348         (add_locale_string): Likewise.
53349         (add_locale_wstring): Likewise.
53350         (add_locale_uint32): Likewise.
53351         (add_locale_uint32_array): Likewise.
53352         (add_locale_char): Likewise.
53353         (start_locale_structure): Likewise.
53354         (end_locale_structure): Likewise.
53355         (start_locale_prelude): Likewise.
53356         (end_locale_prelude): Likewise.
53357         (write_locale_data): Update prototype.
53358         * locale/programs/3level.h (struct TABLE): Remove result field.
53359         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53360         Use new locale_file interface.
53361         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53362         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53363         * locale/programs/ld-address.c (address_output): Use new
53364         locale_file interface.
53365         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53366         NO_ADD_LOCALE.
53367         (collate_finish): Don't call collseq_table_finalize.
53368         (collate_output): Use new locale_file interface.
53369         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53370         in file.
53371         (NO_FINALIZE): Change to NO_ADD_LOCALE.
53372         (TABLE): Move defines earlier in file.
53373         (ELEMENT): Likewise.
53374         (DEFAULT): Likewise.
53375         (wctrans_table_add): Move macro and inline function earlier in
53376         file.
53377         (struct wctype_table): Move type earlier in file.
53378         (add_locale_wctype_table): New static prototype.
53379         (struct locale_ctype_t): Use logical types instead of struct iovec
53380         pointers for members.
53381         (ctype_output): Use new locale_file interface.
53382         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
53383         new locale_file interface.
53384         (allocate_arrays): Update for use of new locale_file interface.
53385         * locale/programs/ld-identification.c (identification_output): Use
53386         new locale_file interface.
53387         * locale/programs/ld-measurement.c (measurement_output): Likewise.
53388         * locale/programs/ld-messages.c (messages_output): Likewise.
53389         * locale/programs/ld-monetary.c (monetary_output): Likewise.
53390         * locale/programs/ld-name.c (name_output): Likewise.
53391         * locale/programs/ld-numeric.c (numeric_output): Likewise.
53392         * locale/programs/ld-paper.c (paper_output): Likewise.
53393         * locale/programs/ld-telephone.c (telephone_output): Likewise.
53394         * locale/programs/ld-time.c (time_output): Likewise.
53396 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53398         * benchtests/Makefile: Add memrchr benchmark.
53399         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53400         benchmark as memrchr.
53401         * benchtests/bench-memrchr-ifunc.c: New file.
53402         * benchtests/bench-memrchr.c: New file.
53404 2013-09-06   Will Newton  <will.newton@linaro.org>
53406         * benchtests/Makefile (string-bench): Add memcpy.
53408 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
53409             Cong Wang  <amwang@redhat.com>
53411         [BZ #15850]
53412         * sysdeps/unix/sysv/linux/bits/in.h
53413         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53414         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53415         before __USE_KERNEL_IPV6_DEFS uses.
53416         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53417         IPPROTO_BEETPH.
53418         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53419         sockaddr_in6, or ipv6_mreq.
53421 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53423         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53424         memory access for final bytes in some large inputs.
53425         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53427 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53429         * string/test-memrchr.c: New file.
53430         * string/test-memrchr-ifunc.c: New file.
53431         * string/Makefile: Add new memrchr testcase.
53433 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
53435         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53436         fanotify_init returns EPERM.
53438 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53440         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53441         errors.
53442         (top level): Treat second token from macro or constant entries for
53443         allowed headers as allowed.
53444         * include/complex.h: Condition internal declarations on
53445         [!_ISOMAC].
53446         * include/fenv.h: Condition include of <stdbool.h> and internal
53447         declarations on [!_ISOMAC].
53449 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
53451         [BZ #15923]
53452         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53454 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53456         * configure.in (--enable-versioning): Remove configure option.
53457         (libc_cv_asm_symver_directive): Remove configure test.
53458         (libc_cv_ld_version_script_option): Likewise.
53459         (VERSIONING): Remove variable and AC_SUBST.
53460         (DO_VERSIONING): Remove AC_DEFINE.
53461         * configure: Regenerated.
53462         * config.h.in (DO_VERSIONING): Remove macro.
53463         * Makerules [$(versioning) = yes]: Change conditionals to
53464         [$(build-shared) = yes].
53465         * config.make.in (versioning): Remove variable.
53466         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53467         [$(build-shared) = yes].
53468         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53469         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53470         * elf/Makefile [$(versioning) = yes]: Change conditionals to
53471         [$(build-shared) = yes].
53472         * extra-lib.mk [$(versioning) = yes]: Likewise.
53473         * hurd/Makefile [$(versioning) = yes]: Likewise.
53474         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53475         [SHARED].
53476         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53477         [SHARED].
53478         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53479         [SHARED && !NO_HIDDEN].
53480         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53481         [SHARED].
53482         [SHARED && DO_VERSIONING]: Likewise..
53483         * libio/Makefile [$(versioning) = yes]: Change conditionals to
53484         [$(build-shared) = yes].
53485         * manual/install.texi (--disable-versioning): Remove
53486         documentation.
53487         * INSTALL: Regenerated.
53488         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53489         to [SHARED].
53490         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53491         [$(build-shared) = yes].
53492         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53493         * sysdeps/i386/i686/multiarch/strstr-c.c
53494         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53495         [SHARED && !NO_HIDDEN].
53496         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53497         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53498         * sysdeps/powerpc/powerpc32/dl-machine.c
53499         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53500         * sysdeps/powerpc/powerpc32/sysdep.h
53501         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53502         to [SHARED && PIC && !NO_HIDDEN].
53503         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53504         conditional to [SHARED].
53506 2013-09-04   Will Newton  <will.newton@linaro.org>
53508         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53509         * benchtests/bench-string.h: Include bench-timing.h instead
53510         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53511         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53512         call to HP_TIMING_DIFF_INIT.
53513         * benchtests/bench-memccpy.c: Use bench-timing.h macros
53514         instead of hp-timing.h macros.
53515         * benchtests/bench-memchr.c: Likewise.
53516         * benchtests/bench-memcmp.c: Likewise.
53517         * benchtests/bench-memcpy.c: Likewise.
53518         * benchtests/bench-memmem.c: Likewise.
53519         * benchtests/bench-memmove.c: Likewise.
53520         * benchtests/bench-memset.c: Likewise.
53521         * benchtests/bench-rawmemchr.c: Likewise.
53522         * benchtests/bench-strcasecmp.c: Likewise.
53523         * benchtests/bench-strcasestr.c: Likewise.
53524         * benchtests/bench-strcat.c: Likewise.
53525         * benchtests/bench-strchr.c: Likewise.
53526         * benchtests/bench-strcmp.c: Likewise.
53527         * benchtests/bench-strcpy.c: Likewise.
53528         * benchtests/bench-strcpy_chk.c: Likewise.
53529         * benchtests/bench-strlen.c: Likewise.
53530         * benchtests/bench-strncasecmp.c: Likewise.
53531         * benchtests/bench-strncat.c: Likewise.
53532         * benchtests/bench-strncmp.c: Likewise.
53533         * benchtests/bench-strncpy.c: Likewise.
53534         * benchtests/bench-strnlen.c: Likewise.
53535         * benchtests/bench-strpbrk.c: Likewise.
53536         * benchtests/bench-strrchr.c: Likewise.
53537         * benchtests/bench-strspn.c: Likewise.
53538         * benchtests/bench-strstr.c: Likewise.
53540 2013-09-04  Will Newton  <will.newton@linaro.org>
53542         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53544 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
53546         [BZ #15427]
53547         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53548         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53549         * math/libm-test.inc (lgamma_test_data): Add more tests.
53550         * sysdeps/i386/fpu/libm-test-ulps: Update.
53551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53553 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
53555         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53557         Add ifunc.
53558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53559         Add strcmp-sse2-unaligned
53560         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53562 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53564         * Versions.def (libc): Add GLIBC_2.19.
53566 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53568         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53569         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53571 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
53573         [BZ #14155]
53574         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53575         intermediate calculations in recurrence.
53576         (__ieee754_ynf): Likewise.
53577         * math/libm-test.inc (jn_test_data): Do not allow spurious
53578         underflow exception.  Add more tests.
53579         (yn_test_data): Add more tests.
53580         * sysdeps/i386/fpu/libm-test-ulps: Update.
53581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53583 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
53585         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53587 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53589         * csu/init-first.c: Fix then/than typos.
53590         * locale/programs/ld-collate.c: Likewise.
53591         * locale/programs/linereader.h: Likewise.
53592         * manual/charset.texi: Likewise.
53593         * manual/filesys.texi: Likewise.
53594         * manual/stdio.texi: Likewise.
53595         * manual/string.texi: Likewise.
53596         * stdlib/fmtmsg.c: Likewise.
53597         * sysdeps/i386/stpncpy.S: Likewise.
53598         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53599         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53600         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53601         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53603 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53605         * elf/dl-open.c: Fix typos.
53606         * iconvdata/gbbig5.c: Likewise.
53607         * iconvdata/iso-2022-jp.c: Likewise.
53608         * iconv/gconv_int.h: Likewise.
53609         * iconv/loop.c: Likewise.
53610         * nis/rpcsvc/nis.h: Likewise.
53611         * resolv/ns_name.c: Likewise.
53612         * stdio-common/vfscanf.c: Likewise.
53613         * streams/stropts.h: Likewise.
53614         * sunrpc/rpc_thread.c: Likewise.
53615         * sysdeps/i386/strpbrk.S: Likewise.
53616         * sysdeps/ieee754/k_standard.c: Likewise.
53617         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53618         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53619         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53620         * sysdeps/mach/hurd/profil.c: Likewise.
53621         * sysdeps/s390/dl-procinfo.h: Likewise.
53622         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53623         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53624         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53625         * sysdeps/x86_64/dl-trampoline.S: Likewise.
53626         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53628 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
53630         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53633 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
53635         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53636         aix specific files.
53637         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53638         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53639         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53640         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53641         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53642         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53643         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53644         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53646 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53647             Roland McGrath  <roland@hack.frob.com>
53649         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53650         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53652 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53654         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53655         __executable_start symbol instead of _start.
53657 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53659         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53660         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53661         Move macros to...
53662         * sysdeps/gnu/ldsodefs.h: ... this new file.
53664         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53665         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53666         instead of ELFOSABI_LINUX.
53668         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53669         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53670         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53671         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53672         Likewise.
53673         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53674         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53675         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53676         Likewise.
53677         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53678         (ibm_extended_long_double): Add ieee_nan member.
53679         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53680         (do_test): New function.
53682         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53683         TEST_TRUNC.
53684         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53685         functions, renamed from truncdfsf_test, trunctfsf_test,
53686         trunctfdf_test.
53687         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53688         functions.
53689         (do_test): Run all these.
53691 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
53693         * argp/argp-help.c: Fix typos.
53694         * argp/argp-parse.c: Likewise.
53695         * debug/backtracesyms.c: Likewise.
53696         * elf/elf.h: Likewise.
53697         * malloc/malloc.c: Likewise.
53698         * nis/nis_print.c: Likewise.
53699         * resolv/res_comp.c: Likewise.
53700         * stdlib/stdlib.h: Likewise.
53701         * sunrpc/clnt_tcp.c: Likewise.
53702         * sunrpc/clnt_udp.c: Likewise.
53703         * sunrpc/clnt_unix.c: Likewise.
53704         * sysdeps/unix/bsd/ptsname.c: Likewise.
53705         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53706         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53708         Likewise.
53709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53710         Likewise.
53711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53712         Likewise.
53713         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53715 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53717         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53720 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
53722         [BZ #15897]
53723         * dlfcn/Makefile (tests): Add bug-dl-leaf.
53724         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53725         ($(objpfx)bug-dl-leaf): New rule.
53726         ($(objpfx)bug-dl-leaf.so): Likewise.
53727         ($(objpfx)bug-dl-leaf.out): Likewise.
53728         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53729         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53730         * dlfcn/bug-dl-leaf.c: New test.
53731         * dlfcn/bug-dl-leaf-lib.c: Likewise.
53732         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53733         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53734         (dlclose): Likewise.
53735         (dlmopen): Likewise.
53737 2013-08-27  Roland McGrath  <roland@hack.frob.com>
53739         * include/netdb.h [!_ISOMAC]:
53740         Don't include <tls.h>.
53741         (h_errno, __libc_h_errno): Move declaration and macros out of
53742         [_LIBC_REENTRANT].
53744         * include/resolv.h [_RESOLV_H_]:
53745         Don't include <tls.h>.
53746         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53747         * resolv/res_libc.c: Don't include <tls.h>.
53748         (_res): Use __attribute__ ((nocommon)) in place of
53749         __attribute__ ((section (".bss"))).
53751         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53752         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53754         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53756         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53757         only under [SIOCGIFCONF && SIOCGIFNETMASK].
53759         * resolv/res_mkquery.c: Include <sys/time.h>.
53761         * inet/ifreq.c: Moved to ...
53762         * sysdeps/unix/ifreq.c: ... here.
53763         * inet/ifreq.c: New file, true stub version.
53765         * socket/sa_len.c: New file.
53766         * socket/Makefile (aux): Add it.
53767         * sysdeps/unix/sysv/linux/Makefile
53768         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53769         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53770         and #include <socket/sa_len.c>.
53771         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53772         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53774         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53775         * bits/socket.h: ... here.
53777         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53778         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53779         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53781 2013-08-27  Andreas Schwab  <schwab@suse.de>
53783         [BZ #15736]
53784         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53785         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53786         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53787         * string/test-strcasecmp.c (test_main): Run tests in several
53788         locales.
53789         * string/test-strncasecmp.c (test_main): Likewise.
53791         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53792         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53793         to __strcasecmp_nonascii and __strncasecmp_nonascii.
53794         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53795         (__strncasecmp_ssse3) [PIC]: Likewise.
53797 2013-08-26  Roland McGrath  <roland@hack.frob.com>
53799         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53801         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53802         instead of explicitly declaring xdecrypt.
53803         * nis/nss_nis/nis-publickey.c: Likewise.
53805 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53807         [BZ #15890]
53808         * nscd/aicache.c: Include res_hconf.h.
53809         (addhstaiX): Initialize res_hconf.
53811 2013-08-26  Andreas Schwab  <schwab@suse.de>
53813         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53814         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53816 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53818         * nscd/aicache.c (addhstaiX): Fix indentation.
53820 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
53822         * configure.ac: Quote $build_pt_chown test.
53823         * configure: Regenerated.
53825 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
53827         [BZ #15532]
53828         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53829         * math/s_cexpf.c (__cexpf): Likewise.
53830         * math/s_cexpl.c (__cexpl): Likewise.
53831         * math/libm-test.inc (cexp_test_data): Correct expected return
53832         value for NaN + i0.  Add another test.
53834 2013-08-22  David S. Miller  <davem@davemloft.net>
53836         * po/ca.po: Update Catalan translation from translation project.
53837         * po/uk.po: Add Ukrainian translations from translation project.
53839 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
53841         [BZ #15797]
53842         * math/s_fdim.c (__fdim): Check for infinite arguments if result
53843         is infinite, not alongside NaN test.
53844         * math/s_fdimf.c (__fdimf): Likewise.
53845         * math/s_fdiml.c (__fdiml): Likewise.
53846         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
53847         errno is unchanged.
53849 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
53851         * argp/argp-help.c: Fix typos.
53852         * crypt/speeds.c: Likewise.
53853         * csu/check_fds.c: Likewise.
53854         * elf/dl-load.c: Likewise.
53855         * elf/dl-open.c: Likewise.
53856         * elf/reldep3.c: Likewise.
53857         * elf/reldep.c: Likewise.
53858         * elf/sprof.c: Likewise.
53859         * iconv/iconv_charmap.c: Likewise.
53860         * iconv/skeleton.c: Likewise.
53861         * iconv/strtab.c: Likewise.
53862         * io/lockf64.c: Likewise.
53863         * libio/libioP.h: Likewise.
53864         * resolv/gai_notify.c: Likewise.
53865         * resolv/ns_name.c: Likewise.
53866         * resolv/ns_samedomain.c: Likewise.
53867         * resolv/res_send.c: Likewise.
53868         * stdlib/random.c: Likewise.
53869         * sunrpc/rpc/xdr.h: Likewise.
53870         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53871         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53872         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53873         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53874         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53875         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53876         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53877         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53878         * sysdeps/mach/hurd/check_fds.c: Likewise.
53879         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53880         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53881         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53882         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53883         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53884         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53885         * sysdeps/pthread/aio_notify.c: Likewise.
53886         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53887         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53888         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53889         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53890         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53892 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53894         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53895         version if bit_Slow_SSE4_2 is set.
53896         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53897         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53899 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53901         [BZ #15867]
53902         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53903         trampoline stack frame information.
53904         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53905         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53906         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53907         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53908         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53909         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53910         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53911         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53912         sa_flags value.
53913         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53914         interrupting a syscall and set with option SA_SIGINFO.
53916 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53918         [BZ #15531]
53919         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53920         argument is infinite.
53921         * math/s_cprojf.c (__cprojf): Likewise.
53922         * math/s_cprojl.c (__cprojl): Likewise.
53923         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53924         * math/libm-test.inc (cproj_test_data): Add more tests.
53926         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53928         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53929         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53930         size.  Use __ffs to determine corresponding shift.
53932 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53933             Roland McGrath  <roland@hack.frob.com>
53935         * Makefile (INSTALL): Remove trailing blank lines from output of
53936         makeinfo.
53938 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53940         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53941         Align 32 bit compat elf_greg to 8 bytes.
53943 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53945         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53947 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53949         * string/strcoll_l.c (coll_seq): New structure.
53950         (get_next_seq_cached): New function.
53951         (get_next_seq): New function.
53952         (do_compare): New function.
53953         (STRCOLL): Use GNU style definition.  Simplify implementation
53954         by using get_next_seq, get_next_seq_cached and do_compare.
53956 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53958         [BZ #14699]
53959         CVE-2013-4237
53960         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53961         member.
53962         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53963         member.
53964         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53965         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53966         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53967         conditional.
53968         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53969         GETDENTS_64BIT_ALIGNED.
53970         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53971         * manual/filesys.texi (Reading/Closing Directory): Document
53972         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53973         strongly.
53974         * manual/conf.texi (Limits for Files): Add portability note to
53975         NAME_MAX, PATH_MAX.
53976         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53978 2013-08-13  Andreas Schwab  <schwab@suse.de>
53980         [BZ #15749]
53981         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53982         of fabs.
53983         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53984         LDBL_MAX_EXP >= 16384]: Add tests for it.
53986 2013-08-12  David S. Miller  <davem@davemloft.net>
53988         * version.h (RELEASE): Set to "development".
53989         (VERSION): Set to "2.18.90".
53990         * NEWS: Add 2.19 section.
53992 2013-08-03  David S. Miller  <davem@davemloft.net>
53994         * po/ko.po: Update Korean translation from translation project.
53996 2013-08-01  David S. Miller  <davem@davemloft.net>
53998         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53999         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
54000         Bilka.
54002 2013-07-30  David S. Miller  <davem@davemloft.net>
54004         * po/fr.po: Update French translation from translation project.
54006 2013-07-28  David S. Miller  <davem@davemloft.net>
54008         * po/cs.po: Update Czech translation from translation project.
54010         * po/sv.po: Update Swedish translation from translation project.
54012 2013-07-27  David S. Miller  <davem@davemloft.net>
54014         * po/eo.po: Update Esperanto translation from translation project.
54016         * po/vi.po: Update Vietnamese translation from translation project.
54018         * po/de.po: Update German translation from translation project.
54020 2013-07-26  David S. Miller  <davem@davemloft.net>
54022         * po/bg.po: Update Bulgarian translation from translation project.
54024         * po/nl.po: Update Dutch translation from translation project.
54025         * po/pl.po: Update Polish translation from translation project.
54026         * po/ru.po: Update Russian translation from translation project.
54028 2013-07-24  David S. Miller  <davem@davemloft.net>
54030         * po/libc.pot: Update.
54032 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54034         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
54035         variable page size.
54036         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
54037         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
54038         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
54040 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54042         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
54044 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54045             Andreas Schwab  <schwab@suse.de>
54046             Roland McGrath  <roland@hack.frob.com>
54047             Joseph Myers  <joseph@codesourcery.com>
54048             Carlos O'Donell  <carlos@redhat.com>
54050         [BZ #15755]
54051         * config.h.in: Define HAVE_PT_CHOWN.
54052         * config.make.in (build-pt-chown): New variable.
54053         * configure.in (--enable-pt_chown): New configure option.
54054         * configure: Regenerate.
54055         * login/Makefile: Include Makeconfig.  Build pt_chown only if
54056         build-pt-chown is enabled.
54057         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
54058         pt_chown to fix pty ownership.
54059         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
54060         CLOSE_ALL_FDS.
54061         * manual/install.texi (Configuring and compiling): Mention
54062         --enable-pt_chown. Add @findex for grantpt.
54063         * INSTALL: Regenerate.
54065 2013-07-20  David S. Miller  <davem@davemloft.net>
54067         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
54068         difference between 32-bit and 64-bit.
54070 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
54072         [BZ #15711]
54073         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
54074         Avoid system header dependency with -ffreestanding.
54075         ($(objpfx)bits/syscall%d): Likewise.
54077 2013-07-13  David S. Miller  <davem@davemloft.net>
54079         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
54080         underflows from atanl/atan2l due to bug 15319.
54081         (casinh_test_data): Likewise.
54083 2013-07-07  David S. Miller  <davem@davemloft.net>
54085         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
54087 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
54089         * sysdeps/i386/fpu/libm-test-ulps: Update.
54090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54092 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54094         * configure.in (--enable-lock-elision): Fix message text.
54095         * INSTALL: Regenerate.
54096         * configure: Regenerate.
54098 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54102 2013-07-03  Andreas Jaeger  <aj@suse.de>
54104         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
54105         define.
54106         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
54107         (ptrace_peeksiginfo_args): Add.
54108         (__ptrace_peeksiginfo_flags): Add.
54109         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54110         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54111         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54113 2013-07-03  Allan McRae  <allan@archlinux.org>
54115         * sysdeps/i386/fpu/libm-test-ulps: Update.
54117 2013-07-02  David S. Miller  <davem@davemloft.net>
54119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54121 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
54123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54125 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54127         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54130 2013-07-02  Andi Kleen <ak@linux.intel.com>
54132         * config.h.in (ENABLE_LOCK_ELISION): Add.
54133         * configure.in (--enable-lock-elision): Add option.
54134         * manual/install.texi: Document --enable lock elision.
54135         * configure: Regenerate
54136         * INSTALL: Regenerate.
54138 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
54140         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54141         SSE4.2 strcasecmp for libc.a.
54142         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54144 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54146         [BZ #13304]
54147         * soft-fp/op-common.h (_FP_FMA): New macro.
54148         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54149         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
54150         (_FP_MUL_MEAT_1_imm): ... here.
54151         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
54152         (_FP_MUL_MEAT_1_wide): ... here.
54153         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
54154         (_FP_MUL_MEAT_1_hard): ... here.
54155         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54156         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
54157         (_FP_MUL_MEAT_2_wide): ... here.
54158         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
54159         (_FP_MUL_MEAT_2_wide_3mul): ... here.
54160         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
54161         (_FP_MUL_MEAT_2_gmp): ... here.
54162         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54163         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
54164         (_FP_MUL_MEAT_4_wide): ... here.
54165         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
54166         (_FP_MUL_MEAT_4_gmp): ... here.
54167         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54168         (_FP_WFRACBITS_DW_S): Likewise.
54169         (_FP_WFRACXBITS_DW_S): Likewise.
54170         (_FP_HIGHBIT_DW_S): Likewise.
54171         (FP_FMA_S): Likewise.
54172         (_FP_FRAC_HIGH_DW_S): Likewise.
54173         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54174         (_FP_WFRACBITS_DW_D): Likewise.
54175         (_FP_WFRACXBITS_DW_D): Likewise.
54176         (_FP_HIGHBIT_DW_D): Likewise.
54177         (FP_FMA_D): Likewise.
54178         (_FP_FRAC_HIGH_DW_D): Likewise.
54179         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54180         (_FP_WFRACBITS_DW_E): Likewise.
54181         (_FP_WFRACXBITS_DW_E): Likewise.
54182         (_FP_HIGHBIT_DW_E): Likewise.
54183         (FP_FMA_E): Likewise.
54184         (_FP_FRAC_HIGH_DW_E): Likewise.
54185         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54186         (_FP_WFRACBITS_DW_Q): Likewise.
54187         (_FP_WFRACXBITS_DW_Q): Likewise.
54188         (_FP_HIGHBIT_DW_Q): Likewise.
54189         (FP_FMA_Q): Likewise.
54190         (_FP_FRAC_HIGH_DW_Q): Likewise.
54191         * soft-fp/fmasf4.c: New file.
54192         * soft-fp/fmadf4.c: Likewise.
54193         * soft-fp/fmatf4.c: Likewise.
54195 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54197         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54198         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54199         Silvermont.
54200         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54201         macro.
54202         (index_Slow_SSE4_2): Likewise.
54203         (index_Prefer_PMINUB_for_stringop): Likewise.
54204         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54205         bit_Slow_SSE4_2 is set.
54206         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54207         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54209 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54211         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54212         rtld_global._dl_hwcap2.
54213         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54214         POWER8.
54215         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54216         POWER8 feature descriptions defined in _dl_hwcap2.
54217         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54218         string handling for POWER8 feature bits.
54219         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54220         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54221         _dl_powerpc_cap_flags.
54222         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54223         * sysdeps/powerpc/rtld-global-offsets.sym
54224         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54225         _dl_hwcap2 in the rtld_global_ro structure.
54227 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54229         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54230         hardware capabilities in support of AT_HWCAP2.
54231         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54232         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54233         GLRO(dl_hwcap2).
54234         (_dl_show_auxv): Add support for calling _dl_procinfo to display
54235         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
54236         explicitly the unknown a_type display mechanism is used.
54237         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54238         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54239         struct member.
54240         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54241         to macro prototype for AT_HWCAP2 support.
54242         * sysdeps/i386/dl-procinfo.h: Likewise.
54243         * sysdeps/s390/dl-procinfo.h: Likewise.
54244         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54245         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
54246         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
54247         return -1 for unknown a_type display fallback.
54248         * sysdeps/sparc/dl-procinfo.h: Likewise.
54249         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54250         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54252 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
54254         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54255         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54257 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
54259         [BZ #12492]
54260         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54261         mprotect making __stack_prot writable.
54263 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
54264             Joseph Myers  <joseph@codesourcery.com>
54266         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54267         as being properly aligned.
54269 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
54271         * dlfcn/modstatic5.c: New file.
54272         * dlfcn/tststatic5.c: New file.
54273         * dlfcn/Makefile (tests): Add tststatic5.
54274         (tests-static): Likewise.
54275         (modules-names): Add modstatic5.
54276         (tststatic5-ENV): New variable.
54277         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54279         [BZ #15022]
54280         * elf/dl-support.c (_dl_main_map): New variable.
54281         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54282         (_dl_nns, _dl_load_adds): Set to 1.
54283         (_dl_initial_searchlist): Refer to _dl_main_map.
54284         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54285         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54286         call to _dl_get_origin.
54287         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54288         around call_map.
54289         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54290         * dlfcn/modstatic3.c: New file.
54291         * dlfcn/tststatic3.c: New file.
54292         * dlfcn/tststatic4.c: New file.
54293         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54294         (tests-static): Likewise.
54295         (modules-names): Add modstatic3.
54296         (tststatic3-ENV, tststatic4-ENV): New variables.
54297         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54298         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54300 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
54302         * configure.in (CC): Require GCC version 4.4 or later.
54303         * configure: Regenerated.
54304         * manual/install.texi (Tools for Compilation): Update GCC version
54305         requirement.
54306         * INSTALL: Regenerated.
54308 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54310         [BZ #15674]
54311         * string/test-memcmp.c (check2): New.
54312         (main): Call check2.
54314         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54316 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
54318         [BZ #15022]
54319         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54320         over to...
54321         (dl_open_worker) [!SHARED]: ... here.
54323 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54325         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54327 2013-06-25  Richard Henderson  <rth@redhat.com>
54329         * locale/programs/locarchive.c: Include <libc-internal.h>
54331 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
54333         * manual/texinfo.tex: Update to version 2013-06-21.17, with
54334         trailing whitespace removed.
54336 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54338         [BZ #10283]
54339         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54340         * locale/programs/locarchive.c: Include libc-mmap.h.
54341         (prepare_address_space): Take two new outputs (the mmap base and len).
54342         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
54343         values.
54344         (create_archive): Declare new mmap base and len values for
54345         prepare_address_space, and store the result in ah.
54346         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54347         (enlarge_archive): If ah->mmap_base is not NULL, use that and
54348         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54349         Declare new mmap base and len values for
54350         prepare_address_space, and store the result in new_ah.
54351         (open_archive): Declare new mmap base and len values for
54352         prepare_address_space, and store the result in ah.
54353         (close_archive): If ah->mmap_base is not NULL, use that and
54354         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54355         * sysdeps/generic/libc-mmap.h: New file.
54357 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54359         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54360         (ALIGN_UP): Likewise.
54361         (PTR_ALIGN_DOWN): Likewise.
54362         (PTR_ALIGN_UP): Likewise.
54364 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54366         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54367         entry mapped to PPC_PLATFORM_POWER8.
54368         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54369         POWER8.
54370         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54371         (_dl_string_platform): Add case for exporting platform position for
54372         POWER8.
54373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54374         search path to sysdeps/powerpc/powerpc32/power8 directory.
54375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54376         search path to sysdeps/powerpc/powerpc64/power8 directory.
54377         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54378         power7 directories.
54379         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54380         power7 directories.
54382 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54384         * INSTALL: Regenerate.
54386         * nscd/connections.c (nscd_init): Fix comment.
54388 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
54390         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54392         [BZ #15667]
54393         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54394         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54396 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54398         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54399         DL_DST_REQ_STATIC.
54400         (DL_DST_REQ_STATIC): Remove macro.
54402 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
54404         [BZ #7006]
54405         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54406         with a shift of 0 bits.
54408 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54410         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54411         $(tststatic-ENV).
54413 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54415         [BZ #15655]
54416         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54418 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54420         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54421         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54422         accepts -fno-tree-loop-distribute-patterns.
54423         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54424         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54425         recursive call.
54426         * string/memset.c (memset): Likewise.
54427         * string/test-memmove.c (simple_memmove): Disable loop transformation
54428         to library calls.
54429         * string/test-memset.c (simple_memset): Likewise.
54430         * benchtests/bench-memmove.c (simple_memmove): Likewise.
54431         * benchtests/bench-memset.c (simple_memset): Likewise.
54432         * configure: Regenerated.
54434 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
54436         * math/test-misc.c (main): Ignore fesetround failure when failures
54437         of subsequent rounding tests would be ignored.
54439         [BZ #15654]
54440         * math/fedisblxcpt.c (fedisableexcept): Return 0.
54441         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54442         * math/fegetenv.c (__fegetenv): Return 0.
54443         * math/fegetexcept.c (fegetexcept): Return 0.
54444         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54445         FE_TONEAREST.
54446         * math/feholdexcpt.c (feholdexcept): Return 0.
54447         * math/fesetenv.c (__fesetenv): Return 0.
54448         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54449         argument FE_TONEAREST.
54450         * math/feupdateenv.c (__feupdateenv): Return 0.
54451         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54453 2013-06-18  Roland McGrath  <roland@hack.frob.com>
54455         * elf/rtld-Rules (rtld-compile-command.S): New variable.
54456         (rtld-compile-command.s, rtld-compile-command.c): New variables.
54457         ($(objpfx)rtld-%.os rules): Use them.
54459 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54461         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54462         fields.
54464 2013-06-17  Roland McGrath  <roland@hack.frob.com>
54466         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54467         length of target pattern, then descending length of dependency pattern.
54468         * configure.in (AWK): Require gawk 3.1.2 or newer.
54469         * manual/install.texi (Tools for Compilation): Say that we do.
54470         * configure: Regenerated.
54472         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54473         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54474         * scripts/sysd-rules.awk: ... this new script.
54475         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54476         than a glob-style pattern.
54478 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
54480         * math/test-misc.c (main): Do not treat incorrectly rounded
54481         conversions as failure unless ROUNDING_TESTS passes.
54483 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
54485         [BZ #15631]
54486         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54487         restore exception state around main square root computation, then
54488         check for inexactness explicitly.
54490         * math/libm-test.inc (fma_test_data): Add another test.
54492 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54494         * manual/threads.texi (Non-POSIX Extensions): New document
54495         node.  Document pthread_getattr_default_np and
54496         pthread_setattr_default_np.
54498         * Versions.def (libpthread): Add GLIBC_2.18.
54499         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54501         Likewise.
54502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54503         Likewise.
54504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54505         Likewise.
54506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54507         Likewise.
54508         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54509         Likewise.
54510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54511         Likewise.
54512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54513         Likewise.
54514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54515         Likewise.
54516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54517         Likewise.
54519 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54522         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54524 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54525             H.J. Lu  <hjl.tools@gmail.com>
54527         [BZ #15627]
54528         * sysdeps/x86_64/rtld-memset.c: Remove file.
54529         * sysdeps/x86_64/rtld-memset.S: New file.
54531 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
54533         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54534         (test_in_one_mode): Take arguments for whether the rounding mode
54535         is supported for each floating-point type.
54536         (do_test): Pass new arguments to test_in_one_mode using
54537         ROUNDING_TESTS.
54539 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54541         * posix/tst-waitid.c (do_test): Distinguish different instances of
54542         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
54543         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54544         before entering the kernel for waitpid.
54546 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54548         * NEWS: Fix note on clock function precision.  Text by Roland
54549         McGrath.
54551 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54553         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54554         it into place only when and if the sanity check passes.
54556 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
54558         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54559         output for whether conversion result is exact.  Take argument
54560         indicating whether type is IBM long double.
54561         (round_for_all): Change need_exact field to ibm_ld.
54562         * stdlib/tst-strtod-round.c (struct exactness): New type.
54563         (struct test): Change bool ld_ok field to struct exactness exact.
54564         (TEST): Update all definitions for change to field.
54565         (tests): Regenerate array contents.
54566         (test_in_one_mode): Take pointer to new field instead of old ld_ok
54567         field value.  Check for IBM long double here.
54568         (do_test): Update calls to test_in_one_mode.
54570 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54572         [BZ #12515]
54573         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54574         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54576 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54578         [BZ #15605]
54579         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54580         generated by the compiler on loop optimizations.
54581         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54582         general definitions.
54584 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
54586         * math/bug-nextafter.c: Include <math-tests.h>.
54587         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54588         the relevant type.
54589         * math/bug-nexttoward.c: Include <math-tests.h>.
54590         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54591         the relevant type.
54592         * math/test-misc.c: Include <math-tests.h>.
54593         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54594         the relevant type.
54596 2013-06-12  Andreas Jaeger  <aj@suse.de>
54598         * po/ia.po: Update Interlingua translation from translation
54599         project.
54601 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54603         * include/fenv.h: Include stdbool.h.
54604         (struct rm_ctx): New structure.
54605         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54606         Define macro.
54607         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54608         (SET_RESTORE_ROUNDF): Likewise.
54609         (SET_RESTORE_ROUNDL): Likewise.
54610         (SET_RESTORE_ROUND_NOEX): Likewise.
54611         (SET_RESTORE_ROUND_NOEXF): Likewise.
54612         (SET_RESTORE_ROUND_NOEXL): Likewise.
54613         (SET_RESTORE_ROUND_53BIT): Likewise.
54614         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54615         (libc_feresetround_noexf_ctx): Likewise.
54616         (libc_feresetround_noexl_ctx): Likewise.
54617         (libc_feholdsetround_53bit_ctx): Likewise.
54618         (libc_feresetround_53bit_ctx): Likewise.
54619         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54620         (libc_feholdexcept_setround_sse_ctx): New function.
54621         (libc_fesetenv_sse_ctx): Likewise.
54622         (libc_feupdateenv_sse_ctx): Likewise.
54623         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54624         (libc_feholdexcept_setround_387_ctx): Likewise.
54625         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54626         (libc_feholdsetround_387_prec_ctx): Likewise.
54627         (libc_feholdsetround_387_ctx): Likewise.
54628         (libc_feholdsetround_387_53bit_ctx): Likewise.
54629         (libc_feholdsetround_sse_ctx): Likewise.
54630         (libc_feresetround_sse_ctx): Likewise.
54631         (libc_feresetround_387_ctx): Likewise.
54632         (libc_feupdateenv_387_ctx): Likewise.
54633         (libc_feholdexcept_setroundf_ctx): Define macro.
54634         (libc_fesetenvf_ctx): Likewise.
54635         (libc_feupdateenvf_ctx): Likewise.
54636         (libc_feholdsetroundf_ctx): Likewise.
54637         (libc_feresetroundf_ctx): Likewise.
54638         (libc_feholdexcept_setround_ctx): Likewise.
54639         (libc_fesetenv_ctx): Likewise.
54640         (libc_feupdateenv_ctx): Likewise.
54641         (libc_feholdsetround_ctx): Likewise.
54642         (libc_feresetround_ctx): Likewise.
54643         (libc_feholdexcept_setroundl_ctx): Likewise.
54644         (libc_feupdateenvl_ctx): Likewise.
54645         (libc_feholdsetroundl_ctx): Likewise.
54646         (libc_feresetroundl_ctx): Likewise.
54647         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54648         (libc_feresetround_53bit_ctx): Likewise.
54650 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54652         * locale/iso-639.def: Convert to UTF-8.
54654 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
54656         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54657         (EXCEPTION_TESTS_double): Likewise.
54658         (EXCEPTION_TESTS_long_double): Likewise.
54659         (EXCEPTION_TESTS): Likewise.
54660         * math/libm-test.inc (test_exceptions): Only test exceptions if
54661         EXCEPTION_TESTS (FLOAT).
54663 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54665         * benchtests/Makefile (string-bench): Add strcpy_chk and
54666         stpcpy_chk.
54667         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54668         * benchtests/bench-stpcpy_chk.c: New file.
54669         * benchtests/bench-strcpy_chk-ifunc.c: New file.
54670         * benchtests/bench-strcpy_chk.c: New file.
54671         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54672         code.
54673         (do_test): Likewise.
54675 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54677         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54678         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54679         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54680         with tabs where appropriate.
54681         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54682         dl-procinfo.h.
54683         [PPC_PLATFORM_PPC440]: Likewise.
54684         [PPC_PLATFORM_PPC464]: Likewise.
54685         [PPC_PLATFORM_PPC476]: Likewise.
54686         (_dl_string_platform): Add support for detecting ppc405, ppc440,
54687         ppc464, and ppc476 platform strings merging from ports/
54688         dl-procinfo.h.
54690 2013-06-11  Andreas Schwab  <schwab@suse.de>
54692         [BZ #14991]
54693         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54694         (from_ucs4_idx): Regenerate.
54695         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54696         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54697         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54698         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54699         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54700         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54701         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54702         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54703         from FROM_LOOP and TO_LOOP specific macros.
54704         (BODY): Handle combining characters.
54705         * iconvdata/BIG5HKSCS.irreversible: Update.
54706         * iconvdata/BIG5HKSCS.precomposed: New file.
54707         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54708         characters.
54709         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54711 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54713         * include/sys/time.h: Fix indentation and add copyright header.
54715         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54716         (do_test): Likewise.
54717         * string/test-memchr.c (do_one_test): Likewise.
54718         (do_test): Likewise.
54719         * string/test-memcmp.c (do_one_test): Likewise.
54720         (do_test): Likewise.
54721         * string/test-memcpy.c (do_one_test): Likewise.
54722         (do_test): Likewise.
54723         * string/test-memmem.c (do_one_test): Likewise.
54724         (do_test): Likewise.
54725         (do_random_tests): Likewise.
54726         * string/test-memmove.c (do_one_test): Likewise.
54727         (do_test): Likewise.
54728         * string/test-memset.c (do_one_test): Likewise.
54729         (do_test): Likewise.
54730         * string/test-rawmemchr.c (do_one_test): Likewise.
54731         (do_test): Likewise.
54732         * string/test-strcasecmp.c (do_one_test): Likewise.
54733         (do_test): Likewise.
54734         * string/test-strcasestr.c (do_one_test): Likewise.
54735         (do_test): Likewise.
54736         * string/test-strcat.c (do_one_test): Likewise.
54737         (do_test): Likewise.
54738         * string/test-strchr.c (do_one_test): Likewise.
54739         (do_test): Likewise.
54740         * string/test-strcmp.c (do_one_test): Likewise.
54741         (do_test): Likewise.
54742         * string/test-strcpy.c (do_one_test): Likewise.
54743         (do_test): Likewise.
54744         * string/test-string.h: Likewise.
54745         (test_init): Likewise.
54746         * string/test-strlen.c (do_one_test): Likewise.
54747         (do_test): Likewise.
54748         * string/test-strncasecmp.c (do_one_test): Likewise.
54749         (do_test): Likewise.
54750         * string/test-strncat.c (do_one_test): Likewise.
54751         (do_test): Likewise.
54752         * string/test-strncmp.c (do_one_test): Likewise.
54753         (do_test_limit): Likewise.
54754         (do_test): Likewise.
54755         * string/test-strncpy.c (do_one_test): Likewise.
54756         (do_test): Likewise.
54757         * string/test-strnlen.c (do_one_test): Likewise.
54758         (do_test): Likewise.
54759         * string/test-strpbrk.c (do_one_test): Likewise.
54760         (do_test): Likewise.
54761         * string/test-strrchr.c (do_one_test): Likewise.
54762         (do_test): Likewise.
54763         * string/test-strspn.c (do_one_test): Likewise.
54764         (do_test): Likewise.
54765         * string/test-strstr.c (do_one_test): Likewise.
54766         (do_test): Likewise.
54768         * benchtests/Makefile (string-bench): Add string benchmarks.
54769         * benchtests/bench-bcopy-ifunc.c: New file.
54770         * benchtests/bench-bcopy.c: New file.
54771         * benchtests/bench-bzero-ifunc.c: New file.
54772         * benchtests/bench-bzero.c: New file.
54773         * benchtests/bench-memccpy-ifunc.c: New file.
54774         * benchtests/bench-memccpy.c: New file.
54775         * benchtests/bench-memchr-ifunc.c: New file.
54776         * benchtests/bench-memchr.c: New file.
54777         * benchtests/bench-memcmp-ifunc.c: New file.
54778         * benchtests/bench-memcmp.c: New file.
54779         * benchtests/bench-memmem-ifunc.c: New file.
54780         * benchtests/bench-memmem.c: New file.
54781         * benchtests/bench-memmove-ifunc.c: New file.
54782         * benchtests/bench-memmove.c: New file.
54783         * benchtests/bench-mempcpy-ifunc.c: New file.
54784         * benchtests/bench-mempcpy.c: New file.
54785         * benchtests/bench-memset-ifunc.c: New file.
54786         * benchtests/bench-memset.c: New file.
54787         * benchtests/bench-rawmemchr-ifunc.c: New file.
54788         * benchtests/bench-rawmemchr.c: New file.
54789         * benchtests/bench-stpcpy-ifunc.c: New file.
54790         * benchtests/bench-stpcpy.c: New file.
54791         * benchtests/bench-stpncpy-ifunc.c: New file.
54792         * benchtests/bench-stpncpy.c: New file.
54793         * benchtests/bench-strcasecmp-ifunc.c: New file.
54794         * benchtests/bench-strcasecmp.c: New file.
54795         * benchtests/bench-strcasestr-ifunc.c: New file.
54796         * benchtests/bench-strcasestr.c: New file.
54797         * benchtests/bench-strcat-ifunc.c: New file.
54798         * benchtests/bench-strcat.c: New file.
54799         * benchtests/bench-strchr-ifunc.c: New file.
54800         * benchtests/bench-strchr.c: New file.
54801         * benchtests/bench-strchrnul-ifunc.c: New file.
54802         * benchtests/bench-strchrnul.c: New file.
54803         * benchtests/bench-strcmp-ifunc.c: New file.
54804         * benchtests/bench-strcmp.c: New file.
54805         * benchtests/bench-strcpy-ifunc.c: New file.
54806         * benchtests/bench-strcpy.c: New file.
54807         * benchtests/bench-strcspn-ifunc.c: New file.
54808         * benchtests/bench-strcspn.c: New file.
54809         * benchtests/bench-strlen-ifunc.c: New file.
54810         * benchtests/bench-strlen.c: New file.
54811         * benchtests/bench-strncasecmp-ifunc.c: New file.
54812         * benchtests/bench-strncasecmp.c: New file.
54813         * benchtests/bench-strncat-ifunc.c: New file.
54814         * benchtests/bench-strncat.c: New file.
54815         * benchtests/bench-strncmp-ifunc.c: New file.
54816         * benchtests/bench-strncmp.c: New file.
54817         * benchtests/bench-strncpy-ifunc.c: New file.
54818         * benchtests/bench-strncpy.c: New file.
54819         * benchtests/bench-strnlen-ifunc.c: New file.
54820         * benchtests/bench-strnlen.c: New file.
54821         * benchtests/bench-strpbrk-ifunc.c: New file.
54822         * benchtests/bench-strpbrk.c: New file.
54823         * benchtests/bench-strrchr-ifunc.c: New file.
54824         * benchtests/bench-strrchr.c: New file.
54825         * benchtests/bench-strspn-ifunc.c: New file.
54826         * benchtests/bench-strspn.c: New file.
54827         * benchtests/bench-strstr-ifunc.c: New file.
54828         * benchtests/bench-strstr.c: New file.
54830         * benchtests/Makefile: Disable parallel execution of targets.
54831         (string-bench): Add memcpy.
54832         (benchset): New variable to store a list of benchmark sets.
54833         (bench-func): Renamed from bench.
54834         (bench-set): New target.
54835         (bench): Depend on bench-func and bench-set.
54836         * benchtests/README: Add section on benchmark sets.
54837         * benchtests/bench-memcpy-ifunc.c: New file.
54838         * benchtests/bench-memcpy.c: New file.
54839         * benchtests/bench-string.h: New file.
54841 2013-06-11  Andreas Schwab  <schwab@suse.de>
54843         [BZ #15577]
54844         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54845         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54846         values in the triple.
54847         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54848         terminator in the group key.
54850 2013-06-11  Andreas Jaeger  <aj@suse.de>
54852         * po/zh_TW.po: Update Chinese (traditional) translation from
54853         translation project.
54855 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54857         * include/time.h (__clock_gettime): Add libc_hidden_proto.
54858         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54859         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
54860         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54861         (clock_getcpuclockid): Likewise.
54862         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54863         Add weak_alias and libc_hidden_def.
54864         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54865         * rt/clock_gettime.c (clock_gettime): Rename to
54866         __clock_gettime.  Add weak_alias and libc_hidden_def.
54867         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54868         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54869         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
54870         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54871         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54872         Likewise.
54873         * rt/clock_settime.c (clock_settime): Rename to
54874         __clock_settime.  Add weak_alias and libc_hidden_def.
54875         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54877 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
54879         * mach/err_boot.sub: Remove trailing whitespace.
54880         * mach/err_ipc.sub: Likewise.
54881         * mach/err_mach.sub: Likewise.
54883         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54884         (ROUNDING_TESTS_double): Likewise.
54885         (ROUNDING_TESTS_long_double): Likewise.
54886         (ROUNDING_TESTS): Likewise.
54887         * math/libm-test.inc: Include <math-tests.h>.
54888         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54889         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54890         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54891         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54893 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54895         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54896         of assigning.
54898 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54900         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54901         otherwise empty TRANS lines.
54902         * sysdeps/gnu/errlist.c: Regenerated.
54904         * catgets/gencat.c (error_print): Use (void) in function
54905         definition.
54906         * crypt/crypt_util.c (__init_des): Likewise.
54907         * crypt/speeds.c (Stop): Likewise.
54908         (main): Likewise.
54909         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54910         * inet/ruserpass.c (token): Likewise.
54911         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54912         * intl/localealias.c (extend_alias_table): Likewise.
54913         * intl/plural-exp.c (init_germanic_plural): Likewise.
54914         * libio/fcloseall.c (__fcloseall): Likewise.
54915         * libio/genops.c (_IO_flush_all): Likewise.
54916         (_IO_flush_all_linebuffered): Likewise.
54917         (_IO_cleanup): Likewise.
54918         (_IO_iter_begin): Likewise.
54919         (_IO_iter_end): Likewise.
54920         (_IO_list_lock): Likewise.
54921         (_IO_list_unlock): Likewise.
54922         (_IO_list_resetlock): Likewise.
54923         * libio/getchar.c (getchar): Likewise.
54924         * libio/getchar_u.c (getchar_unlocked): Likewise.
54925         * libio/getwchar.c (getwchar): Likewise.
54926         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54927         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54928         * login/getpt.c (__getpt): Likewise.
54929         * login/tst-utmp.c (main): Likewise.
54930         * malloc/hooks.c (__malloc_check_init): Likewise.
54931         * malloc/malloc.c (__malloc_stats): Likewise.
54932         * malloc/mtrace.c (tr_break): Likewise.
54933         (mtrace): Likewise.
54934         (muntrace): Likewise.
54935         * misc/fstab.c (endfsent): Likewise.
54936         * misc/getclktck.c (__getclktck): Likewise.
54937         * misc/getdtsz.c (__getdtablesize): Likewise.
54938         * misc/gethostid.c (gethostid): Likewise.
54939         * misc/getpagesize.c (__getpagesize): Likewise.
54940         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54941         (__get_nprocs): Likewise.
54942         (__get_phys_pages): Likewise.
54943         (__get_avphys_pages): Likewise.
54944         * misc/getttyent.c (getttyent): Likewise.
54945         (setttyent): Likewise.
54946         (endttyent): Likewise.
54947         * misc/getusershell.c (getusershell): Likewise.
54948         (endusershell): Likewise.
54949         (setusershell): Likewise.
54950         (initshells): Likewise.
54951         * misc/hsearch.c (__hdestroy): Likewise.
54952         * misc/sync.c (sync): Likewise.
54953         * misc/syslog.c (closelog_internal): Likewise.
54954         (closelog): Likewise.
54955         * misc/ttyslot.c (ttyslot): Likewise.
54956         * misc/vhangup.c (vhangup): Likewise.
54957         * posix/fork.c (__fork): Likewise.
54958         * posix/getegid.c (__getegid): Likewise.
54959         * posix/geteuid.c (__geteuid): Likewise.
54960         * posix/getgid.c (__getgid): Likewise.
54961         * posix/getpid.c (__getpid): Likewise.
54962         * posix/getppid.c (__getppid): Likewise.
54963         * posix/getuid.c (__getuid): Likewise.
54964         * posix/pause.c (pause): Likewise.
54965         * posix/setpgrp.c (setpgrp): Likewise.
54966         * posix/setsid.c (__setsid): Likewise.
54967         * posix/test-vfork.c (noop): Likewise.
54968         * resolv/gethnamaddr.c (_endhtent): Likewise.
54969         (_gethtent): Likewise.
54970         (ht_endhostent): Likewise.
54971         (gethostent): Likewise.
54972         (dns_service): Likewise.
54973         * stdlib/drand48.c (drand48): Likewise.
54974         * stdlib/lrand48.c (lrand48): Likewise.
54975         * stdlib/mrand48.c (mrand48): Likewise.
54976         * stdlib/rand.c (rand): Likewise.
54977         * stdlib/random.c (__random): Likewise.
54978         * stdlib/setenv.c (clearenv): Likewise.
54979         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54980         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54981         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54982         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54983         (__get_nprocs): Likewise.
54984         (__get_phys_pages): Likewise.
54985         (__get_avphys_pages): Likewise.
54986         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54987         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54988         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54989         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54990         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54991         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54992         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54993         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54994         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54995         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54996         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54997         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54998         * sysdeps/posix/clock.c (clock): Likewise.
54999         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
55000         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
55001         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
55002         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
55003         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
55004         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
55005         (__get_nprocs_conf): Likewise.
55006         (__get_phys_pages): Likewise.
55007         (__get_avphys_pages): Likewise.
55008         * time/clock.c (clock): Likewise.
55009         * time/tzset.c (__tzname_max): Likewise.
55011 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
55013         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
55014         (__bswap_32): Do not use "register".
55015         * crypt/crypt.c (_ufc_doit_r): Likewise.
55016         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55017         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55018         * gmon/gmon.c (__monstartup): Likewise.
55019         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
55020         * hurd/hurdmalloc.c (more_memory): Likewise.
55021         (malloc): Likewise.
55022         (free): Likewise.
55023         (realloc): Likewise.
55024         (malloc_fork_prepare): Likewise.
55025         (malloc_fork_parent): Likewise.
55026         (malloc_fork_child): Likewise.
55027         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
55028         (_svcauth_des): Likewise.
55029         * inet/inet_lnaof.c (inet_lnaof): Likewise.
55030         * inet/inet_net.c (inet_network): Likewise.
55031         * inet/inet_netof.c (inet_netof): Likewise.
55032         * inet/rcmd.c (__validuser2_sa): Likewise.
55033         * io/fts.c (fts_open): Likewise.
55034         (fts_load): Likewise.
55035         (fts_close): Likewise.
55036         (fts_read): Likewise.
55037         (fts_children): Likewise.
55038         (fts_build): Likewise.
55039         (fts_stat): Likewise.
55040         (fts_sort): Likewise.
55041         (fts_alloc): Likewise.
55042         (fts_lfree): Likewise.
55043         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
55044         (_IO_file_xsgetn): Likewise.
55045         (_IO_file_xsgetn_mmap): Likewise.
55046         * libio/iofopncook.c (_IO_cookie_read): Likewise.
55047         (_IO_cookie_write): Likewise.
55048         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
55049         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
55050         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
55051         * malloc/obstack.c (_obstack_begin): Likewise.
55052         (_obstack_begin_1): Likewise.
55053         (_obstack_newchunk): Likewise.
55054         (_obstack_allocated_p): Likewise.
55055         (obstack_free): Likewise.
55056         (_obstack_memory_used): Likewise.
55057         * misc/getttyent.c (getttynam): Likewise.
55058         (getttyent): Likewise.
55059         (skip): Likewise.
55060         (value): Likewise.
55061         * misc/getusershell.c (initshells): Likewise.
55062         * misc/syslog.c (__vsyslog_chk): Likewise.
55063         * misc/ttyslot.c (ttyslot): Likewise.
55064         * nis/nis_hash.c (__nis_hash): Likewise.
55065         * posix/fnmatch_loop.c (FCT): Likewise.
55066         * posix/getconf.c (print_all): Likewise.
55067         (main): Likewise.
55068         * posix/getopt.c (exchange): Likewise.
55069         * posix/glob.c (globfree): Likewise.
55070         (prefix_array): Likewise.
55071         (__glob_pattern_type): Likewise.
55072         * resolv/arpa/nameser.h (NS_GET16): Likewise.
55073         (NS_GET32): Likewise.
55074         (NS_PUT16): Likewise.
55075         (NS_PUT32): Likewise.
55076         * resolv/gethnamaddr.c (getanswer): Likewise.
55077         (gethostbyname2): Likewise.
55078         (gethostbyaddr): Likewise.
55079         (_gethtent): Likewise.
55080         (_gethtbyname2): Likewise.
55081         (_gethtbyaddr): Likewise.
55082         * resolv/ns_print.c (dst_s_get_int16): Likewise.
55083         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
55084         * resolv/res_init.c (__res_vinit): Likewise.
55085         (net_mask): Likewise.
55086         * resolv/res_mkquery.c (outchar): Likewise.
55087         (PRINT): Likewise.
55088         * stdio-common/printf_fp.c (outchar): Likewise.
55089         (PRINT): Likewise.
55090         * stdio-common/printf_fphex.c (outchar): Likewise.
55091         (PRINT): Likewise.
55092         * stdio-common/printf_size.c (outchar): Likewise.
55093         (PRINT): Likewise.
55094         * stdio-common/test_rdwr.c (main): Likewise.
55095         * stdio-common/tfformat.c (matches): Likewise.
55096         * stdio-common/vfprintf.c (outchar): Likewise.
55097         (printf_unknown): Likewise.
55098         (buffered_vfprintf): Likewise.
55099         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55100         * stdio-common/xbug.c (AppendToBuffer): Likewise.
55101         (ReadFile): Likewise.
55102         * stdlib/qsort.c (SWAP): Likewise.
55103         (_quicksort): Likewise.
55104         * stdlib/setenv.c (__add_to_environ): Likewise.
55105         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55106         * stdlib/strtol_l.c (__strtol_l): Likewise.
55107         * stdlib/tst-strtod.c (main): Likewise.
55108         * stdlib/tst-strtol.c (main): Likewise.
55109         * stdlib/tst-strtoll.c (main): Likewise.
55110         * string/bits/string2.h (__strcmp_cc): Likewise.
55111         (__strcmp_cg): Likewise.
55112         (__strcspn_c1): Likewise.
55113         (__strcspn_c2): Likewise.
55114         (__strcspn_c3): Likewise.
55115         (__strspn_c1): Likewise.
55116         (__strspn_c2): Likewise.
55117         (__strspn_c3): Likewise.
55118         (__strsep_1c): Likewise.
55119         (__strsep_2c): Likewise.
55120         (__strsep_3c): Likewise.
55121         * string/memccpy.c (__memccpy): Likewise.
55122         * string/stpcpy.c (__stpcpy): Likewise.
55123         * string/strcmp.c (strcmp): Likewise.
55124         * string/strrchr.c (strrchr): Likewise.
55125         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55126         Likewise.
55127         * sysdeps/mach/hurd/getcwd.c
55128         (_hurd_canonicalize_directory_name_internal): Likewise.
55129         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55130         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55131         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55132         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55133         Likewise, in both definitions.
55134         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55135         definitions.
55136         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55137         64] (__bswap_64): Likewise.
55138         * time/test_time.c (main): Likewise.
55139         * time/tzfile.c (__tzfile_read): Likewise.
55140         (__tzfile_compute): Likewise.
55141         * time/tzset.c (__tzset_parse_tz): Likewise.
55142         (tzset_internal): Likewise.
55143         (compute_change): Likewise.
55144         * wcsmbs/wcscat.c (__wcscat): Likewise.
55145         * wcsmbs/wcschr.c (wcschr): Likewise.
55146         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55147         * wcsmbs/wcscspn.c (wcscspn): Likewise.
55148         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55149         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55150         * wcsmbs/wcsspn.c (wcsspn): Likewise.
55151         * wcsmbs/wcsstr.c (wcsstr): Likewise.
55152         * wcsmbs/wmemchr.c (wmemchr): Likewise.
55153         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55154         * wcsmbs/wmemset.c (wmemset): Likewise.
55156 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
55158         * scripts/config.guess: Update to version 2013-05-16.
55159         * scripts/config.sub: Update to version 2013-04-24.
55160         * scripts/install-sh: Update to version 2011-11-20.07.
55161         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55162         * scripts/move-if-change: Update to version 2012-01-06 07:23.
55164 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
55166         * debug/fgetws_u_chk.c: Fix leading whitespaces.
55167         * elf/sln.c: Likewise.
55168         * hurd/hurd/ioctl.h: Likewise.
55169         * hurd/hurdmalloc.c: Likewise.
55170         * hurd/xattr.c: Likewise.
55171         * include/shlib-compat.h: Likewise.
55172         * inet/ruserpass.c: Likewise.
55173         * libio/iofgets_u.c: Likewise.
55174         * libio/iofgetws_u.c: Likewise.
55175         * locale/programs/ld-identification.c: Likewise.
55176         * locale/programs/ld-time.c: Likewise.
55177         * mach/msg-destroy.c: Likewise.
55178         * nss/nss_files/files-netgrp.c: Likewise.
55179         * resolv/res_data.c: Likewise.
55180         * soft-fp/op-1.h: Likewise.
55181         * soft-fp/op-2.h: Likewise.
55182         * soft-fp/op-4.h: Likewise.
55183         * soft-fp/op-common.h: Likewise.
55184         * stdio-common/printf_fphex.c: Likewise.
55185         * stdlib/strtod_l.c: Likewise.
55186         * sunrpc/rpc/clnt.h: Likewise.
55187         * sysdeps/generic/framestate.c: Likewise.
55188         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55189         * sysdeps/i386/bsd-setjmp.S: Likewise.
55190         * sysdeps/i386/__longjmp.S: Likewise.
55191         * sysdeps/i386/setjmp.S: Likewise.
55192         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55193         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55194         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55195         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55196         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55197         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55198         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55199         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55200         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55201         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55202         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55203         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55204         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55205         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55206         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55207         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55208         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55209         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55210         * sysdeps/ieee754/support.c: Likewise.
55211         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55212         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55213         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55214         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55215         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55216         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55217         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55218         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55219         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55220         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55221         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55222         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55223         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55224         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55225         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55226         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55227         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55230 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
55232         * posix/transbug.c: Remove executable mode.
55234 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
55236         * crypt/speeds.c: Remove trailing whitespace.
55237         * dlfcn/default.c: Likewise.
55238         * elf/ifuncdep2.c: Likewise.
55239         * elf/ifuncmain1.c: Likewise.
55240         * elf/ifuncmain1vis.c: Likewise.
55241         * elf/testobj.h: Likewise.
55242         * elf/tst-stackguard1.c: Likewise.
55243         * gmon/sys/gmon.h: Likewise.
55244         * hurd/hurdmsg.c: Likewise.
55245         * hurd/new-fd.c: Likewise.
55246         * hurd/ports-get.c: Likewise.
55247         * iconvdata/ibm1008_420.c: Likewise.
55248         * inet/tst-getni1.c: Likewise.
55249         * inet/tst-getni2.c: Likewise.
55250         * libio/ioungetc.c: Likewise.
55251         * libio/wfiledoalloc.c: Likewise.
55252         * manual/libm-err-tab.pl: Likewise.
55253         * math/w_dremf.c: Likewise.
55254         * misc/ftruncate.c: Likewise.
55255         * posix/bug-glob2.c: Likewise.
55256         * posix/tst-pcre.c: Likewise.
55257         * posix/wait4.c: Likewise.
55258         * resolv/README: Likewise.
55259         * resolv/res_debug.h: Likewise.
55260         * resolv/tst-inet_ntop.c: Likewise.
55261         * setjmp/bug269-setjmp.c: Likewise.
55262         * soft-fp/extended.h: Likewise.
55263         * soft-fp/op-1.h: Likewise.
55264         * soft-fp/op-2.h: Likewise.
55265         * soft-fp/op-4.h: Likewise.
55266         * soft-fp/op-8.h: Likewise.
55267         * soft-fp/testit.c: Likewise.
55268         * stdio-common/bug16.c: Likewise.
55269         * stdlib/random.c: Likewise.
55270         * sunrpc/rpcsvc/rquota.x: Likewise.
55271         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55272         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55273         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55274         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55275         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55276         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55277         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55278         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55279         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55280         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55281         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55282         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55283         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55284         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55285         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55286         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55287         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55288         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55289         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55290         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55291         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55292         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55293         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55294         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55295         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55296         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55297         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55298         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55299         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55300         * sysdeps/ieee754/s_lib_version.c: Likewise.
55301         * sysdeps/mach/hurd/check_fds.c: Likewise.
55302         * sysdeps/mach/hurd/getsockname.c: Likewise.
55303         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55304         * sysdeps/mach/hurd/recvfrom.c: Likewise.
55305         * sysdeps/powerpc/bits/link.h: Likewise.
55306         * sysdeps/powerpc/dl-procinfo.c: Likewise.
55307         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55308         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55309         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55310         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55311         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55312         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55313         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55314         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55315         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55316         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55317         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55318         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55319         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55320         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55321         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55322         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55323         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55324         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55325         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55326         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55327         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55328         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55329         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55330         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55331         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55332         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55333         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55334         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55335         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55336         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55337         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55338         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55339         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55340         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55341         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55342         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55343         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55344         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55345         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55346         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55347         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55348         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55349         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55350         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55351         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55352         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55353         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55354         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55355         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55356         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55357         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55358         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55359         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55360         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55361         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55362         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55363         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55364         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55365         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55366         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55367         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55368         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55369         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55370         * sysdeps/powerpc/sysdep.h: Likewise.
55371         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55372         * sysdeps/s390/s390-64/sub_n.S: Likewise.
55373         * sysdeps/sh/dl-trampoline.S: Likewise.
55374         * sysdeps/sh/memset.S: Likewise.
55375         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55376         * sysdeps/sh/strlen.S: Likewise.
55377         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55378         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55379         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55380         * sysdeps/sparc/sparc32/rem.S: Likewise.
55381         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55382         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55383         * sysdeps/sparc/sparc32/strchr.S: Likewise.
55384         * sysdeps/sparc/sparc32/udiv.S: Likewise.
55385         * sysdeps/sparc/sparc32/urem.S: Likewise.
55386         * sysdeps/sparc/sparc64/add_n.S: Likewise.
55387         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55388         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55389         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55390         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55391         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55392         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55393         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55394         * sysdeps/unix/bsd/times.c: Likewise.
55395         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55396         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55400         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55401         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55402         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55403         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55404         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55405         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55406         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55407         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55408         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55409         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55410         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55411         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55412         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55413         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55414         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55415         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55416         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55417         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55418         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55419         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55420         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55421         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55422         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55423         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55424         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55425         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55426         * sysdeps/x86_64/strcspn.S: Likewise.
55428 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55430         * locale/C-translit.h: Revert #include <stdint.h> because this is a
55431         generated file.  Regenerate properly from gen-translit.pl.
55432         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
55433         locale/C-translit.h.
55435 2013-06-05  Andreas Schwab  <schwab@suse.de>
55437         [BZ #15100]
55438         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55439         week as 6 instead of -1.
55440         * time/tst-strptime.c (day_tests): Add test case.
55442 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55444         * sysdeps/generic/math_private.h
55445         (libc_feholdexcept_setround_53bit): Replace with
55446         libc_feholdsetround_53bit.
55447         (libc_feupdateenv_53bit): Replace with
55448         libc_feresetround_53bit.
55449         (SET_RESTORE_ROUND_53BIT): Adjust.
55451 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55453         * string/test-strchrnul.c: Add copyright header.
55455         * posix/tst-getaddrinfo4.c: Increase test timeout.
55457 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
55459         [BZ #15536]
55460         * math/libm-test.inc (MAX_EXP): Remove
55461         (MIN_EXP): Define.
55462         (ulp): Use MIN_EXP - MANT_DIG.
55463         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55465 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
55467         * po/be.po: Revert last change.
55468         * po/zh_CN.po: Likewise.
55469         * po/header.pot: Likewise.
55471 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
55473         * Makefile ($(common-objpfx)linkobj/libc.so): Define
55474         link-libc-deps to empty as target-specific variable.
55475         * Makerules (link-libc-args): New variable.
55476         (libc-for-link): Likewise.
55477         (link-libc-deps): Likewise.
55478         (lib%.so): Depend on $(link-libc-deps).  Link with
55479         $(link-libc-args).
55480         (build-module): Link with $(link-libc-args).
55481         (build-module-asneeded): Likewise.
55482         (build-module-helper-objlist): Filter out $(link-libc-deps) from
55483         list of objects.
55484         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55485         target-specific variable.
55486         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55487         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55488         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55489         libc.
55490         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55491         libc and ld.so.
55492         ($(objpfx)libpcprofile.so): Likewise.
55493         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55494         libc_nonshared.a.
55495         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55496         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55497         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55498         $(link-libc-deps).
55499         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55500         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55501         * login/Makefile ($(objpfx)libutil.so): Likewise.
55502         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55503         * math/Makefile ($(objpfx)libm.so): Likewise.
55504         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55505         $(objpfx)libnsl.so): Define libc-for-link as target-specific
55506         variable instead of depending directly on libc.
55507         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55508         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55509         $(link-libc-deps).
55510         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55511         libc.
55512         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55513         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55514         ($(objpfx)libanl.so): Likewise.
55515         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55516         ld.so.
55517         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55518         $(link-libc-deps).
55519         * sysdeps/i386/fpu/Makefile: Remove file.
55520         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55521         ($(objpfx)libm.so): Remove dependency on ld.so.
55523 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
55525         [BZ # 15553]
55526         * nis/yp_xdr.c (XDRMAXNAME): Define.
55527         (XDRMAXRECORD): Define.
55528         (xdr_domainname): Use XDRMAXNAME.
55529         (xdr_mapname): Likewise.
55530         (xdr_peername): Likewise.
55531         (xdr_keydat): Use XDRMAXRECORD.
55532         (xdr_valdat): Likewise.
55534 2013-05-30  Jeff Law  <law@redhat.com>
55536         [BZ #14256]
55537         * manual/errno.texi (ESTALE): Update to account for more than
55538         just NFS file systems.
55539         * sysdeps/gnu/errlist.c: Regenerated.
55541 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55543         [BZ #15465]
55544         * elf/Makefile (tests): Add tst-null-argv.
55545         (modules-names):  Add tst-null-argv-lib.
55546         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55547         (tst-null-argv-ENV): Set environment for tst-null-argv.
55548         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55549         (RTLD_PROGNAME): New macro.
55550         * elf/tst-null-argv.c: New test case.
55551         * elf/tst-null-argv-lib.c: Library for test case.
55552         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55553         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55554         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55555         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55556         * elf/dl-init.c (call_init): Likewise.
55557         (_dl_init): Likewise.
55558         * elf/dl-load.c (print_search_path): Likewise.
55559         (_dl_map_object): Likewise.
55560         * elf/dl-lookup.c (do_lookup_x): Likewise.
55561         (add_dependency): Likewise.
55562         (_dl_lookup_symbol_x): Likewise.
55563         (_dl_debug_bindings): Likewise.
55564         * elf/dl-open.c (_dl_show_scope): Likewise.
55565         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55566         * elf/dl-version.c (match_symbol): Likewise.
55567         (_dl_check_map_versions): Likewise.
55568         * elf/rtld.c (dl_main): Likewise.
55569         (print_unresolved): Use RTLD_PROGNAME.
55570         (print_missing_version): Likewise.
55571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55572         (elf_machine_rela): Likewise.
55573         * sysdeps/powerpc/powerpc32/dl-machine.c
55574         (__process_machine_rela): Likewise.
55575         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55576         Likewise.
55577         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55578         Likewise.
55579         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55580         Likewise.
55581         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55582         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55583         Likewise.
55584         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55585         Likewise.
55586         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55588 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
55590         * po/be.po: Add descriptive title.
55591         * po/zh_CN.po: Likewise.
55592         * po/header.pot: Likewise.
55594 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
55596         * locale/programs/locarchive.c (create_archive): Inlucde fname in
55597         error message.
55598         (enlarge_archive): Likewise.
55600 2013-05-28  Ben North  <ben@redfrontdoor.org>
55602         * manual/arith.texi (frexp): It is the magnitude of the return
55603         value which lies in [0.5, 1), not the return value itself.
55605 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55609 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
55611         * stdio-common/bug26.c (main): Correct fscanf template.
55613         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55614         declare _dl_skip_args.
55616         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55617         Don't declare.
55619         * manual/platform.texi: Add missing @end deftypefun.
55621 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55623         [BZ #15529]
55624         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55625         bit of mantissa of 2^16382.
55626         * math/libm-test.inc (hypot_test_data): Add more tests.
55628         * math/libm-test.inc: Add drem and pow10 to list of tested
55629         functions.
55630         (pow10_test): New function.
55631         (drem_test): Likewise.
55632         (drem_test_tonearest): Likewise.
55633         (drem_test_towardzero): Likewise.
55634         (drem_test_downward): Likewise.
55635         (drem_test_upward): Likewise.
55636         (main): Call the new functions.
55638         * math/libm-test.inc (finite_test_data): Remove.
55639         (finite_test): Run tests from isfinite_test_data.
55640         (gamma_test_data): Remove.
55641         (gamma_test): Run tests from lgamma_test_data.
55642         * sysdeps/i386/fpu/libm-test-ulps: Update.
55643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55645 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55647         * manual/platform.texi: Add PowerPC PPR function set documentation.
55648         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55649         implementation.
55651 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
55653         * math/libm-test.inc (MAX_EXP): Define.
55654         (ULPDIFF): Define.
55655         (ulp): New function.
55656         (check_float_internal): Use ULPDIFF.
55657         (cpow_test): Disable failing test.
55658         (check_ulp): Test ulp() implementation.
55659         (main): Call check_ulp before starting tests.
55661 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55663         * math/gen-libm-test.pl (generate_testfile): Do not handle
55664         START_DATA and END_DATA.
55665         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55666         END_DATA.
55667         (acos_tonearest_test_data): Likewise.
55668         (acos_towardzero_test_data): Likewise.
55669         (acos_downward_test_data): Likewise.
55670         (acos_upward_test_data): Likewise.
55671         (acosh_test_data): Likewise.
55672         (asin_test_data): Likewise.
55673         (asin_tonearest_test_data): Likewise.
55674         (asin_towardzero_test_data): Likewise.
55675         (asin_downward_test_data): Likewise.
55676         (asin_upward_test_data): Likewise.
55677         (asinh_test_data): Likewise.
55678         (atan_test_data): Likewise.
55679         (atanh_test_data): Likewise.
55680         (atan2_test_data): Likewise.
55681         (cabs_test_data): Likewise.
55682         (cacos_test_data): Likewise.
55683         (cacosh_test_data): Likewise.
55684         (carg_test_data): Likewise.
55685         (casin_test_data): Likewise.
55686         (casinh_test_data): Likewise.
55687         (catan_test_data): Likewise.
55688         (catanh_test_data): Likewise.
55689         (cbrt_test_data): Likewise.
55690         (ccos_test_data): Likewise.
55691         (ccosh_test_data): Likewise.
55692         (ceil_test_data): Likewise.
55693         (cexp_test_data): Likewise.
55694         (cimag_test_data): Likewise.
55695         (clog_test_data): Likewise.
55696         (clog10_test_data): Likewise.
55697         (conj_test_data): Likewise.
55698         (copysign_test_data): Likewise.
55699         (cos_test_data): Likewise.
55700         (cos_tonearest_test_data): Likewise.
55701         (cos_towardzero_test_data): Likewise.
55702         (cos_downward_test_data): Likewise.
55703         (cos_upward_test_data): Likewise.
55704         (cosh_test_data): Likewise.
55705         (cosh_tonearest_test_data): Likewise.
55706         (cosh_towardzero_test_data): Likewise.
55707         (cosh_downward_test_data): Likewise.
55708         (cosh_upward_test_data): Likewise.
55709         (cpow_test_data): Likewise.
55710         (cproj_test_data): Likewise.
55711         (creal_test_data): Likewise.
55712         (csin_test_data): Likewise.
55713         (csinh_test_data): Likewise.
55714         (csqrt_test_data): Likewise.
55715         (ctan_test_data): Likewise.
55716         (ctan_tonearest_test_data): Likewise.
55717         (ctan_towardzero_test_data): Likewise.
55718         (ctan_downward_test_data): Likewise.
55719         (ctan_upward_test_data): Likewise.
55720         (ctanh_test_data): Likewise.
55721         (ctanh_tonearest_test_data): Likewise.
55722         (ctanh_towardzero_test_data): Likewise.
55723         (ctanh_downward_test_data): Likewise.
55724         (ctanh_upward_test_data): Likewise.
55725         (erf_test_data): Likewise.
55726         (erfc_test_data): Likewise.
55727         (exp_test_data): Likewise.
55728         (exp_tonearest_test_data): Likewise.
55729         (exp_towardzero_test_data): Likewise.
55730         (exp_downward_test_data): Likewise.
55731         (exp_upward_test_data): Likewise.
55732         (exp10_test_data): Likewise.
55733         (exp2_test_data): Likewise.
55734         (expm1_test_data): Likewise.
55735         (fabs_test_data): Likewise.
55736         (fdim_test_data): Likewise.
55737         (finite_test_data): Likewise.
55738         (floor_test_data): Likewise.
55739         (fma_test_data): Likewise.
55740         (fma_towardzero_test_data): Likewise.
55741         (fma_downward_test_data): Likewise.
55742         (fma_upward_test_data): Likewise.
55743         (fmax_test_data): Likewise.
55744         (fmin_test_data): Likewise.
55745         (fmod_test_data): Likewise.
55746         (fpclassify_test_data): Likewise.
55747         (frexp_test_data): Likewise.
55748         (gamma_test_data): Likewise.
55749         (hypot_test_data): Likewise.
55750         (ilogb_test_data): Likewise.
55751         (isfinite_test_data): Likewise.
55752         (isgreater_test_data): Likewise.
55753         (isgreaterequal_test_data): Likewise.
55754         (isinf_test_data): Likewise.
55755         (isless_test_data): Likewise.
55756         (islessequal_test_data): Likewise.
55757         (islessgreater_test_data): Likewise.
55758         (isnan_test_data): Likewise.
55759         (isnormal_test_data): Likewise.
55760         (issignaling_test_data): Likewise.
55761         (isunordered_test_data): Likewise.
55762         (j0_test_data): Likewise.
55763         (j1_test_data): Likewise.
55764         (jn_test_data): Likewise.
55765         (ldexp_test_data): Likewise.
55766         (lgamma_test_data): Likewise.
55767         (lrint_test_data): Likewise.
55768         (lrint_tonearest_test_data): Likewise.
55769         (lrint_towardzero_test_data): Likewise.
55770         (lrint_downward_test_data): Likewise.
55771         (lrint_upward_test_data): Likewise.
55772         (llrint_test_data): Likewise.
55773         (llrint_tonearest_test_data): Likewise.
55774         (llrint_towardzero_test_data): Likewise.
55775         (llrint_downward_test_data): Likewise.
55776         (llrint_upward_test_data): Likewise.
55777         (log_test_data): Likewise.
55778         (log10_test_data): Likewise.
55779         (log1p_test_data): Likewise.
55780         (log2_test_data): Likewise.
55781         (logb_test_data): Likewise.
55782         (logb_downward_test_data): Likewise.
55783         (lround_test_data): Likewise.
55784         (llround_test_data): Likewise.
55785         (modf_test_data): Likewise.
55786         (nearbyint_test_data): Likewise.
55787         (nextafter_test_data): Likewise.
55788         (nexttoward_test_data): Likewise.
55789         (pow_test_data): Likewise.
55790         (pow_tonearest_test_data): Likewise.
55791         (pow_towardzero_test_data): Likewise.
55792         (pow_downward_test_data): Likewise.
55793         (pow_upward_test_data): Likewise.
55794         (remainder_test_data): Likewise.
55795         (remainder_tonearest_test_data): Likewise.
55796         (remainder_towardzero_test_data): Likewise.
55797         (remainder_downward_test_data): Likewise.
55798         (remainder_upward_test_data): Likewise.
55799         (remquo_test_data): Likewise.
55800         (rint_test_data): Likewise.
55801         (rint_tonearest_test_data): Likewise.
55802         (rint_towardzero_test_data): Likewise.
55803         (rint_downward_test_data): Likewise.
55804         (rint_upward_test_data): Likewise.
55805         (round_test_data): Likewise.
55806         (scalb_test_data): Likewise.
55807         (scalbn_test_data): Likewise.
55808         (scalbln_test_data): Likewise.
55809         (signbit_test_data): Likewise.
55810         (sin_test_data): Likewise.
55811         (sin_tonearest_test_data): Likewise.
55812         (sin_towardzero_test_data): Likewise.
55813         (sin_downward_test_data): Likewise.
55814         (sin_upward_test_data): Likewise.
55815         (sincos_test_data): Likewise.
55816         (sinh_test_data): Likewise.
55817         (sinh_tonearest_test_data): Likewise.
55818         (sinh_towardzero_test_data): Likewise.
55819         (sinh_downward_test_data): Likewise.
55820         (sinh_upward_test_data): Likewise.
55821         (sqrt_test_data): Likewise.
55822         (tan_test_data): Likewise.
55823         (tan_tonearest_test_data): Likewise.
55824         (tan_towardzero_test_data): Likewise.
55825         (tan_downward_test_data): Likewise.
55826         (tan_upward_test_data): Likewise.
55827         (tanh_test_data): Likewise.
55828         (tgamma_test_data): Likewise.
55829         (trunc_test_data): Likewise.
55830         (y0_test_data): Likewise.
55831         (y1_test_data): Likewise.
55832         (yn_test_data): Likewise.
55833         (significand_test_data): Likewise.
55835         * math/gen-libm-test.pl (@functions): Remove variable.
55836         (generate_testfile): Don't handle START and END lines.
55837         * math/libm-test.inc (START): New macro.
55838         (END): Likewise.
55839         (END_COMPLEX): Likewise.
55840         (acos_test): Use END macro without arguments.
55841         (acos_test_tonearest): Likewise.
55842         (acos_test_towardzero): Likewise.
55843         (acos_test_downward): Likewise.
55844         (acos_test_upward): Likewise.
55845         (acosh_test): Likewise.
55846         (asin_test): Likewise.
55847         (asin_test_tonearest): Likewise.
55848         (asin_test_towardzero): Likewise.
55849         (asin_test_downward): Likewise.
55850         (asin_test_upward): Likewise.
55851         (asinh_test): Likewise.
55852         (atan_test): Likewise.
55853         (atanh_test): Likewise.
55854         (atan2_test): Likewise.
55855         (cabs_test): Likewise.
55856         (cacos_test): Use END_COMPLEX macro without arguments.
55857         (cacosh_test): Likewise.
55858         (carg_test): Use END macro without arguments.
55859         (casin_test): Use END_COMPLEX macro without arguments.
55860         (casinh_test): Likewise.
55861         (catan_test): Likewise.
55862         (catanh_test): Likewise.
55863         (cbrt_test): Use END macro without arguments.
55864         (ccos_test): Use END_COMPLEX macro without arguments.
55865         (ccosh_test): Likewise.
55866         (ceil_test): Use END macro without arguments.
55867         (cexp_test): Use END_COMPLEX macro without arguments.
55868         (cimag_test): Use END macro without arguments.
55869         (clog_test): Use END_COMPLEX macro without arguments.
55870         (clog10_test): Likewise.
55871         (conj_test): Likewise.
55872         (copysign_test): Use END macro without arguments.
55873         (cos_test): Likewise.
55874         (cos_test_tonearest): Likewise.
55875         (cos_test_towardzero): Likewise.
55876         (cos_test_downward): Likewise.
55877         (cos_test_upward): Likewise.
55878         (cosh_test): Likewise.
55879         (cosh_test_tonearest): Likewise.
55880         (cosh_test_towardzero): Likewise.
55881         (cosh_test_downward): Likewise.
55882         (cosh_test_upward): Likewise.
55883         (cpow_test): Use END_COMPLEX macro without arguments.
55884         (cproj_test): Likewise.
55885         (creal_test): Use END macro without arguments.
55886         (csin_test): Use END_COMPLEX macro without arguments.
55887         (csinh_test): Likewise.
55888         (csqrt_test): Likewise.
55889         (ctan_test): Likewise.
55890         (ctan_test_tonearest): Likewise.
55891         (ctan_test_towardzero): Likewise.
55892         (ctan_test_downward): Likewise.
55893         (ctan_test_upward): Likewise.
55894         (ctanh_test): Likewise.
55895         (ctanh_test_tonearest): Likewise.
55896         (ctanh_test_towardzero): Likewise.
55897         (ctanh_test_downward): Likewise.
55898         (ctanh_test_upward): Likewise.
55899         (erf_test): Use END macro without arguments.
55900         (erfc_test): Likewise.
55901         (exp_test): Likewise.
55902         (exp_test_tonearest): Likewise.
55903         (exp_test_towardzero): Likewise.
55904         (exp_test_downward): Likewise.
55905         (exp_test_upward): Likewise.
55906         (exp10_test): Likewise.
55907         (exp2_test): Likewise.
55908         (expm1_test): Likewise.
55909         (fabs_test): Likewise.
55910         (fdim_test): Likewise.
55911         (finite_test): Likewise.
55912         (floor_test): Likewise.
55913         (fma_test): Likewise.
55914         (fma_test_towardzero): Likewise.
55915         (fma_test_downward): Likewise.
55916         (fma_test_upward): Likewise.
55917         (fmax_test): Likewise.
55918         (fmin_test): Likewise.
55919         (fmod_test): Likewise.
55920         (fpclassify_test): Likewise.
55921         (frexp_test): Likewise.
55922         (gamma_test): Likewise.
55923         (hypot_test): Likewise.
55924         (ilogb_test): Likewise.
55925         (isfinite_test): Likewise.
55926         (isgreater_test): Likewise.
55927         (isgreaterequal_test): Likewise.
55928         (isinf_test): Likewise.
55929         (isless_test): Likewise.
55930         (islessequal_test): Likewise.
55931         (islessgreater_test): Likewise.
55932         (isnan_test): Likewise.
55933         (isnormal_test): Likewise.
55934         (issignaling_test): Likewise.
55935         (isunordered_test): Likewise.
55936         (j0_test): Likewise.
55937         (j1_test): Likewise.
55938         (jn_test): Likewise.
55939         (ldexp_test): Likewise.
55940         (lgamma_test): Likewise.
55941         (lrint_test): Likewise.
55942         (lrint_test_tonearest): Likewise.
55943         (lrint_test_towardzero): Likewise.
55944         (lrint_test_downward): Likewise.
55945         (lrint_test_upward): Likewise.
55946         (llrint_test): Likewise.
55947         (llrint_test_tonearest): Likewise.
55948         (llrint_test_towardzero): Likewise.
55949         (llrint_test_downward): Likewise.
55950         (llrint_test_upward): Likewise.
55951         (log_test): Likewise.
55952         (log10_test): Likewise.
55953         (log1p_test): Likewise.
55954         (log2_test): Likewise.
55955         (logb_test): Likewise.
55956         (logb_test_downward): Likewise.
55957         (lround_test): Likewise.
55958         (llround_test): Likewise.
55959         (modf_test): Likewise.
55960         (nearbyint_test): Likewise.
55961         (nextafter_test): Likewise.
55962         (nexttoward_test): Likewise.
55963         (pow_test): Likewise.
55964         (pow_test_tonearest): Likewise.
55965         (pow_test_towardzero): Likewise.
55966         (pow_test_downward): Likewise.
55967         (pow_test_upward): Likewise.
55968         (remainder_test): Likewise.
55969         (remainder_test_tonearest): Likewise.
55970         (remainder_test_towardzero): Likewise.
55971         (remainder_test_downward): Likewise.
55972         (remainder_test_upward): Likewise.
55973         (remquo_test): Likewise.
55974         (rint_test): Likewise.
55975         (rint_test_tonearest): Likewise.
55976         (rint_test_towardzero): Likewise.
55977         (rint_test_downward): Likewise.
55978         (rint_test_upward): Likewise.
55979         (round_test): Likewise.
55980         (scalb_test): Likewise.
55981         (scalbn_test): Likewise.
55982         (scalbln_test): Likewise.
55983         (signbit_test): Likewise.
55984         (sin_test): Likewise.
55985         (sin_test_tonearest): Likewise.
55986         (sin_test_towardzero): Likewise.
55987         (sin_test_downward): Likewise.
55988         (sin_test_upward): Likewise.
55989         (sincos_test): Likewise.
55990         (sinh_test): Likewise.
55991         (sinh_test_tonearest): Likewise.
55992         (sinh_test_towardzero): Likewise.
55993         (sinh_test_downward): Likewise.
55994         (sinh_test_upward): Likewise.
55995         (sqrt_test): Likewise.
55996         (tan_test): Likewise.
55997         (tan_test_tonearest): Likewise.
55998         (tan_test_towardzero): Likewise.
55999         (tan_test_downward): Likewise.
56000         (tan_test_upward): Likewise.
56001         (tanh_test): Likewise.
56002         (tgamma_test): Likewise.
56003         (trunc_test): Likewise.
56004         (y0_test): Likewise.
56005         (y1_test): Likewise.
56006         (yn_test): Likewise.
56007         (significand_test): Likewise.
56009 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
56011         [BZ #15381]
56012         * libio/genops.c (_IO_no_init): Initialize wide struct info.
56014 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56016         [BZ #14894]
56017         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
56018         __ppc_mdoio and __ppc_mdoom.
56019         * manual/platform.texi: Document new functions __ppc_yield,
56020         __ppc_mdoio and __ppc_mdoom.
56022 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
56024         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
56025         (main): Mention "tls" pseudo-hwcap is legacy.
56026         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
56028 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
56030         * math/gen-libm-test.pl (parse_args): Output only string of
56031         arguments as text for test name, not full call or descriptions of
56032         tests for extra outputs.
56033         (generate_testfile): Do not pass function name to parse_args.
56034         Generate this_func variable from START.
56035         * math/libm-test.inc (struct test_f_f_data): Rename test_name
56036         field to arg_str.
56037         (struct test_ff_f_data): Likewise.
56038         (test_ff_f_data_nexttoward): Likewise.
56039         (struct test_fi_f_data): Likewise.
56040         (struct test_fl_f_data): Likewise.
56041         (struct test_if_f_data): Likewise.
56042         (struct test_fff_f_data): Likewise.
56043         (struct test_c_f_data): Likewise.
56044         (struct test_f_f1_data): Likewise.  Remove field extra_name.
56045         (struct test_fF_f1_data): Likewise.
56046         (struct test_ffI_f1_data): Likewise.
56047         (struct test_c_c_data): Rename test_name field to arg_str.
56048         (struct test_cc_c_data): Likewise.
56049         (struct test_f_i_data): Likewise.
56050         (struct test_ff_i_data): Likewise.
56051         (struct test_f_l_data): Likewise.
56052         (struct test_f_L_data): Likewise.
56053         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
56054         and extra2_name.
56055         (COMMON_TEST_SETUP): New macro.
56056         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
56057         (COMMON_TEST_CLEANUP): Likewise.
56058         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
56059         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
56060         macros.
56061         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
56062         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
56063         macros.
56064         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
56065         (RUN_TEST_fff_f): Take argument string.  Call new setup and
56066         cleanup macros.
56067         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
56068         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
56069         macros.
56070         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
56071         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
56072         macros.
56073         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56074         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
56075         cleanup macros.
56076         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56077         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
56078         cleanup macros.
56079         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56080         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
56081         cleanup macros.
56082         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56083         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
56084         macros.
56085         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
56086         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
56087         macros.
56088         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
56089         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
56090         macros.
56091         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
56092         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
56093         cleanup macros.
56094         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
56095         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
56096         cleanup macros.
56097         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
56098         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
56099         macros.
56100         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
56101         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
56102         cleanup macros.
56103         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
56104         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
56105         macros.
56106         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
56107         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
56108         macros.
56109         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
56110         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
56111         cleanup macros.
56112         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56114 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
56116         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56117         to _sifields.sigfault.
56118         (si_addr_lsb): Define new macro.
56119         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56120         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56121         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56123 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
56125         [BZ #15441]
56126         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56127         returns -1.
56128         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56129         null return -1.
56130         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56131         loading the domain.
56133 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
56135         * math/gen-libm-test.pl (parse_args): Do not include expected
56136         result in test name.
56137         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56138         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56139         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56140         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56141         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56144 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56146         * benchtests/Makefile: Sort function entries.
56148         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56149         tanh, asinh, acosh, atanh.
56150         * benchtests/acos-inputs: New file.
56151         * benchtests/acosh-inputs: New file.
56152         * benchtests/asin-inputs: New file.
56153         * benchtests/asinh-inputs: New file.
56154         * benchtests/atanh-inputs: New file.
56155         * benchtests/cosh-inputs: New file.
56156         * benchtests/log-inputs: New file.
56157         * benchtests/sinh-inputs: New file.
56158         * benchtests/tanh-inputs: New file.
56160 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
56162         [BZ #15339]
56163         * posix/tst-getaddrinfo4.c: New test.
56164         * posix/Makefile (tests): Add it.
56166 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56168         [BZ #15339]
56169         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56170         when no services were used.
56171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56172         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56174 2013-05-21  Andreas Schwab  <schwab@suse.de>
56176         [BZ #15014]
56177         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56178         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56179         successful.
56180         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56181         redundant variable declarations and reallocation of buffer when
56182         parsing as IPv6 address.  Always set NSS status when called from
56183         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
56184         buffer too small.  Correct computation of needed size.
56185         * nss/Makefile (tests): Add test-digits-dots.
56186         * nss/test-digits-dots.c: New test.
56188 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56190         * benchtests/Makefile: Remove instructions for adding
56191         benchmark tests.
56192         * benchtests/README: New file to explain how to execute and
56193         enhance the benchmark tests.
56195 2013-05-21  Andreas Schwab  <schwab@suse.de>
56197         [BZ #15493]
56198         * setjmp/Makefile (tests): Add tst-sigsetjmp.
56199         * setjmp/tst-sigsetjmp.c: New test.
56201 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56203         * sysdeps/x86_64/memset.S (memset): New implementation.
56204         (__bzero): Likewise.
56205         (__memset_tail): New function.
56207 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56209         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56210         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56211         __memcpy_sse2_unaligned ifunc selection.
56212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56213         Add memcpy-sse2-unaligned.S.
56214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56215         Add: __memcpy_sse2_unaligned.
56217 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
56219         [BZ #15490]
56220         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56221         math_force_eval before restoring floating-point envrionment.
56222         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56223         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56224         Likewise.
56225         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56226         <math_private.h>.
56227         (__nearbyintl): Use math_force_eval before restoring
56228         floating-point environment.
56229         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56231         * math/gen-libm-test.pl (special_functions): Remove.
56232         (parse_args): Don't handle TEST_extra.  Handle functions with no
56233         return value.
56234         * math/libm-test.inc (struct test_sincos_data): Replace with
56235         struct test_fFF_11_data.
56236         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56237         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56238         (sincos_test_data): Change element type to struct
56239         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
56240         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56241         RUN_TEST_LOOP_sincos.
56242         * math/README.libm-test: Don't mention special handling of
56243         individual functions.
56244         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56245         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56246         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56247         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56248         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56251         * math/gen-libm-test.pl (get_variable): Remove function.
56252         (parse_args): Don't show pointer parameters to call in test
56253         names.  Use "extra output N" in test names for extra outputs
56254         rather than naming variables.
56256 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
56258         [BZ #15488]
56259         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56260         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56261         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56262         double tests.
56263         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56264         disable.
56265         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56266         check_long_double.
56268         * math/gen-libm-test.pl (@tests): Remove variable.
56269         ($count): Likewise.
56270         (new_test): Remove function.
56271         (show_exceptions): New function.
56272         (special_functions): Use show_exceptions instead of new_test.
56273         (parse_args): Likewise.
56274         (generate_testfile): Pass only function name in generated call to
56275         print_max_error or print_complex_max_error.
56276         (get_ulps): Do not handle complex tests specially.
56277         (output_test): Rename to ...
56278         (get_all_ulps_for_test): ... this.  Return a string rather than
56279         printing to a file.  Require ulps to be present.
56280         (output_ulps): Generate arrays rather than #defines.
56281         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56282         (struct ulp_data): New type.
56283         (BUILD_COMPLEX_ULP): Remove macro.
56284         (compare_ulp_data): New function.
56285         (find_ulps): Likewise.
56286         (find_test_ulps): Likewise.
56287         (find_function_ulps): Likewise.
56288         (find_complex_function_ulps): Likewise.
56289         (print_max_error): Determine allowed ulps using
56290         find_function_ulps.
56291         (print_complex_max_error): Determine allowed ulps using
56292         find_complex_function_ulps.
56293         (check_float_internal): Determine max ulps using find_test_ulps.
56294         (check_float): Do not take max_ulp parameter.  Update call to
56295         check_float_internal.
56296         (check_complex): Likewise.
56297         (check_int): Do not take max_ulp parameter.
56298         (check_long): Likewise.
56299         (check_bool): Likewise.
56300         (check_longlong): Likewise.
56301         (struct test_f_f_data): Remove max_ulp field.
56302         (struct test_ff_f_data): Likewise.
56303         (struct test_ff_f_data_nexttoward): Likewise.
56304         (struct test_fi_f_data): Likewise.
56305         (struct test_fl_f_data): Likewise.
56306         (struct test_if_f_data): Likewise.
56307         (struct test_fff_f_data): Likewise.
56308         (struct test_c_f_data): Likewise.
56309         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56310         (struct test_fF_f1_data): Likewise.
56311         (struct test_ffI_f1_data): Likewise.
56312         (struct test_c_c_data): Remove max_ulp field.
56313         (struct test_cc_c_data): Likewise.
56314         (struct test_f_i_data): Likewise.
56315         (struct test_ff_i_data): Likewise.
56316         (struct test_f_l_data): Likewise.
56317         (struct test_f_L_data): Likewise.
56318         (struct test_sincos_data): Likewise.
56319         (RUN_TEST_f_f): Do not handle ulps.
56320         (RUN_TEST_LOOP_f_f): Likewise.
56321         (RUN_TEST_2_f): Likewise.
56322         (RUN_TEST_LOOP_2_f): Likewise.
56323         (RUN_TEST_fff_f): Likewise.
56324         (RUN_TEST_LOOP_fff_f): Likewise.
56325         (RUN_TEST_c_f): Likewise.
56326         (RUN_TEST_LOOP_c_f): Likewise.
56327         (RUN_TEST_f_f1): Likewise.
56328         (RUN_TEST_LOOP_f_f1): Likewise.
56329         (RUN_TEST_fF_f1): Likewise.
56330         (RUN_TEST_LOOP_fF_f1): Likewise.
56331         (RUN_TEST_fI_f1): Likewise.
56332         (RUN_TEST_LOOP_fI_f1): Likewise.
56333         (RUN_TEST_ffI_f1): Likewise.
56334         (RUN_TEST_LOOP_ffI_f1): Likewise.
56335         (RUN_TEST_c_c): Likewise.
56336         (RUN_TEST_LOOP_c_c): Likewise.
56337         (RUN_TEST_cc_c): Likewise.
56338         (RUN_TEST_LOOP_cc_c): Likewise.
56339         (RUN_TEST_f_i): Likewise.
56340         (RUN_TEST_LOOP_f_i): Likewise.
56341         (RUN_TEST_f_i_tg): Likewise.
56342         (RUN_TEST_LOOP_f_i_tg): Likewise.
56343         (RUN_TEST_ff_i_tg): Likewise.
56344         (RUN_TEST_LOOP_ff_i_tg): Likewise.
56345         (RUN_TEST_f_b): Likewise.
56346         (RUN_TEST_LOOP_f_b): Likewise.
56347         (RUN_TEST_f_b_tg): Likewise.
56348         (RUN_TEST_LOOP_f_b_tg): Likewise.
56349         (RUN_TEST_f_l): Likewise.
56350         (RUN_TEST_LOOP_f_l): Likewise.
56351         (RUN_TEST_f_L): Likewise.
56352         (RUN_TEST_LOOP_f_L): Likewise.
56353         (RUN_TEST_sincos): Likewise.
56354         (RUN_TEST_LOOP_sincos): Likewise.
56356 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
56358         [BZ #15480]
56359         [BZ #15485]
56360         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56361         main case of finite arguments, set rounding mode to FE_TONEAREST
56362         and discard exceptions.
56363         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56364         exceptions.
56365         (remainder_tonearest_test_data): New variable.
56366         (remainder_test_tonearest): New function.
56367         (remainder_towardzero_test_data): New variable.
56368         (remainder_test_towardzero): New function.
56369         (remainder_downward_test_data): New variable.
56370         (remainder_test_downward): New function.
56371         (remainder_upward_test_data): New variable.
56372         (remainder_test_upward): New function.
56373         (main): Call the new test functions.
56375         * math/libm-test.inc (struct test_f_f1_data): Remove field
56376         extra_init.
56377         (struct test_fF_f1_data): Likewise.
56378         (struct test_ffI_f1_data): Likewise.
56379         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
56380         based on value of EXTRA_EXPECTED.
56381         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56382         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
56383         EXTRA_VAR based on value of EXTRA_EXPECTED.
56384         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56385         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
56386         EXTRA_VAR based on value of EXTRA_EXPECTED.
56387         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56388         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
56389         EXTRA_VAR based on value of EXTRA_EXPECTED.
56390         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56391         * math/gen-libm-test.pl (parse_args): Don't output initializers
56392         for extra output values.
56394         * math/libm-test.inc (check_int): Expect result to be exactly
56395         equal to expected value and do not handle ulps.
56396         (check_long): Likewise.
56397         (check_longlong): Likewise.
56399         * math/libm-test.inc (ceil_test_data): Test for "inexact"
56400         exceptions.
56401         (cimag_test_data): Likewise.
56402         (conj_test_data): Likewise.
56403         (copysign_test_data): Likewise.
56404         (cproj_test_data): Likewise.
56405         (creal_test_data): Likewise.
56406         (fabs_test_data): Likewise.
56407         (fdim_test_data): Likewise.
56408         (finite_test_data): Likewise.
56409         (floor_test_data): Likewise.
56410         (fmax_test_data): Likewise.
56411         (fmin_test_data): Likewise.
56412         (fmod_test_data): Likewise.
56413         (fpclassify_test_data): Likewise.
56414         (frexp_test_data): Likewise.
56415         (ilogb_test_data): Likewise.
56416         (isfinite_test_data): Likewise.
56417         (isgreater_test_data): Likewise.
56418         (isgreaterequal_test_data): Likewise.
56419         (isinf_test_data): Likewise.
56420         (isless_test_data): Likewise.
56421         (islessequal_test_data): Likewise.
56422         (islessgreater_test_data): Likewise.
56423         (isnan_test_data): Likewise.
56424         (isnormal_test_data): Likewise.
56425         (issignaling_test_data): Likewise.
56426         (isunordered_test_data): Likewise.
56427         (ldexp_test_data): Likewise.
56428         (lrint_test_data): Likewise.
56429         (lrint_test_data) [TEST_FLOAT]: Disable one test.
56430         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56431         (lrint_tonearest_test_data): Test for "inexact" exceptions.
56432         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56433         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56434         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56435         test input.
56436         (lrint_towardzero_test_data): Test for "inexact" exceptions.
56437         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56438         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56439         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56440         that test input.
56441         (lrint_downward_test_data): Test for "inexact" exceptions.
56442         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56443         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56444         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56445         test input.
56446         (lrint_upward_test_data): Test for "inexact" exceptions.
56447         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56448         test input.
56449         (llrint_test_data): Test for "inexact" exceptions.
56450         (llrint_test_data) [TEST_FLOAT]: Disable one test.
56451         (llrint_tonearest_test_data): Test for "inexact" exceptions.
56452         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56453         (llrint_towardzero_test_data): Test for "inexact" exceptions.
56454         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56455         (llrint_downward_test_data): Test for "inexact" exceptions.
56456         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56457         (llrint_upward_test_data): Test for "inexact" exceptions.
56458         (logb_test_data): Likewise.
56459         (logb_downward_test_data): Likewise.
56460         (nextafter_test_data): Likewise.
56461         (nexttoward_test_data): Likewise.
56462         (remainder_test_data): Likewise.
56463         (remquo_test_data): Likewise.
56464         (scalbn_test_data): Likewise.
56465         (scalbln_test_data): Likewise.
56466         (signbit_test_data): Likewise.
56467         (sqrt_test_data): Likewise.
56468         (significand_test_data): Likewise.
56470 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56472         [BZ #15424]
56473         * benchtests/bench-modf.c (struct args): Mark arg0 as
56474         volatile.
56475         * scripts/bench.pl: Mark members of struct args as volatile.
56477 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56479         [BZ # 15497]
56480         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56481         negative infinity on POWER6 or lower.
56482         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56484 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
56486         [BZ #15442]
56487         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56488         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56489         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56490         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56491         (_FP_SETQNAN): New macro.
56492         (_FP_SETQNAN_SEMIRAW): Likewise.
56493         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56494         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56495         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56496         (FP_EXTEND): Use _FP_FRAC_SNANP.
56497         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56498         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56499         into account.
56500         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56501         New macro.
56502         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56503         Likewise.
56505 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56507         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56508         with DIVIDE_BY_ZERO_EXCEPTION.
56509         (gamma_test_data): Likewise.
56510         (lgamma_test_data): Likewise.
56511         (log_test_data): Likewise.
56512         (log10_test_data): Likewise.
56513         (log2_test_data): Likewise.
56514         (tgamma_test_data): Likewise.
56516         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56517         (acos_test_tonearest): Likewise.
56518         (acos_test_towardzero): Likewise.
56519         (acos_test_downward): Likewise.
56520         (acos_test_upward): Likewise.
56521         (acosh_test): Likewise.
56522         (asin_test): Likewise.
56523         (asin_test_tonearest): Likewise.
56524         (asin_test_towardzero): Likewise.
56525         (asin_test_downward): Likewise.
56526         (asin_test_upward): Likewise.
56527         (asinh_test): Likewise.
56528         (atan_test): Likewise.
56529         (atanh_test): Likewise.
56530         (atan2_test): Likewise.
56531         (cabs_test): Likewise.
56532         (cacos_test): Likewise.
56533         (cacosh_test): Likewise.
56534         (casin_test): Likewise.
56535         (casinh_test): Likewise.
56536         (catan_test): Likewise.
56537         (catanh_test): Likewise.
56538         (cbrt_test): Likewise.
56539         (ccos_test): Likewise.
56540         (ccosh_test): Likewise.
56541         (cexp_test): Likewise.
56542         (clog_test): Likewise.
56543         (clog10_test): Likewise.
56544         (cos_test): Likewise.
56545         (cos_test_tonearest): Likewise.
56546         (cos_test_towardzero): Likewise.
56547         (cos_test_downward): Likewise.
56548         (cos_test_upward): Likewise.
56549         (cosh_test): Likewise.
56550         (cosh_test_tonearest): Likewise.
56551         (cosh_test_towardzero): Likewise.
56552         (cosh_test_downward): Likewise.
56553         (cosh_test_upward): Likewise.
56554         (cpow_test): Likewise.
56555         (csin_test): Likewise.
56556         (csinh_test): Likewise.
56557         (csqrt_test): Likewise.
56558         (ctan_test): Likewise.
56559         (ctan_test_tonearest): Likewise.
56560         (ctan_test_towardzero): Likewise.
56561         (ctan_test_downward): Likewise.
56562         (ctan_test_upward): Likewise.
56563         (ctanh_test): Likewise.
56564         (ctanh_test_tonearest): Likewise.
56565         (ctanh_test_towardzero): Likewise.
56566         (ctanh_test_downward): Likewise.
56567         (ctanh_test_upward): Likewise.
56568         (erf_test): Likewise.
56569         (erfc_test): Likewise.
56570         (exp_test): Likewise.
56571         (exp_test_tonearest): Likewise.
56572         (exp_test_towardzero): Likewise.
56573         (exp_test_downward): Likewise.
56574         (exp_test_upward): Likewise.
56575         (exp10_test): Likewise.
56576         (exp2_test): Likewise.
56577         (expm1_test): Likewise.
56578         (fmod_test): Likewise.
56579         (gamma_test): Likewise.
56580         (hypot_test): Likewise.
56581         (j0_test): Likewise.
56582         (j1_test): Likewise.
56583         (jn_test): Likewise.
56584         (lgamma_test): Likewise.
56585         (log_test): Likewise.
56586         (log10_test): Likewise.
56587         (log1p_test): Likewise.
56588         (log2_test): Likewise.
56589         (logb_test_downward): Likewise.
56590         (pow_test): Likewise.
56591         (pow_test_tonearest): Likewise.
56592         (pow_test_towardzero): Likewise.
56593         (pow_test_downward): Likewise.
56594         (pow_test_upward): Likewise.
56595         (remainder_test): Likewise.
56596         (remquo_test): Likewise.
56597         (sin_test): Likewise.
56598         (sin_test_tonearest): Likewise.
56599         (sin_test_towardzero): Likewise.
56600         (sin_test_downward): Likewise.
56601         (sin_test_upward): Likewise.
56602         (sincos_test): Likewise.
56603         (sinh_test): Likewise.
56604         (sinh_test_tonearest): Likewise.
56605         (sinh_test_towardzero): Likewise.
56606         (sinh_test_downward): Likewise.
56607         (sinh_test_upward): Likewise.
56608         (sqrt_test): Likewise.
56609         (tan_test): Likewise.
56610         (tan_test_tonearest): Likewise.
56611         (tan_test_towardzero): Likewise.
56612         (tan_test_downward): Likewise.
56613         (tan_test_upward): Likewise.
56614         (tanh_test): Likewise.
56615         (tgamma_test): Likewise.
56616         (y0_test): Likewise.
56617         (y1_test): Likewise.
56618         (yn_test): Likewise.
56620         * math/gen-libm-test.pl (adjust_arg): Remove function.
56621         (special_function): Remove argument $in_func.  Only handle
56622         generating output for tables of tests, not inside functions.
56623         (parse_args): Likewise.
56624         (generate_testfile): Remove variable $in_func.  Update call to
56625         parse_args.
56626         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56627         (MINUS_ZERO_INIT): Rename macro to minus_zero.
56628         (PLUS_INFTY_INIT): Rename macro to plus_infty.
56629         (MINUS_INFTY_INIT): Rename macro to minus_infty.
56630         (QNAN_VALUE_INIT): Rename macro to qnan_value.
56631         (MAX_VALUE_INIT): Rename macro to max_value.
56632         (MIN_VALUE_INIT): Rename macro to min_value.
56633         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56634         (plus_zero): Remove variable.
56635         (minus_zero): Likewise.
56636         (plus_infty): Likewise.
56637         (minus_infty): Likewise.
56638         (qnan_value): Likewise.
56639         (max_value): Likewise.
56640         (min_value): Likewise.
56641         (min_subnorm_value): Likewise.
56643 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56645         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56646         uint64_t or uint32_t usage.
56647         * crypt/sha256-block.c: Likewise.
56648         * crypt/sha256-crypt.c: Likewise.
56649         * crypt/sha256.c: Likewise.
56650         * crypt/sha512-block.c: Likewise.
56651         * crypt/sha512-crypt.c: Likewise.
56652         * crypt/sha512.c: Likewise.
56653         * debug/backtrace-tst.c: Likewise.
56654         * debug/pcprofiledump.c: Likewise.
56655         * elf/cache.c: Likewise.
56656         * elf/dl-cache.c: Likewise.
56657         * elf/dl-misc.c: Likewise.
56658         * elf/dl-profile.c: Likewise.
56659         * elf/dl-support.c: Likewise.
56660         * elf/ldconfig.c: Likewise.
56661         * elf/sprof.c: Likewise.
56662         * iconv/dummy-repertoire.c: Likewise.
56663         * iconv/iconv_charmap.c: Likewise.
56664         * iconv/skeleton.c: Likewise.
56665         * iconvdata/8bit-generic.c: Likewise.
56666         * iconvdata/cp737.h: Likewise.
56667         * iconvdata/cp775.h: Likewise.
56668         * iconvdata/ibm1008.h: Likewise.
56669         * iconvdata/ibm1025.h: Likewise.
56670         * iconvdata/ibm1046.h: Likewise.
56671         * iconvdata/ibm1097.h: Likewise.
56672         * iconvdata/ibm1112.h: Likewise.
56673         * iconvdata/ibm1122.h: Likewise.
56674         * iconvdata/ibm1123.h: Likewise.
56675         * iconvdata/ibm1124.h: Likewise.
56676         * iconvdata/ibm1129.h: Likewise.
56677         * iconvdata/ibm1130.h: Likewise.
56678         * iconvdata/ibm1132.h: Likewise.
56679         * iconvdata/ibm1133.h: Likewise.
56680         * iconvdata/ibm1137.h: Likewise.
56681         * iconvdata/ibm1140.h: Likewise.
56682         * iconvdata/ibm1141.h: Likewise.
56683         * iconvdata/ibm1142.h: Likewise.
56684         * iconvdata/ibm1143.h: Likewise.
56685         * iconvdata/ibm1144.h: Likewise.
56686         * iconvdata/ibm1145.h: Likewise.
56687         * iconvdata/ibm1146.h: Likewise.
56688         * iconvdata/ibm1147.h: Likewise.
56689         * iconvdata/ibm1148.h: Likewise.
56690         * iconvdata/ibm1149.h: Likewise.
56691         * iconvdata/ibm1153.h: Likewise.
56692         * iconvdata/ibm1154.h: Likewise.
56693         * iconvdata/ibm1155.h: Likewise.
56694         * iconvdata/ibm1156.h: Likewise.
56695         * iconvdata/ibm1157.h: Likewise.
56696         * iconvdata/ibm1158.h: Likewise.
56697         * iconvdata/ibm1160.h: Likewise.
56698         * iconvdata/ibm1161.h: Likewise.
56699         * iconvdata/ibm1162.h: Likewise.
56700         * iconvdata/ibm1163.h: Likewise.
56701         * iconvdata/ibm1164.h: Likewise.
56702         * iconvdata/ibm1166.h: Likewise.
56703         * iconvdata/ibm1167.h: Likewise.
56704         * iconvdata/ibm12712.h: Likewise.
56705         * iconvdata/ibm1390.h: Likewise.
56706         * iconvdata/ibm1399.h: Likewise.
56707         * iconvdata/ibm16804.h: Likewise.
56708         * iconvdata/ibm4517.h: Likewise.
56709         * iconvdata/ibm4899.h: Likewise.
56710         * iconvdata/ibm4909.h: Likewise.
56711         * iconvdata/ibm4971.h: Likewise.
56712         * iconvdata/ibm5347.h: Likewise.
56713         * iconvdata/ibm803.h: Likewise.
56714         * iconvdata/ibm856.h: Likewise.
56715         * iconvdata/ibm901.h: Likewise.
56716         * iconvdata/ibm902.h: Likewise.
56717         * iconvdata/ibm9030.h: Likewise.
56718         * iconvdata/ibm9066.h: Likewise.
56719         * iconvdata/ibm921.h: Likewise.
56720         * iconvdata/ibm922.h: Likewise.
56721         * iconvdata/ibm9448.h: Likewise.
56722         * iconvdata/isiri-3342.h: Likewise.
56723         * iconvdata/jis0201.h: Likewise.
56724         * include/link.h: Likewise.
56725         * include/netdb.h: Likewise.
56726         * inet/check_native.c: Likewise.
56727         * inet/check_pf.c: Likewise.
56728         * inet/getipv4sourcefilter.c: Likewise.
56729         * inet/getnameinfo.c: Likewise.
56730         * inet/getsourcefilter.c: Likewise.
56731         * inet/htonl.c: Likewise.
56732         * inet/setipv4sourcefilter.c: Likewise.
56733         * inet/setsourcefilter.c: Likewise.
56734         * inet/test-inet6_opt.c: Likewise.
56735         * inet/tst-network.c: Likewise.
56736         * locale/C-collate.c: Likewise.
56737         * locale/C-ctype.c: Likewise.
56738         * locale/C-time.c: Likewise.
56739         * locale/C-translit.h: Likewise.
56740         * locale/loadarchive.c: Likewise.
56741         * locale/programs/3level.h: Likewise.
56742         * locale/programs/charmap.c: Likewise.
56743         * locale/programs/charmap.h: Likewise.
56744         * locale/programs/ld-address.c: Likewise.
56745         * locale/programs/ld-collate.c: Likewise.
56746         * locale/programs/ld-ctype.c: Likewise.
56747         * locale/programs/ld-identification.c: Likewise.
56748         * locale/programs/ld-measurement.c: Likewise.
56749         * locale/programs/ld-messages.c: Likewise.
56750         * locale/programs/ld-monetary.c: Likewise.
56751         * locale/programs/ld-name.c: Likewise.
56752         * locale/programs/ld-numeric.c: Likewise.
56753         * locale/programs/ld-paper.c: Likewise.
56754         * locale/programs/ld-telephone.c: Likewise.
56755         * locale/programs/ld-time.c: Likewise.
56756         * locale/programs/linereader.c: Likewise.
56757         * locale/programs/locale.c: Likewise.
56758         * locale/programs/locarchive.c: Likewise.
56759         * locale/programs/locfile.h: Likewise.
56760         * locale/programs/repertoire.c: Likewise.
56761         * locale/programs/simple-hash.c: Likewise.
56762         * locale/programs/simple-hash.h: Likewise.
56763         * malloc/memusage.c: Likewise.
56764         * malloc/memusagestat.c: Likewise.
56765         * nis/nis_defaults.c: Likewise.
56766         * nis/nis_hash.c: Likewise.
56767         * nis/nis_print.c: Likewise.
56768         * nis/nis_xdr.c: Likewise.
56769         * nscd/connections.c: Likewise.
56770         * nscd/hstcache.c: Likewise.
56771         * nscd/nscd_gethst_r.c: Likewise.
56772         * nscd/nscd_getserv_r.c: Likewise.
56773         * nscd/nscd_helper.c: Likewise.
56774         * nscd/servicescache.c: Likewise.
56775         * nss/makedb.c: Likewise.
56776         * nss/nss_db/db-XXX.c: Likewise.
56777         * nss/nss_db/db-initgroups.c: Likewise.
56778         * nss/nss_db/db-netgrp.c: Likewise.
56779         * nss/nss_files/files-network.c: Likewise.
56780         * nss/nss_files/files-parse.c: Likewise.
56781         * posix/bug-regex5.c: Likewise.
56782         * posix/fnmatch_loop.c: Likewise.
56783         * posix/regcomp.c: Likewise.
56784         * posix/regexec.c: Likewise.
56785         * posix/tst-rfc3484-2.c: Likewise.
56786         * posix/tst-rfc3484-3.c: Likewise.
56787         * posix/tst-rfc3484.c: Likewise.
56788         * resolv/nss_dns/dns-canon.c: Likewise.
56789         * resolv/nss_dns/dns-network.c: Likewise.
56790         * resolv/res_init.c: Likewise.
56791         * resolv/res_mkquery.c: Likewise.
56792         * resolv/tst-aton.c: Likewise.
56793         * stdlib/cxa_atexit.c: Likewise.
56794         * stdlib/cxa_finalize.c: Likewise.
56795         * stdlib/gen-fpioconst.c: Likewise.
56796         * stdlib/strtol_l.c: Likewise.
56797         * string/tst-endian.c: Likewise.
56798         * sunrpc/auth_des.c: Likewise.
56799         * sunrpc/clnt_udp.c: Likewise.
56800         * sunrpc/rtime.c: Likewise.
56801         * sunrpc/svcauth_des.c: Likewise.
56802         * sunrpc/xdr.c: Likewise.
56803         * sunrpc/xdr_intXX_t.c: Likewise.
56804         * sunrpc/xdr_rec.c: Likewise.
56805         * sysdeps/generic/ldconfig.h: Likewise.
56806         * sysdeps/generic/ldsodefs.h: Likewise.
56807         * sysdeps/generic/memusage.h: Likewise.
56808         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56809         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56810         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56811         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56812         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56813         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56814         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56815         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56816         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56817         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56818         * sysdeps/posix/getaddrinfo.c: Likewise.
56819         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56820         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56821         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56822         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56823         * sysdeps/powerpc/test-gettimebase.c: Likewise.
56824         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56825         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56826         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56827         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56828         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56829         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56830         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56831         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56832         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56833         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56834         * sysdeps/x86_64/dl-tls.h: Likewise.
56835         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56836         * time/alt_digit.c: Likewise.
56837         * time/era.c: Likewise.
56838         * wcsmbs/tst-c16c32-1.c: Likewise.
56840 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56842         * math/libm-test.inc (struct test_sincos_data): New type.
56843         (RUN_TEST_LOOP_sincos): New macro.
56844         (sincos_test_data): New variable.
56845         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56847 2013-05-16  Richard Henderson  <rth@redhat.com>
56849         * math/atest-exp2.c (LIMB64): New macro.
56850         (CONSTSZ): New macro.
56851         (mp_exp1, mp_exp_m1, mp_log2): New variables.
56852         (hexdig): Move ...
56853         (print_mpn_fp): ... to function scope.
56854         (read_mpn_hex): Remove.
56855         (get_log2): Remove.
56856         (exp2_mpn): Use mp_log2.
56857         (main): Use mp_exp1.
56859 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56861         * math/libm-test.inc: Remove comment about not testing "inexact"
56862         exceptions.
56863         (INEXACT_EXCEPTION): New macro.
56864         (NO_INEXACT_EXCEPTION): Likewise.
56865         (INVALID_EXCEPTION_OK): Update value.
56866         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56867         (OVERFLOW_EXCEPTION_OK): Likewise.
56868         (UNDERFLOW_EXCEPTION_OK): Likewise.
56869         (IGNORE_ZERO_INF_SIGN): Likewise.
56870         (ERRNO_UNCHANGED): Likewise.
56871         (ERRNO_EDOM): Likewise.
56872         (ERRNO_ERANGE): Likewise.
56873         (test_exceptions): Handle testing "inexact" exceptions.
56874         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56875         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56876         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56877         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56878         INEXACT_EXCEPTION.
56879         (rint_towardzero_test_data): Likewise.
56880         (rint_downward_test_data): Likewise.
56881         (rint_upward_test_data): Likewise.
56883         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56884         with OVERFLOW_EXCEPTION.
56885         (exp10_test_data): Likewise.
56886         (exp2_test_data): Likewise.
56887         (expm1_test_data): Likewise.
56888         (lgamma_test_data): Likewise.
56889         (pow_test_data): Likewise.
56890         (tgamma_test_data): Likewise.
56891         (yn_test_data): Remove duplicate test of overflow.
56893         * math/libm-test.inc (struct test_cc_c_data): New type.
56894         (RUN_TEST_LOOP_cc_c): New macro.
56895         (cpow_test_data): New variable.
56896         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56898         * math/libm-test.inc (struct test_f_L_data): New type.
56899         (RUN_TEST_LOOP_f_L): New macro.
56900         (llrint_test_data): New variable.
56901         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56902         (llrint_tonearest_test_data): New variable.
56903         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56904         (llrint_towardzero_test_data): New variable.
56905         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56906         (llrint_downward_test_data): New variable.
56907         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56908         (llrint_upward_test_data): New variable.
56909         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56910         (llround_test_data): New variable.
56911         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56913 2013-05-13  Peter Collingbourne  <pcc@google.com>
56915         * math/atest-exp2.c (get_log2): Remove const attribute.
56917 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56919         * math/libm-test.inc (struct test_f_l_data): New type.
56920         (RUN_TEST_LOOP_f_l): New macro.
56921         (lrint_test_data): New variable.
56922         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56923         (lrint_tonearest_test_data): New variable.
56924         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56925         (lrint_towardzero_test_data): New variable.
56926         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56927         (lrint_downward_test_data): New variable.
56928         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56929         (lrint_upward_test_data): New variable.
56930         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56931         (lround_test_data): New variable.
56932         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56934 2013-05-15  Peter Collingbourne  <pcc@google.com>
56936         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56937         (EXTRACT_WORDS64) Use where appropriate.
56938         (INSERT_WORDS64) Likewise.
56940         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56941         constraints with x constraints.
56942         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56944         * malloc/obstack.c (_obstack_compat): Add initializer.
56946 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56948         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56949         si_trapno and add si_addr_lsb to _sifields.sigfault.
56950         (si_trapno): Remove macro.
56951         (si_addr_lsb): Define new macro.
56952         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56954 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56956         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56957         instead of TEST_f_l.
56958         (llrint_test_tonearest): Likewise.
56959         (llrint_test_towardzero): Likewise.
56960         (llrint_test_downward): Likewise.
56961         (llrint_test_upward): Likewise.
56962         (llround_test): Likewise.
56964         * math/libm-test.inc (struct test_f_i_data): Add comment.
56965         (RUN_TEST_LOOP_f_b): New macro.
56966         (RUN_TEST_LOOP_f_b_tg): Likewise.
56967         (finite_test_data): New variable.
56968         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56969         (isfinite_test_data): New variable.
56970         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56971         (isinf_test_data): New variable.
56972         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56973         (isnan_test_data): New variable.
56974         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56975         (isnormal_test_data): New variable.
56976         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56977         (issignaling_test_data): New variable.
56978         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56979         (signbit_test_data): New variable.
56980         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56982         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56983         with INVALID_EXCEPTION.
56984         (acosh_test_data): Likewise.
56985         (asin_test_data): Likewise.
56986         (atanh_test_data): Likewise.
56987         (fmod_test_data): Likewise.
56988         (log_test_data): Likewise.
56989         (log10_test_data): Likewise.
56990         (log2_test_data): Likewise.
56991         (pow_test_data): Likewise.
56992         (sqrt_test_data): Likewise.
56993         (y0_test_data): Likewise.
56994         (y1_test_data): Likewise.
56995         (yn_test_data): Likewise.
56997         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56998         function contents.
57000         * math/libm-test.inc (struct test_ff_i_data): New type.
57001         (RUN_TEST_LOOP_ff_i_tg): New macro.
57002         (isgreater_test_data): New variable.
57003         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57004         (isgreaterequal_test_data): New variable.
57005         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57006         (isless_test_data): New variable.
57007         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57008         (islessequal_test_data): New variable.
57009         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57010         (islessgreater_test_data): New variable.
57011         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57012         (isunordered_test_data): New variable.
57013         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57015 2013-05-14  David S. Miller  <davem@davemloft.net>
57017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57019 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
57021         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
57023         * math/libm-test.inc (struct test_fF_f1_data): Change type of
57024         extra_test to int.
57025         (struct test_f_i_data): Change type of max_ulp to int.
57027         * math/libm-test.inc (test_ffI_f1_data): New type.
57028         (RUN_TEST_LOOP_ffI_f1): New macro.
57029         (remquo_test_data): New variable.
57030         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
57032         * setjmp/tst-setjmp-fp.c: New file.
57033         * setjmp/Makefile (tests): Add tst-setjmp-fp.
57034         (link-libm): New variable.
57035         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
57037         * math/libm-test.inc (struct test_f_i_data): New type.
57038         (RUN_TEST_LOOP_f_i): New macro.
57039         (RUN_TEST_LOOP_f_i_tg): Likewise.
57040         (fpclassify_test_data): New variable.
57041         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
57042         (ilogb_test_data): New variable.
57043         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
57045         * math/libm-test.inc (scalbln_test): Correct function name in END
57046         call.
57048         * math/libm-test.inc (struct test_f_f1_data): Add comment.
57049         (RUN_TEST_LOOP_fI_f1): New macro.
57050         (frexp_test_data): New variable.
57051         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
57053         * math/libm-test.inc (struct test_fF_f1_data): New type.
57054         (RUN_TEST_LOOP_fF_f1): New macro.
57055         (modf_test_data): New variable.
57056         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
57058         * math/libm-test.inc (struct test_f_f1_data): New type.
57059         (RUN_TEST_LOOP_f_f1): New macro.
57060         (gamma_test_data): New variable.
57061         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57062         (lgamma_test_data): New variable.
57063         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57065 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
57067         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
57068         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
57069         (main): Comment "tls" pseudo-hwcap.
57071 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
57073         * math/libm-test.inc (struct test_fl_f_data): New type.
57074         (RUN_TEST_LOOP_fl_f): New variable.
57075         (scalbln_test_data): New variable.
57076         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
57078         * math/libm-test.inc (struct test_fi_f_data): New type.
57079         (RUN_TEST_LOOP_fi_f): New macro.
57080         (ldexp_test_data): New variable.
57081         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
57082         (scalbn_test_data): New variable.
57083         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
57085         * math/libm-test.inc (struct test_c_f_data): New type.
57086         (RUN_TEST_LOOP_c_f): New macro.
57087         (cabs_test_data): New variable.
57088         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
57089         (carg_test_data): New variable.
57090         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
57091         (cimag_test_data): New variable.
57092         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
57093         (creal_test_data): New variable.
57094         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
57096         * math/libm-test.inc (struct test_if_f_data): New type.
57097         (RUN_TEST_LOOP_if_f): New macro.
57098         (jn_test_data): New variable.
57099         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
57100         (yn_test_data): New variable.
57101         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57103         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
57105 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57107         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
57108         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
57110 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57112         * benchtests/Makefile (CPPFLAGS-nonlib): Add
57113         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57114         (bench-deps): Add bench-timing.h.
57115         * benchtests-bench-skeleton.c: Include bench-timing.h.
57116         (main): Use TIMING_* macros instead of clock_gettime.
57117         * benchtests/bench-timing.h: New file.
57119         [BZ #14582]
57120         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57121         Renamed from _LIB_VERSION.
57122         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57124 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
57126         * math/libm-test.inc (struct test_fff_f_data): New type.
57127         (RUN_TEST_LOOP_fff_f): New macro.
57128         (fma_test_data): New variable.
57129         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57130         (fma_towardzero_test_data): New variable.
57131         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57132         (fma_downward_test_data): New variable.
57133         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57134         (fma_upward_test_data): New variable.
57135         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57137         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57138         (struct test_c_c_data): New type.
57139         (RUN_TEST_LOOP_c_c): New macro.
57140         (cacos_test_data): New variable.
57141         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57142         (cacosh_test_data): New variable.
57143         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57144         (casin_test_data): New variable.
57145         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57146         (casinh_test_data): New variable.
57147         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57148         (catan_test_data): New variable.
57149         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57150         (catanh_test_data): New variable.
57151         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57152         (ccos_test_data): New variable.
57153         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57154         (ccosh_test_data): New variable.
57155         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57156         (cexp_test_data): New variable.
57157         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57158         (clog_test_data): New variable.
57159         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57160         (clog10_test_data): New variable.
57161         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57162         (conj_test_data): New variable.
57163         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57164         (cproj_test_data): New variable.
57165         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57166         (csin_test_data): New variable.
57167         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57168         (csinh_test_data): New variable.
57169         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57170         (csqrt_test_data): New variable.
57171         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57172         (ctan_test_data): New variable.
57173         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57174         (ctan_tonearest_test_data): New variable.
57175         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57176         (ctan_towardzero_test_data): New variable.
57177         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57178         (ctan_downward_test_data): New variable.
57179         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57180         (ctan_upward_test_data): New variable.
57181         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57182         (ctanh_test_data): New variable.
57183         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57184         (ctanh_tonearest_test_data): New variable.
57185         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57186         (ctanh_towardzero_test_data): New variable.
57187         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57188         (ctanh_downward_test_data): New variable.
57189         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57190         (ctanh_upward_test_data): New variable.
57191         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57192         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57193         of BUILD_COMPLEX.
57195         * math/libm-test.inc (struct test_ff_f_data): New type.
57196         (struct test_ff_f_data_nexttoward): Likewise.
57197         (RUN_TEST_LOOP_2_f): New macro.
57198         (RUN_TEST_LOOP_ff_f): Likewise.
57199         (atan2_test_data): New variable.
57200         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57201         (copysign_test_data): New variable.
57202         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57203         (fdim_test_data): New variable.
57204         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57205         (fmax_test_data): New variable.
57206         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57207         (fmin_test_data): New variable.
57208         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57209         (fmod_test_data): New variable.
57210         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57211         (hypot_test_data): New variable.
57212         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57213         (nextafter_test_data): New variable.
57214         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57215         (nexttoward_test_data): New variable.
57216         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57217         (pow_test_data): New variable.
57218         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57219         (pow_tonearest_test_data): New variable.
57220         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57221         (pow_towardzero_test_data): New variable.
57222         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57223         (pow_downward_test_data): New variable.
57224         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57225         (pow_upward_test_data): New variable.
57226         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57227         (remainder_test_data): New variable.
57228         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57229         (scalb_test_data): New variable.
57230         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57231         * sysdeps/i386/fpu/libm-test-ulps: Update.
57233 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
57235         * math/libm-test.inc (fma_test): Use max_value instead of local
57236         variable fltmax.
57237         (nextafter_test): Likewise.
57239         * math/libm-test.inc (acos_towardzero_test_data): New variable.
57240         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57241         (acos_downward_test_data): New variable.
57242         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57243         (acos_upward_test_data): New variable.
57244         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57245         (acosh_test_data): New variable.
57246         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57247         (asin_test_data): New variable.
57248         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57249         (asin_tonearest_test_data): New variable.
57250         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57251         (asin_towardzero_test_data): New variable.
57252         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57253         (asin_downward_test_data): New variable.
57254         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57255         (asin_upward_test_data): New variable.
57256         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57257         (asinh_test_data): New variable.
57258         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57259         (atan_test_data): New variable.
57260         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57261         (atanh_test_data): New variable.
57262         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57263         (cbrt_test_data): New variable.
57264         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57265         (ceil_test_data): New variable.
57266         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57267         (cos_test_data): New variable.
57268         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57269         (cos_tonearest_test_data): New variable.
57270         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57271         (cos_towardzero_test_data): New variable.
57272         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57273         (cos_downward_test_data): New variable.
57274         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57275         (cos_upward_test_data): New variable.
57276         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57277         (cosh_test_data): New variable.
57278         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57279         (cosh_tonearest_test_data): New variable.
57280         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57281         (cosh_towardzero_test_data): New variable.
57282         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57283         (cosh_downward_test_data): New variable.
57284         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57285         (cosh_upward_test_data): New variable.
57286         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57287         (erf_test_data): New variable.
57288         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57289         (erfc_test_data): New variable.
57290         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57291         (exp_test_data): New variable.
57292         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57293         (exp_tonearest_test_data): New variable.
57294         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57295         (exp_towardzero_test_data): New variable.
57296         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57297         (exp_downward_test_data): New variable.
57298         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57299         (exp_upward_test_data): New variable.
57300         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57301         (exp10_test_data): New variable.
57302         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57303         (exp2_test_data): New variable.
57304         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57305         (expm1_test_data): New variable.
57306         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57307         (fabs_test_data): New variable.
57308         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57309         (floor_test_data): New variable.
57310         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57311         (j0_test_data): New variable.
57312         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57313         (j1_test_data): New variable.
57314         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57315         (log_test_data): New variable.
57316         (log_test): Run tests with RUN_TEST_LOOP_f_f.
57317         (log10_test_data): New variable.
57318         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57319         (log1p_test_data): New variable.
57320         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57321         (log2_test_data): New variable.
57322         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57323         (logb_test_data): New variable.
57324         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57325         (logb_downward_test_data): New variable.
57326         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57327         (nearbyint_test_data): New variable.
57328         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57329         (rint_test_data): New variable.
57330         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57331         (rint_tonearest_test_data): New variable.
57332         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57333         (rint_towardzero_test_data): New variable.
57334         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57335         (rint_downward_test_data): New variable.
57336         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57337         (rint_upward_test_data): New variable.
57338         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57339         (round_test_data): New variable.
57340         (round_test): Run tests with RUN_TEST_LOOP_f_f.
57341         (sin_test_data): New variable.
57342         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57343         (sin_tonearest_test_data): New variable.
57344         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57345         (sin_towardzero_test_data): New variable.
57346         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57347         (sin_downward_test_data): New variable.
57348         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57349         (sin_upward_test_data): New variable.
57350         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57351         (sinh_test_data): New variable.
57352         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57353         (sinh_tonearest_test_data): New variable.
57354         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57355         (sinh_towardzero_test_data): New variable.
57356         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57357         (sinh_downward_test_data): New variable.
57358         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57359         (sinh_upward_test_data): New variable.
57360         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57361         (sqrt_test_data): New variable.
57362         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57363         (tan_test_data): New variable.
57364         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57365         (tan_tonearest_test_data): New variable.
57366         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57367         (tan_towardzero_test_data): New variable.
57368         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57369         (tan_downward_test_data): New variable.
57370         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57371         (tan_upward_test_data): New variable.
57372         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57373         (tanh_test_data): New variable.
57374         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57375         (tgamma_test_data): New variable.
57376         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57377         (trunc_test_data): New variable.
57378         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57379         (y0_test_data): New variable.
57380         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57381         (y1_test_data): New variable.
57382         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57383         (significand_test_data): New variable.
57384         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57386 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
57388         [BZ #12387]
57389         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57391 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57393         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57395 2013-05-10  Andreas Jaeger  <aj@suse.de>
57397         [BZ #15448]
57398         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57399         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57401 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57403         * math/gen-libm-test.pl (adjust_arg): New function.
57404         (special_functions): Handle generating output in both functions
57405         and arrays.
57406         (parse_args): Likewise.
57407         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
57408         $in_func argument to parse_args.
57409         * math/libm-test.inc (struct test_f_f_data): New type.
57410         (IF_ROUND_INIT_): New macro.
57411         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57412         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57413         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57414         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57415         (ROUND_RESTORE_): Likewise.
57416         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57417         (ROUND_RESTORE_FE_TONEAREST): Likewise.
57418         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57419         (ROUND_RESTORE_FE_UPWARD): Likewise.
57420         (RUN_TEST_LOOP_f_f): New macro.
57421         (acos_test_data): New variable.
57422         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57423         (acos_tonearest_test_data): New variable.
57424         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57426 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57428         * benchtests/bench-skeleton.c (startup): Fix coding style.
57430 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57432         [BZ #6809]
57433         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57434         negative infinity argument.
57435         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57436         negative infinity argument.
57437         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57438         negative infinity argument.
57439         * math/libm-test.inc (tgamma_test): Expect errno to be set for
57440         domain errors.
57442 2013-05-10  Florian Weimer  <fweimer@redhat.com>
57444         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57445         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57446         * iconv/iconv_prog.c (main): Likewise.
57447         * locale/programs/charmap-dir.c (charmap_readdir)
57448         (fopen_uncompressed): Likewise.
57449         * locale/programs/locfile.c (siblings_uncached)
57450         (write_locale_data): Use lstat64 instead of lstat.
57451         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57452         stat.
57454 2013-05-10  Andreas Jaeger  <aj@suse.de>
57456         [BZ #15395]
57457         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57458         localization.
57459         Include <locale.h>.
57461 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
57463         * elf/dl-close.c (_dl_close_worker): Add comments.
57465 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
57467         [BZ #15359]
57468         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57469         high part of pi/2.
57470         (__ieee754_rem_pio2l): Update comments.
57472         [BZ #15429]
57473         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57474         high part of pi/2.
57475         (__ieee754_rem_pio2l): Update comments.
57477         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57478         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57480         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57481         M_PI_4l.
57483         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57484         (M_PI_34_LOG10El): Likewise.
57485         (M_PI2_LOG10El): Likewise.
57486         (M_PI4_LOG10El): Likewise.
57487         (M_PI_LOG10El): Likewise.
57489 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57493 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
57495         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57496         (MINUS_ZERO_INIT): Likewise.
57497         (PLUS_INFTY_INIT): Likewise.
57498         (MINUS_INFTY_INIT): Likewise.
57499         (QNAN_VALUE_INIT): Likewise.
57500         (MAX_VALUE_INIT): Likewise.
57501         (MIN_VALUE_INIT): Likewise.
57502         (MIN_SUBNORM_VALUE_INIT): Likewise.
57503         (plus_zero): Initialize with PLUS_ZERO_INIT.
57504         (minus_zero): Initialize with MINUS_ZERO_INIT.
57505         (plus_infty): Initialize with PLUS_INFTY_INIT.
57506         (minus_infty): Initialize with MINUS_INFTY_INIT.
57507         (qnan_value): Initialize with QNAN_VALUE_INIT.
57508         (max_value): Initialize with MAX_VALUE_INIT.
57509         (min_value): Initialize with MIN_VALUE_INIT.
57510         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57512         * math/libm-test.inc (RUN_TEST_if_f): New macro.
57513         (jn_test): Use TEST_if_f instead of TEST_ff_f.
57514         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57515         (yn_test): Use TEST_if_f instead of TEST_ff_f.
57517         * math/libm-test.inc (RUN_TEST_f_f): New macro.
57518         (RUN_TEST_2_f): Likewise.
57519         (RUN_TEST_ff_f): Likewise.
57520         (RUN_TEST_fi_f): Likewise.
57521         (RUN_TEST_fl_f): Likewise.
57522         (RUN_TEST_fff_f): Likewise.
57523         (RUN_TEST_c_f): Likewise.
57524         (RUN_TEST_f_f1): Likewise.
57525         (RUN_TEST_fF_f1): Likewise.
57526         (RUN_TEST_fI_f1): Likewise.
57527         (RUN_TEST_ffI_f1): Likewise.
57528         (RUN_TEST_c_c): Likewise.
57529         (RUN_TEST_cc_c): Likewise.
57530         (RUN_TEST_f_i): Likewise.
57531         (RUN_TEST_f_i_tg): Likewise.
57532         (RUN_TEST_ff_i_tg): Likewise.
57533         (RUN_TEST_f_b): Likewise.
57534         (RUN_TEST_f_b_tg): Likewise.
57535         (RUN_TEST_f_l): Likewise.
57536         (RUN_TEST_f_L): Likewise.
57537         (RUN_TEST_sincos): Likewise.
57538         * math/gen-libm-test.pl (new_test): Take new argument to indicate
57539         whether to show exceptions.  Do not include ");\n" in return
57540         value.
57541         (special_functions): Output call to RUN_TEST_sincos instead of
57542         check_float calls.  Update calls to new_test.
57543         (parse_args): Output call to single RUN_TEST_* macro instead of
57544         check_* calls and other assignments.  Update calls to new_test.
57546         [BZ #2546]
57547         [BZ #2560]
57548         [BZ #5159]
57549         [BZ #15426]
57550         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57551         input to result for tgamma overflow.
57552         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57553         (gamma_coeff): New variable.
57554         (NCOEFF): New macro.
57555         (gamma_positive): New function.
57556         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57557         underflow here.  Use gamma_positive instead of exp (lgamma) for
57558         other arguments.
57559         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57560         (gamma_coeff): New variable.
57561         (NCOEFF): New macro.
57562         (gammaf_positive): New function.
57563         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57564         underflow here.  Use gamma_positive instead of exp (lgamma) for
57565         other arguments.
57566         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57567         (gamma_coeff): New variable.
57568         (NCOEFF): New macro.
57569         (gammal_positive): New function.
57570         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57571         underflow here.  Use gamma_positive instead of exp (lgamma) for
57572         other arguments.
57573         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57574         (gamma_coeff): New variable.
57575         (NCOEFF): New macro.
57576         (gammal_positive): New function.
57577         (__ieee754_gammal_r): Handle positive infinity, overflow and
57578         underflow here.  Handle NaN the same as positive infinity.  Remove
57579         check x < 0xffffffff for negative integers.  Use gamma_positive
57580         instead of exp (lgamma) for other arguments.
57581         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57582         (gamma_coeff): New variable.
57583         (NCOEFF): New macro.
57584         (gammal_positive): New function.
57585         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57586         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57587         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57588         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57589         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57590         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57591         * sysdeps/generic/math_private.h (__gamma_productf): New
57592         prototype.
57593         (__gamma_product): Likewise.
57594         (__gamma_productl): Likewise.
57595         * math/Makefile (libm-calls): Add gamma_product.
57596         * math/libm-test.inc (tgamma_test): Add more tests.
57597         * sysdeps/i386/fpu/libm-test-ulps: Update.
57598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57600 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
57602         * benchtests/bench-skeleton.c (main): Preheat CPU.
57604 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
57606         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57608 2013-05-07  Roland McGrath  <roland@hack.frob.com>
57610         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57611         and _dl_skip_args_internal.
57613 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
57615         * manual/message.texi (Message Translation): Talk about users.
57616         Message to key mapping impacts design.
57618 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57620         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57622         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57624         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57625         * sysdeps/wordsize-64/glob64.c: ... here.
57627         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57628         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57629         New macros.
57631         * debug/getlogin_r_chk.c: Moved to ...
57632         * login/getlogin_r_chk.c: ... here.
57633         * debug/Makefile (routines): Move getlogin_r_chk to ...
57634         * login/Makefile (routines): ... here.
57635         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57636         * login/Versions (libc: GLIBC_2.4): ... here.
57638         * io/poll.c (__poll): Renamed from poll.
57639         Add libc_hidden_def.
57640         (poll): Define as weak alias.
57642         * debug/ptsname_r_chk.c: Moved to ...
57643         * login/ptsname_r_chk.c: ... here.
57644         * debug/Makefile (routines): Move ptsname_r_chk to ...
57645         * login/Makefile (routines): ... here.
57646         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57647         * login/Versions (libc: GLIBC_2.4): ... here.
57649         * posix/getlogin.c: Moved to ...
57650         * login/getlogin.c: ... here.
57651         * posix/getlogin_r.c: Moved to ...
57652         * login/getlogin_r.c: ... here.
57653         * posix/getlogin_r.c: Moved to ...
57654         * login/getlogin_r.c: ... here.
57655         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57656         * login/Makefile (routines): ... here.
57657         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57658         * login/Versions (libc: GLIBC_2.0): ... here.
57660         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57661         (setrlimit): Define as weak alias.
57663         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57664         Call __ names for open, ftruncate, and close.
57665         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57666         (truncate): Define as weak alias.
57668 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
57670         * math/gen-libm-test.pl (parse_args): Initialize x before each
57671         test of frexp, modf and remquo.
57673         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57674         test signgam value.
57676 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57678         [BZ #15418]
57679         [BZ #15419]
57680         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57681         internal tests.
57682         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57684 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57686         * elf/dl-writev.h: New file.
57687         * elf/dl-misc.c: Include it.
57688         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57689         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57691 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
57693         * math/libm-test.inc (noXFails): Remove variable.
57694         (noXPasses): Likewise.
57695         (BUILD_COMPLEX_INT): Remove macro.
57696         (print_screen): Remove xfail argument.
57697         (print_screen_max_error): Likewise.
57698         (update_stats): Likewise.
57699         (print_max_error): Likewise.  Update calls to other affected
57700         functions.
57701         (print_complex_max_error): Likewise.
57702         (test_single_exception): Update calls to print_screen.
57703         (test_single_errno): Likewise.
57704         (check_float_internal): Remove xfail argument.  Update calls to
57705         other affected functions.
57706         (check_float): Likewise.
57707         (check_complex): Likewise.
57708         (check_int): Likewise.
57709         (check_long): Likewise.
57710         (check_bool): Likewise.
57711         (check_longlong): Likewise.
57712         (main): Don't print noXFails and noXPasses.
57713         * math/gen-libm-test.pl (top level): Don't mention expected
57714         failure handling in comment.
57715         (new_test): Don't handle expected failures.
57716         (parse_args): Don't mention expected failure handling in comment.
57717         (generate_testfile): Don't handle expected failures.
57718         (parse_ulps): Likewise.
57719         (print_ulps_file): Likewise.
57720         (get_failure): Remove function.
57721         (output_test): Don't handle expected failures.
57722         * make/README.libm-test: Don't mention expected failure handling.
57724         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
57725         (minus_zero): Likewise.
57726         (plus_infty): Likewise.
57727         (minus_infty): Likewise.
57728         (qnan_value): Likewise.
57729         (max_value): Likewise.
57730         (min_value): Likewise.
57731         (min_subnorm_value): Likewise.
57732         (initialize): Do not initialize those variables dynamically.
57734 2013-05-03  Roland McGrath  <roland@hack.frob.com>
57736         * io/open.c (__open_2): Moved to ...
57737         * io/open_2.c: ... this new file.
57738         * io/open64.c (__open64_2): Moved to ...
57739         * io/open64_2.c: ... this new file.
57740         * io/openat.c (__openat_2): Moved to ...
57741         * io/openat_2.c: ... this new file.
57742         * io/openat64.c (__openat64_2): Moved to ...
57743         * io/openat64_2.c: ... this new file.
57744         * io/Makefile (routines): Add them.
57745         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57746         * sysdeps/unix/sysv/linux/open_2.c: File removed.
57747         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57748         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57749         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57750         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57751         (__openat64): Add hidden_ver.
57752         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57753         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57755         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57756         Separately conditionalize setting of GLRO(dl_sysinfo) so
57757         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57758         as well, but the actual setting is only under [NEED_DL_SYSINFO].
57760 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57762         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57763         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57764         definition.
57765         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57766         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57767         (_libc_vdso_platform_setup): Add __vdso_time initialization.
57768         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57769         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57771 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
57773         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57774         test signgam value.
57776         * math/libm-test.inc (hypot_test): Do not use
57777         IGNORE_ZERO_INF_SIGN.
57779 2013-05-03  Andreas Jaeger  <aj@suse.de>
57781         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57782         Linux 3.9.
57783         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57784         (PF_MAX): Adjust for VSOCK change.
57786 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57790 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
57792         [BZ #15264]
57793         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57794         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57795         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57797 2013-05-02  David S. Miller  <davem@davemloft.net>
57799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57801 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
57803         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57805 2013-05-01  Roland McGrath  <roland@hack.frob.com>
57807         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57809 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
57811         [BZ #14952]
57812         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57813         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57814         Use __attribute__ ((__gnu_inline__)).
57815         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57816         Don't use __attribute__ ((__gnu_inline__)).
57818 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
57820         [BZ #15423]
57821         * math/s_catan.c (__catan): Handle small real or imaginary part of
57822         input specially to avoid spurious underflow.
57823         * math/s_catanf.c (__catanf): Likewise.
57824         * math/s_catanh.c (__catanh): Likewise.
57825         * math/s_catanhf.c (__catanhf): Likewise.
57826         * math/s_catanhl.c (__catanhl): Likewise.
57827         * math/s_catanl.c (__catanl): Likewise.
57828         * math/libm-test.inc (catan_test): Add more tests.
57829         (catanh_test): Likewise.
57830         * sysdeps/i386/fpu/libm-test-ulps: Update.
57831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57833 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57837 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
57839         [BZ #15416]
57840         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57841         accurately for denominator in atan2.
57842         * math/s_catanf.c (__catanf): Likewise.
57843         * math/s_catanh.c (__catanh): Likewise.
57844         * math/s_catanhf.c (__catanhf): Likewise.
57845         * math/s_catanhl.c (__catanhl): Likewise.
57846         * math/s_catanl.c (__catanl): Likewise.
57847         * math/libm-test.inc (catan_test): Add more tests.
57848         (catanh_test): Likewise.
57849         * sysdeps/i386/fpu/libm-test-ulps: Update.
57850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57852 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57854         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57856         * benchtests/Makefile (bench): Remove slow benchmarks.
57857         * benchtests/atan-inputs: Add slow benchmark inputs.
57858         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57859         (BENCH_FUNC): Accept variant offset.
57860         (VARIANT): Define.
57861         * benchtests/bench-skeleton.c (main): Run benchmark for each
57862         variant.
57863         * benchtests/cos-inputs: Add slow benchmark inputs.
57864         * benchtests/exp-inputs: Likewise.
57865         * benchtests/pow-inputs: Likewise.
57866         * benchtests/sin-inputs: Likewise.
57867         * benchtests/slowatan-inputs: Remove.
57868         * benchtests/slowatan.c: Remove.
57869         * benchtests/slowcos-inputs: Remove.
57870         * benchtests/slowcos.c: Remove.
57871         * benchtests/slowexp-inputs: Remove.
57872         * benchtests/slowexp.c: Remove.
57873         * benchtests/slowpow-inputs: Remove.
57874         * benchtests/slowpow.c: Remove.
57875         * benchtests/slowsin-inputs: Remove.
57876         * benchtests/slowsin.c: Remove.
57877         * benchtests/slowtan-inputs: Remove.
57878         * benchtests/slowtan.c: Remove.
57879         * benchtests/tan-inputs: Add slow benchmark inputs.
57880         * scripts/bench.pl: Parse comments and directives.
57882         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
57883         in CPPFLAGS.
57884         ($(objpfx)bench-%.c): Remove *-ITER.
57885         * benchtests/bench-modf.c: Remove definition of ITER.
57886         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57887         (main): Loop for DURATION seconds instead of fixed number of
57888         iterations.
57889         * scripts/bench.pl: Don't expect iterations in parameters.
57891 2013-04-29  Roland McGrath  <roland@hack.frob.com>
57893         * io/fchdir.c (__fchdir): Renamed from fchdir.
57894         (fchdir): Define as weak alias.
57896 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57898         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57899         (ERRNO_EDOM): Likewise.
57900         (ERRNO_ERANGE): Likewise.
57901         (noErrnoTests): New variable.
57902         (init_max_error): Set errno to 0.
57903         (test_single_errno): New function.
57904         (test_errno): Likewise.
57905         (check_float_internal): Call test_errno.  Set errno to 0.
57906         (check_complex): Refer to errno tests in comment.
57907         (check_int): Call test_errno.  Set errno to 0.
57908         (check_long): Likewise.
57909         (check_bool): Likewise.
57910         (check_longlong): Likewise.
57911         (cos_test): Use ERRNO_* flags for errno tests instead of
57912         check_int.
57913         (expm1_test): Likewise.
57914         (fmod_test): Likewise.
57915         (ilogb_test): Likewise.
57916         (lgamma_test): Likewise.
57917         (pow_test): Likewise.
57918         (remainder_test): Likewise.
57919         (sin_test): Likewise.
57920         (tan_test): Likewise.
57921         (yn_test): Likewise.
57922         (initialize): Set errno to 0.
57923         (main): Print number of errno tests.
57924         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57926 2013-04-29  Andreas Jaeger  <aj@suse.de>
57928         [BZ #15084]
57929         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57930         and RES_USEVC.
57932         [BZ #15085]
57933         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57934         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57935         unimplemented.
57937         [BZ #15380]
57938         * stdlib/random.c (__initstate): Return NULL if
57939         __initstate fails.
57941         [BZ #15086]
57942         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57943         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57944         RES_SNGLKUPREOP.
57946 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57950 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57952         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57953         of individual tests.
57954         (casin_test): Likewise.
57955         (casinh_test): Likewise.
57957 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57959         [BZ #15409]
57960         * math/s_catan.c (__catan): Handle arguments with large real or
57961         imaginary part separately without squaring.
57962         * math/s_catanf.c (__catanf): Likewise.
57963         * math/s_catanh.c (__catanh): Likewise.
57964         * math/s_catanhf.c (__catanhf): Likewise.
57965         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57966         and redefine.
57967         (__catanhl): Handle arguments with large real or imaginary part
57968         separately without squaring.
57969         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57970         and redefine.
57971         (__catanl): Handle arguments with large real or imaginary part
57972         separately without squaring.
57973         * math/libm-test.inc (catan_test): Add more tests.
57974         (catanh_test): Likewise.
57975         * sysdeps/i386/fpu/libm-test-ulps: Update.
57976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57978 2013-04-27  Andreas Jaeger  <aj@suse.de>
57980         [BZ #15007]
57981         * stdlib/stdlib.h: Update guards for qecvt.
57982         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57983         <stdlib.h>.
57985 2013-04-27  Allan McRae  <allan@archlinux.org>
57987         * sysdeps/i386/fpu/libm-test-ulps: Update.
57989 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57991         [BZ #15406]
57992         * math/s_catan.c: Include <float.h>.
57993         (__catan): Ensure underflow exception occurs for underflowed
57994         result.
57995         * math/s_catanf.c: Include <float.h>.
57996         (__catanf): Ensure underflow exception occurs for underflowed
57997         result.
57998         * math/s_catanh.c: Include <float.h>.
57999         (__catanh): Ensure underflow exception occurs for underflowed
58000         result.
58001         * math/s_catanhf.c: Include <float.h>.
58002         (__catanhf): Ensure underflow exception occurs for underflowed
58003         result.
58004         * math/s_catanhl.c: Include <float.h>.
58005         (__catanhl): Ensure underflow exception occurs for underflowed
58006         result.
58007         * math/s_catanl.c: Include <float.h>.
58008         (__catanl): Ensure underflow exception occurs for underflowed
58009         result.
58010         * math/libm-test.inc (catan_test): Add more tests.
58011         (catanh_test): Likewise.
58013         [BZ #15405]
58014         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
58015         underflowed result.
58016         * math/s_ccoshf.c (__ccoshf): Likewise.
58017         * math/s_ccoshl.c (__ccoshl): Likewise.
58018         * math/s_csin.c (__csin): Likewise.
58019         * math/s_csinf.c (__csinf): Likewise.
58020         * math/s_csinh.c (__csinh): Likewise.
58021         * math/s_csinhf.c (__csinhf): Likewise.
58022         * math/s_csinhl.c (__csinhl): Likewise.
58023         * math/s_csinl.c (__csinl): Likewise.
58024         * math/libm-test.inc (ccos_test): Add more tests.
58025         (ccosh_test): Likewise.
58026         (csin_test): Likewise.
58027         (csinh_test): Likewise.
58029 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58031         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
58032         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
58033         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
58034         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
58035         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
58036         powerpc/power5+/fpu folders.
58037         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
58040 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58044 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
58046         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
58047         additions to variable.
58048         [$(config-machine) = x86_64] (modules-names): Likewise.
58049         ($(objpfx)tst-audit3): Remove dependency.
58050         ($(objpfx)tst-audit3.out): Likewise.
58051         ($(objpfx)tst-audit4): Likewise.
58052         ($(objpfx)tst-audit4.out): Likewise.
58053         ($(objpfx)tst-audit5): Likewise.
58054         ($(objpfx)tst-audit5.out): Likewise.
58055         ($(objpfx)tst-audit6): Likewise.
58056         ($(objpfx)tst-audit6.out): Likewise.
58057         ($(objpfx)tst-audit7): Likewise.
58058         ($(objpfx)tst-audit7.out): Likewise.
58059         (tst-audit3-ENV): Remove variable.
58060         (tst-audit4-ENV): Likewise.
58061         (tst-audit5-ENV): Likewise.
58062         (tst-audit6-ENV): Likewise.
58063         (tst-audit7-ENV): Likewise.
58064         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
58065         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
58066         addition to variable.
58067         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
58068         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
58069         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
58070         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
58071         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
58072         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
58073         tst-audit3, tst-audit4 and tst-audit5.
58074         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
58075         tst-audit6 and tst-audit7.
58076         [$(subdir) = elf] (modules-names): Add audit modules for those
58077         tests.
58078         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
58079         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
58080         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
58081         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
58082         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
58083         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
58084         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
58085         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
58086         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
58087         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
58088         [$(subdir) = elf] (tst-audit3-ENV): New variable.
58089         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
58090         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
58091         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
58092         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
58093         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
58094         Likewise.
58095         [$(subdir) = elf && $(config-cflags-avx) = yes]
58096         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
58097         [$(subdir) = elf && $(config-cflags-avx) = yes]
58098         (CFLAGS-tst-auditmod4a.c): Likewise.
58099         [$(subdir) = elf && $(config-cflags-avx) = yes]
58100         (CFLAGS-tst-auditmod4b.c): Likewise.
58101         [$(subdir) = elf && $(config-cflags-avx) = yes]
58102         (CFLAGS-tst-auditmod6b.c): Likewise.
58103         [$(subdir) = elf && $(config-cflags-avx) = yes]
58104         (CFLAGS-tst-auditmod6c.c): Likewise.
58105         [$(subdir) = elf && $(config-cflags-avx) = yes]
58106         (CFLAGS-tst-auditmod7b.c): Likewise.
58107         * elf/tst-audit3.c: Move to ...
58108         * sysdeps/x86_64/tst-audit3.c: ... here.
58109         * elf/tst-audit4.c: Move to ...
58110         * sysdeps/x86_64/tst-audit4.c: ... here.
58111         * elf/tst-audit5.c: Move to ...
58112         * sysdeps/x86_64/tst-audit5.c: ... here.
58113         * elf/tst-audit6.c: Move to ...
58114         * sysdeps/x86_64/tst-audit6.c: ... here.
58115         * elf/tst-audit7.c: Move to ...
58116         * sysdeps/x86_64/tst-audit7.c: ... here.
58117         * elf/tst-auditmod3a.c: Move to ...
58118         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58119         * elf/tst-auditmod3b.c: Move to ...
58120         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58121         * elf/tst-auditmod4a.c: Move to ...
58122         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58123         * elf/tst-auditmod4b.c: Move to ...
58124         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58125         * elf/tst-auditmod5a.c: Move to ...
58126         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58127         * elf/tst-auditmod5b.c: Move to ...
58128         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58129         * elf/tst-auditmod6a.c: Move to ...
58130         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58131         * elf/tst-auditmod6b.c: Move to ...
58132         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58133         * elf/tst-auditmod6c.c: Move to ...
58134         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58135         * elf/tst-auditmod7a.c: Move to ...
58136         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58137         * elf/tst-auditmod7b.c: Move to ...
58138         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58140 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
58142         [BZ #15366]
58143         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58144         define unconditionally.
58145         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58146         define unconditionally.
58147         (INT8_C, INT16_C, etc.): Likewise.
58149 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
58151         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58152         __ehdr_start with hidden visibility.
58154         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58156 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
58158         * math/libm-test.inc (cos_test): Use accurate hex constants.
58159         (sincost_test): Likewise.
58161 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
58163         * math/libm-test.inc (catan_test): Add more tests.
58164         (catanh_test): Likewise.
58166         * math/s_catanf.c (__catanf): Use suffixed floating-point
58167         constants.
58168         * math/s_catanhf.c (__catanhf): Likewise.
58169         * math/s_catanhl.c (__catanhl): Likewise.
58170         * math/s_catanl.c (__catanl): Likewise.
58172         [BZ #15394]
58173         * math/s_catan.c (__catan): Calculate imaginary part of result
58174         with log1p not log unless computing log of number close to 0.
58175         * math/s_catanf.c (__catanf): Likewise.
58176         * math/s_catanl.c (__catanl): Likewise.
58177         * math/s_catanh.c (__catanh): Calculate real part of result with
58178         log1p not log unless computing log of number close to 0.
58179         * math/s_catanhf.c (__catanhf): Likewise.
58180         * math/s_catanhl.c (__catanhl): Likewise.
58181         * math/libm-test.inc (catan_test): Add more tests.
58182         (catanh_test): Likewise.
58183         * sysdeps/i386/fpu/libm-test-ulps: Update.
58184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58186 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58188         * benchtests/Makefile: Mention files in which fast and slow
58189         paths of math functions are implemented.
58191 2013-04-23  Roland McGrath  <roland@hack.frob.com>
58193         * sysdeps/posix/timespec_get.c: New file.
58195 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58197         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58198         POWER.
58199         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58200         for POWER.
58201         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58202         powerpc/power5/fpu folders.
58203         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58204         * benchtests/Makefile: Add modf testcase.
58205         * benchtests/bench-modf.c: New file: Benchmark test for mo
58207 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
58209         [BZ #14888]
58210         * time/Makefile (tests): Add tst-strptime-whitespace.
58211         * time/strptime_l.c (get_number): Use ISSPACE.
58212         (__strptime_internal): Likewise.
58213         * time/tst-strptime-whitespace.c: New test case.
58215 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
58217         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58218         member.
58219         (_nss_files_init): Set it here.
58221 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
58223         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58224         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58225         unsigned.
58227 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
58229         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58231 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58233         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58234         size just once.
58236 2013-04-21  David S. Miller  <davem@davemloft.net>
58238         * po/ru.po: Update Russion translation from translation project.
58240 2013-04-17  Adam Conrad  <adconrad@0c3.net>
58242         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58243         and setfsgid.
58245 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
58247         * configure.in: Remove i386 configure warning. Remove i386 case.
58248         * configure: Regenerate.
58249         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58250         Add example to error message.
58251         * sysdeps/i386/configure: Regenerate.
58253 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58255         * benchtests/Makefile (bench): Add cos, tan, slowcos and
58256         slowtan.
58257         * benchtests/cos-inputs: New file.
58258         * benchtests/slowcos-inputs: New file.
58259         * benchtests/slowcos.c: New file.
58260         * benchtests/slowtan-inputs: New file.
58261         * benchtests/slowtan.c: New file.
58262         * benchtests/tan-inputs: New file.
58264 2013-04-16  Roland McGrath  <roland@hack.frob.com>
58266         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58267         considered kosher.
58269 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58271         * benchtests/Makefile: Include cppflags-iterator.mk to add
58272         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58274         * Makefile.in (bench-clean): New target.
58275         * benchtests/Makefile (bench-clean): Likewise.
58277 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
58279         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58281 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
58283         * stdio-common/tstdiomisc.c: Fix coding-style violation.
58285 2013-04-15  Andreas Schwab  <schwab@suse.de>
58287         * nscd/grpcache.c (cache_addgr): Properly check for short write.
58288         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58289         * nscd/pwdcache.c (cache_addpw): Likewise.
58290         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
58291         more than recsize.
58293 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58295         * benchtests/Makefile (bench): Write all output to
58296         bench-out.tmp together.
58298 2013-04-15  Andreas Schwab  <schwab@suse.de>
58300         * nscd/nscd.c (main): Don't fork again after closing files.
58302 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58304         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58306         * benchtests/Rules (bench-deps): Collect dependencies into a
58307         single variable.  Add Makefile to dependencies.
58308         ($(objpfx)bench-%.c): Depend on bench-deps.
58310 2013-04-12  Roland McGrath  <roland@hack.frob.com>
58311             Xavier Roche  <roche+kml2@exalead.com>
58313         [BZ #15361]
58314         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58315         just that it's a file descriptor.
58316         * manual/llio.texi (Synchronizing AIO Operations): Update description
58317         for EBADF error from aio_fsync.
58319 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58321         * Rules (bench): Move target definition...
58322         * benchtests/Makefile: ... here.
58324 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
58326         * math/libm-test.inc (cos_test): Fix PI/2 test.
58327         (sincos_test): Likewise.
58328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58329         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58331 2013-04-11  Andreas Schwab  <schwab@suse.de>
58333         [BZ #13988]
58334         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58335         accept exponent character only when digits were seen.
58336         * stdio-common/Makefile (tests): Add bug26.
58337         * stdio-common/bug26.c: New file.
58339         [BZ #14293]
58340         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58341         non-freeable.
58343 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58345         * Makeconfig (rtld-prefix): Define built linker prefix.
58346         * Rules (run-bench): Use it.
58347         * math/Makefile (run-regen-ulps): Likewise.
58349         * Rules (bench): Remove eval.
58351 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58352             Roland McGrath  <roland@hack.frob.com>
58353             Ondrej Bilka  <neleai@seznam.cz>
58355         [BZ #15346]
58356         * time/getdate.c: Include ctype.h and alloca.h.
58357         (__getdate_r): Trim leading and trailing spaces of input.
58358         * time/tst-getdate.c (tests): Add tests with leading and
58359         trailing spaces.
58361 2013-04-08  Roland McGrath  <roland@hack.frob.com>
58363         [BZ #14280]
58364         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58365         when computing value.
58367 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58369         * math/README.libm-test (How can I generate "libm-test-ulps"?):
58370         Use testrun.sh to run libm tests.
58372         [BZ #15309]
58373         * elf/dl-open.c (dl_open_worker): memset all of seen array.
58375 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
58377         [BZ #15264]
58378         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58380 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58382         * Makefile.in (regen-ulps): New target.
58383         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58384         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58385         [ifneq (no,$(PERL)] (regen-ulps): New target.
58386         [ifeq (no,$(PERL)] (regen-ulps): New target.
58387         * math/libm-test.inc (ulps_file_name): Define.
58388         (output_dir): New variable.
58389         (options): Add "output-dir" option.
58390         (parse_opt): Handle 'o' case.
58391         (main): If output_dir is non-NULL use it as a prefix
58392         otherwise use "".
58393         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58395 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58397         [BZ #10060, #10062]
58398         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58399         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58400         fail configure if __sync_val_compare_and_swap is not inlined.
58401         * sysdeps/i386/configure: Regenerate.
58402         * configure.in: Build for i686 when configured for i386.
58403         * configure: Regenerate.
58404         * README: Remove i386 reference.
58406 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58408         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58409         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58411 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58413         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58414         (lmsnanval): New variables.
58415         (F): Add conversion tests.
58416         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58417         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58419         * stdio-common/tstdiomisc.c (F): Properly collect individual
58420         tests' results.
58422         [BZ #14686, #15336]
58423         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58424         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58425         Instead, use input NaN values or generate a qNaN by arithmetic
58426         operation.  Also fix bugs to comply with the standard.
58427         * math/libm-test.inc (remainder_test): Add more tests.
58429         [BZ #15335, #15342]
58430         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58432         input NaN values or generate a qNaN by arithmetic operation.
58434         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58435         unreachable code.
58437         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58438         definitions.
58440 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
58442         [BZ #14478]
58443         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58444         underflowed result.
58445         * math/s_cexpf.c (__cexpf): Likewise.
58446         * math/s_cexpl.c (__cexpl): Likewise.
58447         * math/libm-test.inc (cexp_test): Add more tests.
58449 2013-04-03  Andreas Schwab  <schwab@suse.de>
58451         [BZ #15330]
58452         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58453         order arrays from heap if bigger than alloca cutoff.
58455 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
58457         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58458         (SNAN_TESTS_double): Refer to GCC PR56831.
58459         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58460         GCC PR56828.
58462 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58464         * Rules (bench): Move bench.out after the run is complete.
58466         * Rules (bench): Echo currently running benchmark.
58468         * benchtests/Makefile (bench): Add atan and slowatan.
58469         * benchtests/atan-inputs: New file.
58470         * benchtests/slowatan-inputs: New file.
58471         * benchtests/slowatan.c: New file.
58473         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58474         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58475         its value.
58477         [BZ #15305]
58478         * sysdeps/unix/sysv/linux/kernel-features.h
58479         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58480         __ASSUME_XFS_RESTRICTED_CHOWN.
58481         * sysdeps/unix/sysv/linux/pathconf.c
58482         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58483         Save and restore errno.
58485 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
58487         [BZ #15327]
58488         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58489         arguments using __kernel_casinh.
58490         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58491         arguments using __kernel_casinhf.
58492         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58493         arguments using __kernel_casinhl.
58494         * math/libm-test.inc (cacosh_test): Add more tests.
58495         * sysdeps/i386/fpu/libm-test-ulps: Update.
58496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58498 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58500         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58503         * bench/Makefile (bench): Add sin and slowsin.
58504         * benchtests/sin-inputs: New file.
58505         * benchtests/slowsin-inputs: New file.
58506         * benchtests/slowsin.c: New file.
58508         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58509         (bench): Add slowexp and slowpow.
58510         (exp-ITER): Increase iterations.
58511         (pow-ITER): Likewise.
58512         * benchtests/exp-inputs: Change input.
58513         * benchtests/pow-inputs: Likewise.
58514         * benchtests/slowexp-inputs: New file.
58515         * benchtests/slowexp.c: New file.
58516         * benchtests/slowpow-inputs: New file.
58517         * benchtests/slowpow.c: New file.
58519 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58521         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58522         instructions.
58523         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58524         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58525         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58526         * benchtests/Makefile: Add rint benchtest.
58527         * benchtests/rint-inputs: Input for rint benchtest.
58529 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58531         * Versions.def (libm): Add GLIBC_2.18.
58532         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58533         hidden libm prototypes.
58534         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58535         * math/Makefile (libm-calls): Add s_issignaling.
58536         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58537         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
58538         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58539         declaration.
58540         * math/math.h [__USE_GNU] (issignaling): New macro.
58541         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58542         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58543         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58544         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58545         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58546         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58547         * manual/arith.texi (issignaling): New section.
58548         * manual/libm-err-tab.pl (@all_functions): Update comment.
58549         * math/gen-libm-test.pl (parse_args): Apply special handling for
58550         issignaling.
58551         * math/libm-test.inc (print_float, issignaling_test): New
58552         functions.
58553         (check_float_internal): Add issignaling checks.
58554         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58555         default definition.
58556         * sysdeps/powerpc/math-tests.h: New file.
58557         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58558         tests.
58559         * math/test-snan.c (TEST_FUNC): Likewise.
58561 2013-03-30  David S. Miller  <davem@davemloft.net>
58563         * po/de.po: Update from translation team.
58565 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
58567         [BZ #10357]
58568         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58569         imaginary part less than 1.0 and real part less than 0.5
58570         specially.
58571         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58572         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58573         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58574         (cacos_test): Add more tests.
58575         (casin_test): Likewise.
58576         (casinh_test): Likewise.
58577         * sysdeps/i386/fpu/libm-test-ulps: Update.
58578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58580 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58582         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58583         ONE with its value.
58585         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58586         (__pow_mp): Replace ONE and MONE with their values.
58587         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58588         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58589         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58590         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58591         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58592         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58594         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58596         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58597         (__pow_mp): Replace ZERO and MZERO with their values.
58598         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58599         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58600         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58602         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58603         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58604         (__sqr): Likewise.
58606         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58608         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58610 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58612         * include/stdlib.h [!SHARED] (__call_tls_dtors):
58613         Declare with __attribute__ ((weak)).
58614         * stdlib/exit.c (__libc_atexit) [!SHARED]:
58615         Call __call_tls_dtors only if it's not NULL.
58617 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58619         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58620         didn't do it already, then set _dl_phdr and _dl_phnum based on the
58621         magic __ehdr_start linker symbol if it's defined.
58622         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58623         them up here if it was already done.
58625         * elf/dl-support.c (_dl_phdr): Make pointer to const.
58626         (_dl_aux_init): Use const in cast when setting it.
58627         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58628         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58629         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58631         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58632         Declare them here.
58633         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58634         * csu/libc-tls.c: Nor here.
58635         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58637         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58638         (__libc_message): Never call vsyslog.
58640 2013-03-28  Alan Modra  <amodra@gmail.com>
58642         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58643         Define as empty.
58644         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58645         Likewise.
58647 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58649         [BZ #15214]
58650         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58651         underflow.
58652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58654 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58656         [BZ #15304]
58657         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58658         Don't add gid passed as argument.
58660         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58662 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
58664         [BZ #15307]
58665         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58666         imaginary part between 1.0 and 1.5 and real part less than 0.5
58667         specially.
58668         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58669         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58670         * math/libm-test.inc (cacos_test): Add more tests.
58671         (casin_test): Likewise.
58672         (casinh_test): Likewise.
58673         * sysdeps/i386/fpu/libm-test-ulps: Update.
58674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58676 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58678         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58679         constants.
58680         (norm): Likewise.
58681         (denorm): Likewise.
58682         (__dbl_mp): Likewise.
58683         (add_magnitudes): Likewise.
58684         (sub_magnitudes): Likewise.
58685         (__add): Likewise.
58686         (__sub): Likewise.
58687         (__mul): Likewise.
58688         (__sqr): Likewise.
58689         (__inv): Likewise.
58690         (__dvd): Likewise.
58692         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58693         commented code.
58694         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58695         (__dubcos): Likewise.
58696         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58697         (__ieee754_acos): Likewise.
58698         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58699         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58700         (__exp1): Likewise.
58701         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58702         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58703         (log1): Likewise.
58704         (my_log2): Likewise.
58705         (checkint): Likewise.
58706         * sysdeps/ieee754/dbl-64/e_remainder.c
58707         (__ieee754_remainder): Likewise.
58708         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58709         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58710         (bsloww): Likewise.
58711         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58713         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58714         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58715         MANTISSA_STORE_T to store computations on mantissa.  Use
58716         macros for rounding and division.
58717         (denorm): Likewise.
58718         (__dbl_mp): Likewise.
58719         (add_magnitudes): Likewise.
58720         (sub_magnitudes): Likewise.
58721         (__mul): Likewise.
58722         (__sqr): Likewise.
58723         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58724         powers of two in terms of TWOPOW macro.
58725         (mp_no): Make type of mantissa as MANTISSA_T.
58726         [!RADIXI]: Define RADIXI.
58727         [!TWO52]: Define TWO52.
58728         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58730 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58732         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58733         llroundl symbol when building for PPC32.
58735 2013-03-24  Mark H Weaver  <mhw@netris.org>
58737         * manual/arith.texi (Normalization Functions): Fix prototypes for
58738         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58740 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58742         [BZ #13889]
58743         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58744         high value to check if expl overflow.
58745         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58746         to check for underflow and overflow.
58747         * math/libm-test.inc: Add exp test.
58749 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
58751         [BZ #11120]
58752         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58753         with NOT_IN_libc.
58755 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58757         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58758         symbol.
58760 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58762         * math/gen-libm-test.pl (parse_args, special_functions): Properly
58763         wrap blocks consisting of several statements.
58765         * sysdeps/generic/math-tests.h: New file.
58766         * sysdeps/i386/fpu/math-tests.h: Likewise.
58767         * math/test-snan.c: Include it.
58768         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58770 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58772         [BZ #15285]
58773         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58774         (__ieee754_j0l): Do not improve calculations using cos of twice
58775         input for inputs above LDBL_MAX / 2.0L.
58776         (__ieee754_y0l): Likewise.
58777         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58778         (__ieee754_j1l): Do not improve calculations using cos of twice
58779         input for inputs above LDBL_MAX / 2.0L.
58780         (__ieee754_y1l): Likewise.
58781         * math/libm-test.inc (j0_test): Add another test.
58782         (j1_test): Likewise.
58783         (y0_test): Likewise.
58784         (y1_test): Likewise.
58785         * sysdeps/i386/fpu/libm-test-ulps: Update.
58787 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58789         * Rules ($(objpfx)bench-%.c): Include code from a C source
58790         file.
58792 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58794         [BZ #15287]
58795         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58796         imaginary part 1.0 and real part less than 0.5 specially.
58797         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58798         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58799         * math/libm-test.inc (cacos_test): Add more tests.
58800         (casin_test): Likewise.
58801         (casinh_test): Likewise.
58802         * sysdeps/i386/fpu/libm-test-ulps: Update.
58803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58805 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58807         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58808         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58810 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
58812         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58813         * config.make.in (config-cflags-sse4): Remove variable.
58814         (config-cflags-avx): Likewise.
58815         (config-cflags-sse2avx): Likewise.
58816         (config-cflags-novzeroupper): Likewise.
58817         (config-asflags-i686): Likewise.
58818         (have-mfma4): Likewise.
58819         (have-as-vis3): Likewise.
58820         (MIG): Likewise.
58821         * configure.in (MIG): Do not AC_SUBST.
58822         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58823         (libc_cv_cc_sse4): Do not AC_SUBST.
58824         (libc_cv_cc_avx): Likewise.
58825         (libc_cv_cc_sse2avx): Likewise.
58826         (libc_cv_cc_novzeroupper): Likewise.
58827         (libc_cv_cc_fma4): Likewise.
58828         (libc_cv_as_i686): Likewise.
58829         (libc_cv_sparc_as_vis3): Likewise.
58830         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58831         LIBC_CONFIG_VAR.
58832         (config-asflags-i686): Likewise.
58833         (config-cflags-avx): Likewise.
58834         (config-cflags-sse2avx): Likewise.
58835         (have-mfma4): Likewise.
58836         (config-cflags-novzeroupper): Likewise.
58837         * sysdeps/mach/configure.in (MIG): Likewise.
58838         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58839         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58840         LIBC_CONFIG_VAR.
58841         (config-cflags-avx): Likewise.
58842         (config-cflags-sse2avx): Likewise.
58843         (have-mfma4): Likewise.
58844         (config-cflags-novzeroupper): Likewise.
58845         * configure: Regenerated.
58846         * sysdeps/i386/configure: Likewise.
58847         * sysdeps/mach/configure: Likewise.
58848         * sysdeps/sparc/configure: Likewise.
58849         * sysdeps/x86_64/configure: Likewise.
58851 2013-03-20  Roland McGrath  <roland@hack.frob.com>
58853         [BZ #14812]
58854         * locale/programs/localedef.c (options): Put N_ translation marker
58855         on argument names, not just descriptions.
58857 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58859         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58861 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
58863         [BZ #14176]
58864         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58866 2013-03-19  Roland McGrath  <roland@hack.frob.com>
58868         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58869         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58870         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58871         [!BEFORE_ABORT] (before_abort): New function.
58872         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58873         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58874         (writev_for_fatal): New function.
58875         (WRITEV_FOR_FATAL): New macro; call that.
58876         (backtrace_and_maps): New function.
58877         (BEFORE_ABORT): New macro; call that.
58878         (struct str_list): Type removed.
58879         (__libc_message, __libc_fatal): Functions removed.
58880         Include <sysdeps/posix/libc_fatal.c> instead.
58882 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
58884         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58885         constants.
58886         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58887         double constants.
58889 2013-03-19  Andreas Schwab  <schwab@suse.de>
58891         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58892         * sysdeps/gnu/configure: Regenerate.
58894         * configure.in: Substitute libc_cv_rtlddir.
58895         * configure: Regenerate.
58896         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58897         * Makeconfig (rtlddir, inst_rtlddir): New variables.
58898         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58899         * elf/Makefile (install-others, CFLAGS-interp.c)
58900         (ldso_install, common-ldd-rewrite): Likewise.
58901         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58902         $(inst_slibdir)/$(rtld-installed-name).
58903         * scripts/rellns-sh: Add -p option.
58904         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58905         for source.
58907 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58909         * manual/nptl.texi: Renamed to ...
58910         * manual/threads.texi: ... this.
58911         * manual/Makefile (chapters): Update.
58913 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58915         [BZ #14812]
58916         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58917         on argument names, not just descriptions.
58918         * malloc/memusagestat.c (options): Likewise.
58919         * nss/getent.c (options): Likewise.
58921 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58923         [BZ #14812]
58924         * iconv/iconv_prog.c (options): Put N_ translation marker
58925         on argument names, not just descriptions.
58926         * iconv/iconvconfig.c (options): Likewise.
58928 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58930         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58931         implementation which is faster on all x86_64 architectures.
58932         Tested on AMD, Intel Nehalem, SNB, IVB.
58933         * sysdeps/x86_64/strnlen.S: Likewise.
58935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58936         Remove all multiarch strlen and strnlen versions.
58937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58938         Remove strlen and strnlen related parts.
58940         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58941         Inline strlen part.
58942         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58944         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58945         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58946         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58947         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58948         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58949         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58951 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58953         * manual/memory.texi (Malloc Tunable Parameters):
58954         Sort parameters alphabetically. Add comments for missing entries.
58956 2013-03-17  David S. Miller  <davem@davemloft.net>
58958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58960 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58962         [BZ #15283]
58963         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58964         for arguments at most half maximum finite value.
58965         * math/libm-test.inc (j0_test): Add more tests.
58966         (j1_test): Likewise.
58967         (y0_test): Likewise.
58968         (y1_test): Likewise.
58969         * sysdeps/i386/fpu/libm-test-ulps: Update.
58970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58972         [BZ #14155]
58973         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58974         1 / x and functions P and Q for arguments above 0x1p256L.
58975         (__ieee754_y0l): Likewise.
58976         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58977         (__ieee754_y1l): Likewise.
58978         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58979         (j1_test): Likewise.
58980         (y0_test): Likewise.
58981         (y1_test): Likewise.
58983 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58985         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58986         variable.
58988 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58990         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58991         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58992         zero since it's initialized to EXEC_PAGESIZE.
58994         * sysdeps/unix/sysv/linux/ldsodefs.h
58995         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58996         * sysdeps/generic/ldsodefs.h: ... here.
58998 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
59000         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
59002         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
59003         math/test-snan.c.
59004         * math/test-snan.c: Renamed from
59005         sysdeps/powerpc/fpu/test-powerpc-snan.c.
59006         * math/Makefile (tests): Add test-snan.
59007         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
59008         test-powerpc-snan.
59010         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
59011         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
59012         functions.
59013         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
59014         __builtin_nan family of functions.
59015         * math/libm-test.inc (initialize): Initialize qnan_value with
59016         __builtin_nan family of functions.
59017         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
59018         Remove variables.
59019         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
59020         Remove functions.
59021         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
59022         storage class.  Initialize qNaN_var and sNaN_var with
59023         __builtin_nan and __builtin_nans families of functions,
59024         respectively.
59026         * math/libm-test.inc (acosh_test): Also test with qNaN input.
59027         (sqrt_test): Remove duplicate test with qNaN input.
59028         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
59029         (round_test, signbit_test, significand_test): Note missing +/-Inf
59030         as well as qNaN tests.
59032         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
59033         qNaN_var.  Fix a few strings, too.
59034         * math/libm-test.inc (nan_value): Rename to qnan_value.
59035         * math/gen-libm-test.pl (%beautify): Adjust to that.
59036         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
59037         * math/test-misc.c (main): Likewise.
59038         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
59039         to __qnan_bytes, and __qnan_union, respectively.
59040         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
59041         Likewise.
59042         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
59043         and lqnanval, respectively.
59044         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
59045         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
59046         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
59047         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
59049         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
59050         * math/test-misc.c (main) [__x86_64__]: Enable test for long
59051         doubles.
59053         * math/test-misc.c (main): Fix copy'n'pastos.
59054         * misc/tst-efgcvt.c (special): Likewise.
59056         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
59057         Remove declarations.
59059 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59061         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
59062         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
59063         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
59064         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
59066 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59068         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
59069         macro to return vdso values correctly in IFUNC implementations.
59070         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
59071         Optimization by using IFUNC.
59073 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59074             Richard Henderson  <rth@redhat.com>
59075             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59077         * Makefile.in (bench): New target.
59078         * NEWS: Mention the benchmark framework.
59079         * Rules (bench): Likewise.
59080         (binaries-bench): Generate binaries for functions to
59081         benchmark.
59082         * benchtests/Makefile: New makefile for benchmark tests.
59083         * benchtests/bench-skeleton.c: New skeleton file for benchmark
59084         programs.
59085         * benchtests/exp-inputs: New input file for EXP function.
59086         * benchtests/pow-inputs: New input file for POW function.
59087         * scripts/bench.pl: New script to generate source files for
59088         benchmark programs.
59090 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59092         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59093         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
59094         computations on mantissa.  Use macros for rounding and
59095         division.
59096         (denorm): Likewise.
59097         (__dbl_mp): Likewise.
59098         (add_magnitudes): Likewise.
59099         (sub_magnitudes): Likewise.
59100         (__mul): Likewise.
59101         (__sqr): Likewise.
59102         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
59103         powers of two in terms of TWOPOW macro.
59104         (mp_no): Make type of mantissa as MANTISSA_T.
59105         [!RADIXI]: Define RADIXI.
59106         [!TWO52]: Define TWO52.
59107         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59109         * manual/nptl.texi (cindex): Modify threads to pthreads.
59111 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
59113         * sysdeps/x86_64/preconfigure: Regenerated.
59115 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
59117         [BZ #14155]
59118         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59119         0x1p28 and above.
59120         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59121         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59122         0x1p28 and above.
59123         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59124         * math/libm-test.inc (j0_test): Do not allow one spurious
59125         underflow exception.
59126         (y1_test): Likewise.
59128 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59130         * manual/Makefile (chapters): Add nptl.
59131         * manual/debug.texi (Debugging Support): Add link to Threads
59132         chapter.
59133         * manual/nptl.texi: New file.
59135         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59137 2013-03-14  Petr Baudis  <pasky@ucw.cz>
59139         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59140         for non-NULL pointer before the memory validity test. Pointed
59141         out by Holger Brunck <holger.brunck@keymile.com>.
59143 2013-03-13  Andreas Schwab  <schwab@suse.de>
59145         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59146         instead of .os.
59148 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
59150         * timezone/zic.c: Update from tzcode 2013b.
59152 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
59154         * manual/install.texi (Configuring and compiling):
59155         Mention i686 and i586.
59156         * INSTALL: Regenerate.
59158 2013-03-12  Roland McGrath  <roland@hack.frob.com>
59160         * sysdeps/init_array/elf-init.c: New file.
59161         * csu/elf-init.c
59162         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59163         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59165         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59166         __gmon_start__ as global, but as static with a .preinit_array pointer.
59167         * sysdeps/init_array/gmon-start.c: New file.  Use that.
59168         * sysdeps/init_array/crti.S: New file, empty except for comments.
59169         * sysdeps/init_array/crtn.S: Likewise.
59171 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
59173         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59174         definining bcopy.
59175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59176         Remove Prefer_SSE_for_memop.
59177         * sysdeps/x86_64/multiarch/init-arch.h: Remove
59178         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59179         HAS_PREFER_SSE_FOR_MEMOP.
59180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59181         memset-x86-64.
59182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59183         Remove bzero, memset ifunc support.
59184         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59185         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59186         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59187         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59189 2013-03-11  Andreas Schwab  <schwab@suse.de>
59191         [BZ #15234]
59192         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59193         by SHLIB_COMPAT.
59194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59195         (GLIBC_2.16): Remove pthread_atfork.
59197 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
59199         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59200         (ptestcases.h): Likewise.
59202 2013-03-08  Roland McGrath  <roland@hack.frob.com>
59204         * Makeconfig ($(common-objpfx)config.status): Depend on
59205         sysdeps/*/preconfigure{,.in} too.
59207 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
59209         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59210         (__free_hook): Use void * instead of __malloc_ptr_t.
59211         (__malloc_hook): Likewise.
59212         (__realloc_hook): Likewise.
59213         (__memalign_hook): Likewise.
59214         (__after_morecore_hook): Likewise.
59215         * malloc/arena.c (save_malloc_hook): Likewise.
59216         (save_free_hook): Likewise.
59217         * malloc/hooks.c (malloc_hook_ini): Likewise.
59218         (realloc_hook_ini): Likewise.
59219         (memalign_hook_ini): Likewise.
59220         * malloc/malloc.c (malloc_hook_ini): Likewise.
59221         (realloc_hook_ini): Likewise.
59222         (memalign_hook_ini): Likewise.
59223         (__free_hook): Likewise.
59224         (__malloc_hook): Likewise.
59225         (__realloc_hook): Likewise.
59226         (__memalign_hook): Likewise.
59227         (__libc_malloc): Likewise.
59228         (__libc_free): Likewise.
59229         (__libc_realloc): Likewise.
59230         (__libc_memalign): Likewise.
59231         (__libc_valloc): Likewise.
59232         (__libc_pvalloc): Likewise.
59233         (__libc_calloc): Likewise.
59234         (__posix_memalign): Likewise.
59235         * malloc/morecore.c (__sbrk): Likewise.
59236         (__default_morecore): Likewise.
59238         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59240         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59241         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59242         __malloc_ptrdiff_t.
59244         * malloc/malloc.h (__malloc_size_t): Remove macro.
59245         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59246         __malloc_size_t.
59247         (old_memalign_hook): Likewise.
59248         (old_realloc_hook): Likewise.
59249         (struct hdr): Likewise.
59250         (flood): Likewise.
59251         (mallochook): Likewise.
59252         (memalignhook): Likewise.
59253         (reallochook): Likewise.
59254         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59255         (tr_old_realloc_hook): Likewise.
59256         (tr_old_memalign_hook): Likewise.
59257         (tr_mallochook): Likewise.
59258         (tr_reallochook): Likewise.
59259         (tr_memalignhook): Likewise.
59261 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59263         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59264         default_ldbl_pack and using as default implementation.
59265         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59266         implementation.
59267         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59268         redundant definition.
59269         (ldbl_insert_mantissa): Likewise.
59270         (ldbl_canonicalize): Likewise.
59271         (ldbl_nearbyint): Likewise.
59272         (ldbl_pack): Rename to ldbl_pack_ppc.
59273         (ldbl_unpack): Rename to ldbl_unpack_ppc.
59274         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59275         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59277 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59280         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59281         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59282         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59284         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59285         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59286         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59288 2013-03-07  Andreas Jaeger  <aj@suse.de>
59290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59291         bits/mman-linux.h.
59293 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59295         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59296         Include mpa.h and declare __MPEXP.
59297         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59298         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59299         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59300         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59301         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59302         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59303         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59305         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59306         (__slowpow): Use long double EXPL and LOGL functions to
59307         compute POW.
59308         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59309         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59310         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59311         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59312         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59313         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59316         intermediate variable to calculate exponent.
59317         (__sqr): Likewise.
59318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59319         Likewise.
59320         (__sqr): Likewise.
59322         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59323         [!NO__SQR]: Define __sqr.
59324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59325         and NO__SQR.  Remove all code except __mul and __sqr.  Include
59326         sysdeps/ieee754/dbl-64/mpa.c.
59327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59329         [BZ #12723]
59330         * posix/Makefile (tests): Add tst-pathconf.
59331         * posix/tst-pathconf.c: New test case.
59332         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59333         _PC_PIPE_BUF.
59334         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59336 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
59338         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59340 2013-03-06  Andreas Jaeger  <aj@suse.de>
59342         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59343         definition via __MAP_ANONYMOUS.
59345         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59346         it's not part of Linux headers.
59348         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59349         (MAP_HUGE_MASK): Define.
59351         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59352         Define.
59353         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59354         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59355         Define.
59356         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59357         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59358         Define.
59359         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59360         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59361         Define.
59362         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59364         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59365         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59366         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59367         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59368         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59369         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59371         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59372         Handle f2fs.
59374         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59375         Handle f2fs and efivarfs.
59377         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59378         f2fs.
59380         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59381         (EFIVARFS_MAGIC): Add.
59382         (F2FS_LINK_MAX): Add.
59384 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59386         * stdio-common/vfprintf.c: Replace __builtin_expect with
59387         __glibc_unlikely.
59389 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
59391         [BZ #13550]
59392         * sysdeps/generic/bp-sym.h: Remove file.
59393         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59394         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59395         <bp-sym.h> and <bp-asm.h>.
59396         (__longjmp): Don't use BP_SYM.
59397         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59398         and <bp-asm.h>.
59399         (memcpy): Don't use BP_SYM.
59400         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59401         <bp-sym.h> and <bp-asm.h>.
59402         (memcpy): Don't use BP_SYM.
59403         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59404         <bp-asm.h>.
59405         (memcpy): Don't use BP_SYM.
59406         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59407         <bp-asm.h>.
59408         (memset): Don't use BP_SYM.
59409         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59410         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59411         (__bzero): Don't use BP_SYM.
59412         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59413         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59414         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59415         <bp-sym.h> and <bp-asm.h>.
59416         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59417         pointers.
59418         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59419         <bp-sym.h> and <bp-asm.h>.
59420         (memcpy): Don't use BP_SYM.
59421         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59422         <bp-sym.h> and <bp-asm.h>.
59423         (memset): Don't use BP_SYM.
59424         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59425         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59426         (__bzero): Don't use BP_SYM.
59427         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59428         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59429         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59430         <bp-sym.h> and <bp-asm.h>.
59431         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59432         pointers.
59433         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59434         <bp-sym.h> and <bp-asm.h>.
59435         (memcpy): Don't use BP_SYM.
59436         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59437         <bp-sym.h> and <bp-asm.h>.
59438         (memset): Don't use BP_SYM.
59439         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59440         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59441         (__bzero): Don't use BP_SYM.
59442         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59443         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59444         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59445         <bp-sym.h> and <bp-asm.h>.
59446         (__memchr): Don't use BP_SYM.
59447         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59448         <bp-sym.h> and <bp-asm.h>.
59449         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59450         pointers.
59451         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59452         <bp-sym.h> and <bp-asm.h>.
59453         (memcpy): Don't use BP_SYM.
59454         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59455         <bp-sym.h> and <bp-asm.h>.
59456         (__mempcpy): Don't use BP_SYM.
59457         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59458         <bp-sym.h> and <bp-asm.h>.
59459         (__memrchr): Don't use BP_SYM.
59460         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59461         <bp-sym.h> and <bp-asm.h>.
59462         (memset): Don't use BP_SYM.
59463         (__bzero): Likewise.
59464         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59465         <bp-sym.h> and <bp-asm.h>.
59466         (__rawmemchr): Don't use BP_SYM.
59467         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59468         <bp-sym.h> and <bp-asm.h>.
59469         (__STRCMP): Don't use BP_SYM.
59470         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59471         <bp-sym.h> and <bp-asm.h>.
59472         (strchr): Don't use BP_SYM.
59473         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59474         <bp-sym.h> and <bp-asm.h>.
59475         (__strchrnul): Don't use BP_SYM.
59476         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59477         <bp-sym.h> and <bp-asm.h>.
59478         (strlen): Don't use BP_SYM.
59479         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59480         <bp-sym.h> and <bp-asm.h>.
59481         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59482         pointers.
59483         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59484         <bp-sym.h> and <bp-asm.h>.
59485         (__strnlen): Don't use BP_SYM.
59486         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59487         <bp-sym.h> and <bp-asm.h>.
59488         (__GI__setjmp): Don't use BP_SYM.
59489         (_setjmp): Likewise.
59490         (__sigsetjmp): Likewise.
59491         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59492         (L(start_addresses)): Don't use BP_SYM.
59493         (_start): Likewise.
59494         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59495         <bp-asm.h>.
59496         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59497         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59498         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59499         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59500         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59501         <bp-asm.h>.
59502         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59503         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
59504         about bounded pointers.
59505         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59506         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59507         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59508         <bp-asm.h>.
59509         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59510         about bounded pointers.  Remove GKM FIXME comments.
59511         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59512         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59513         <bp-asm.h>.
59514         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59515         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
59516         Remove GKM FIXME comments.
59517         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59518         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59519         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59520         <bp-asm.h>.
59521         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59522         about bounded pointers.  Remove GKM FIXME comment.
59523         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59524         and <bp-asm.h>.
59525         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59526         pointers.
59527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59528         <bp-sym.h> and <bp-asm.h>.
59529         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59531         <bp-sym.h> and <bp-asm.h>.
59532         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59533         comment.
59535 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59537         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59538         call free(NULL).
59540 2013-03-05  David S. Miller  <davem@davemloft.net>
59542         * po/es.po: Update from translation team.
59544 2013-03-05  Andreas Jaeger  <aj@suse.de>
59546         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59547         <bits/mman-linux.h>.
59548         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59549         is fine.
59550         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59551         <bits/mman-linux.h> to end of file.
59552         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59553         is fine.
59554         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59555         <bits/mman-linux.h> to end of file.
59556         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59557         is fine.
59558         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59559         <bits/mman-linux.h> to end of file.
59561         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59562         (MCL_CURRENT, MCL_FUTURE): Define here.
59564 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59566         [BZ #15232]
59567         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59568         attribute_hidden.
59569         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59571 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59573         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59574         fourth parameter needed for rt_sigprocmask syscall.
59575         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59576         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59577         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59578         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59579         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59580         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59582 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
59584         [BZ #13550]
59585         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59586         comment about bounded pointers.
59587         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59588         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59590 2013-03-04  Andreas Jaeger  <aj@suse.de>
59592         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59593         common definitions.
59595         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59596         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59597         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59598         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59599         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59600         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59602 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59604         [BZ #15055]
59605         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59606         __ieee754_sqrl instead of __sqrl.
59608 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
59610         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59611         * sysdeps/powerpc/fpu_control.h: ... here.
59612         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59613         * sysdeps/powerpc/bits/fenvinline.h: ... here.
59614         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59615         * sysdeps/powerpc/bits/mathinline.h: ... here.
59617 2013-03-01  Roland McGrath  <roland@hack.frob.com>
59619         * elf/dl-hwcaps.c (_dl_important_hwcaps):
59620         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59621         to just [NEED_DL_SYSINFO_DSO].
59622         * elf/dl-support.c: Likewise.
59623         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59624         * elf/rtld.c (dl_main): Likewise.
59625         * elf/setup-vdso.h (setup_vdso): Likewise.
59626         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59627         * sysdeps/unix/sysv/linux/dl-sysdep.c
59628         (_dl_discover_osversion): Likewise.
59630 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
59632         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59633         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59635 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
59637         * NEWS: Mention libm performance improvements and non-x86 PI
59638         futex support.
59640         * csu/libc-start.c (__pthread_initialize_minimal): Change
59641         function arguments.
59642         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59644 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
59646         [BZ #13550]
59647         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59648         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59649         <bp-sym.h> and <bp-asm.h>.
59650         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59651         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59652         and <bp-asm.h>.
59653         (memcpy): Don't use BP_SYM.
59654         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59655         <bp-asm.h>.
59656         (__mpn_add_n): Don't use BP_SYM.
59657         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59658         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59659         and <bp-asm.h>.
59660         (__mpn_addmul_1): Don't use BP_SYM.
59661         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59662         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59663         <bp-sym.h>.
59664         (_setjmp): Don't use BP_SYM.
59665         (__novmx_setjmp): Likewise.
59666         (__GI__setjmp): Likewise.
59667         (__vmx_setjmp): Likewise.
59668         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59669         <bp-sym.h>.
59670         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59671         (__bzero): Don't use BP_SYM.
59672         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59673         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59674         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59675         <bp-sym.h> and <bp-asm.h>.
59676         (memcpy): Don't use BP_SYM.
59677         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59678         <bp-sym.h> and <bp-asm.h>.
59679         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59680         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59681         <bp-sym.h> and <bp-asm.h>.
59682         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59683         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59684         <bp-asm.h>.
59685         (__mpn_lshift): Don't use BP_SYM.
59686         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59687         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59688         <bp-asm.h>.
59689         (memset): Don't use BP_SYM.
59690         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59691         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59692         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59693         <bp-asm.h>.
59694         (__mpn_mul_1): Don't use BP_SYM.
59695         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59696         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59697         <bp-sym.h> and <bp-asm.h>.
59698         (memcmp): Don't use BP_SYM.
59699         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59700         <bp-sym.h> and <bp-asm.h>.
59701         (memcpy): Don't use BP_SYM.
59702         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59703         <bp-sym.h> and <bp-asm.h>.
59704         (memset): Don't use BP_SYM.
59705         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59706         <bp-sym.h> and <bp-asm.h>.
59707         (strncmp): Don't use BP_SYM.
59708         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59709         <bp-sym.h> and <bp-asm.h>.
59710         (memcpy): Don't use BP_SYM.
59711         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59712         <bp-sym.h> and <bp-asm.h>.
59713         (memset): Don't use BP_SYM.
59714         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59715         <bp-sym.h> and <bp-asm.h>.
59716         (__memchr): Don't use BP_SYM.
59717         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59718         <bp-sym.h> and <bp-asm.h>.
59719         (memcmp): Don't use BP_SYM.
59720         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59721         <bp-sym.h> and <bp-asm.h>.
59722         (memcpy): Don't use BP_SYM.
59723         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59724         <bp-sym.h> and <bp-asm.h>.
59725         (__mempcpy): Don't use BP_SYM.
59726         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59727         <bp-sym.h> and <bp-asm.h>.
59728         (__memrchr): Don't use BP_SYM.
59729         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59730         <bp-sym.h> and <bp-asm.h>.
59731         (memset): Don't use BP_SYM.
59732         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59733         <bp-sym.h> and <bp-asm.h>.
59734         (__rawmemchr): Don't use BP_SYM.
59735         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59736         <bp-sym.h> and <bp-asm.h>.
59737         (__STRCMP): Don't use BP_SYM.
59738         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59739         <bp-sym.h> and <bp-asm.h>.
59740         (strchr): Don't use BP_SYM.
59741         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59742         <bp-sym.h> and <bp-asm.h>.
59743         (__strchrnul): Don't use BP_SYM.
59744         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59745         <bp-sym.h> and <bp-asm.h>.
59746         (strlen): Don't use BP_SYM.
59747         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59748         <bp-sym.h> and <bp-asm.h>.
59749         (strncmp): Don't use BP_SYM.
59750         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59751         <bp-sym.h> and <bp-asm.h>.
59752         (__strnlen): Don't use BP_SYM.
59753         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59754         <bp-asm.h>.
59755         (__mpn_rshift): Don't use BP_SYM.
59756         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59757         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59758         <bp-sym.h> and <bp-asm.h>.
59759         (__sigsetjmp): Don't use BP_SYM.
59760         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59761         (L(start_addresses)): Don't use BP_SYM.
59762         (_start): Likewise.
59763         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59764         <bp-asm.h>.
59765         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59766         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59767         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59768         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59769         <bp-asm.h>.
59770         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59771         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59772         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59773         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59774         <bp-asm.h>.
59775         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59776         comments.
59777         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59778         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59779         <bp-asm.h>.
59780         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
59781         FIXME comments.
59782         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59783         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59784         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59785         <bp-asm.h>.
59786         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59787         comment.
59788         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59789         and <bp-asm.h>.
59790         (strncmp): Don't use BP_SYM,
59791         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59792         <bp-asm.h>.
59793         (__mpn_sub_n): Don't use BP_SYM.
59794         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59795         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59796         and <bp-asm.h>.
59797         (__mpn_submul_1): Don't use BP_SYM.
59798         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59800         <bp-sym.h> and <bp-asm.h>.
59801         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59803         <bp-sym.h> and <bp-asm.h>.
59804         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59805         comment.
59807 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59810         Use ZK to minimize writes to Z.
59811         (sub_magnitudes): Simplify code a bit.
59812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59813         Use ZK to minimize writes to Z.
59814         (sub_magnitudes): Simplify code a bit.
59816 2013-02-27  Roland McGrath  <roland@hack.frob.com>
59818         * csu/gmon-start.c: Add special exception to license text.
59820 2013-02-27  Richard Henderson  <rth@redhat.com>
59822         * scripts/config.guess: Update from config.git.
59823         * scripts/config.sub: Likewise.
59825 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59827         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59829         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59831         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59833         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59835         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59837 2013-02-26  Roland McGrath  <roland@hack.frob.com>
59839         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59840         [$(build-shared = yes].
59842 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59844         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59845         (__mul): Reduce iterations for calculating mantissa.
59847         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59848         MPTWO.
59849         (__mpranred): Likewise.
59851         [BZ #15160]
59852         * malloc/memusagestat.c (main): Draw graphs for heap and stack
59853         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59855 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
59857         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59858         Define __attribute__.
59860 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59862         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59863         unused.
59864         * posix/regex_internal.h (__attribute): Remove.
59865         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59866         (re_string_context_at): Likewise.
59867         (bitset_not): Use __attribute__ and mark function as possibly
59868         unused.
59869         (bitset_merge): Likewise.
59870         (bitset_mask): Likewise.
59871         (re_string_char_size_at): Likewise.
59872         (re_string_wchar_at): Likewise.
59873         (re_string_elem_size_at): Likewise.
59875 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59877         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59878         code.
59879         (cc32): Likewise.
59881         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59882         (__acr): Likewise.
59883         (__cpy): Likewise.
59884         (norm): Likewise.
59885         (denorm): Likewise.
59886         (__dbl_mp): Likewise.
59887         (add_magnitudes): Likewise.
59888         (sub_magnitudes): Likewise.
59889         (__mul): Likewise.
59890         (__inv): Likewise.
59892         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59893         style.
59895         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59896         style.
59898         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59899         code.
59901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59902         up changes with default code.
59903         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59904         Likewise.
59906 2013-02-24  Allan McRae  <allan@archlinux.org>
59908         * manual/socket.texi (The Internet Namespace): Order menu items
59909         to match that in the file.
59911         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59912         node listing of the info page menu.
59914 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59916         [BZ #13550]
59917         * sysdeps/i386/bp-asm.h: Remove file.
59918         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59919         (PARMS): Do not use macros from bp-asm.h.
59920         (S1): Likewise.
59921         (S2): Likewise.
59922         (SIZE): Likewise.
59923         (__mpn_add_n): Do not use BP_SYM
59924         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59925         "bp-asm.h".
59926         (PARMS): Do not use macros from bp-asm.h.
59927         (S1): Likewise.
59928         (SIZE): Likewise.
59929         (__mpn_addmul_1): Do not use BP_SYM
59930         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59931         "bp-asm.h".
59932         (PARMS): Do not use macros from bp-asm.h.
59933         (SIGMSK): Likewise.
59934         (_setjmp): Likewise.  Do not use BP_SYM.
59935         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59936         "bp-asm.h".
59937         (PARMS): Do not use macros from bp-asm.h.
59938         (SIGMSK): Likewise.
59939         (setjmp): Likewise.  Do not use BP_SYM.
59940         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59941         "bp-asm.h".
59942         (PARMS): Do not use macros from bp-asm.h.
59943         (__frexp): Do not use BP_SYM.
59944         (frexp): Likewise.
59945         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59946         "bp-asm.h".
59947         (PARMS): Do not use macros from bp-asm.h.
59948         (__frexpf): Do not use BP_SYM.
59949         (frexpf): Likewise.
59950         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59951         "bp-asm.h".
59952         (PARMS): Do not use macros from bp-asm.h.
59953         (__frexpl): Do not use BP_SYM.
59954         (frexpl): Likewise.
59955         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59956         "bp-asm.h".
59957         (PARMS): Do not use macros from bp-asm.h.
59958         (__remquo): Do not use BP_SYM.
59959         (remquo): Likewise.
59960         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59961         "bp-asm.h".
59962         (PARMS): Do not use macros from bp-asm.h.
59963         (__remquof): Do not use BP_SYM.
59964         (remquof): Likewise.
59965         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59966         "bp-asm.h".
59967         (PARMS): Do not use macros from bp-asm.h.
59968         (__remquol): Do not use BP_SYM.
59969         (remquol): Likewise.
59970         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59971         "bp-asm.h".
59972         (PARMS): Do not use macros from bp-asm.h.
59973         (DEST): Likewise.
59974         (SRC): Likewise.
59975         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59976         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59977         "bp-asm.h".
59978         (PARMS): Do not use macros from bp-asm.h.
59979         (strlen): Do not use BP_SYM.
59980         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59981         "bp-asm.h".
59982         (PARMS): Do not use macros from bp-asm.h.
59983         (S1): Likewise.
59984         (S2): Likewise.
59985         (SIZE): Likewise.
59986         (__mpn_add_n): Do not use BP_SYM.
59987         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59988         "bp-asm.h".
59989         (PARMS): Do not use macros from bp-asm.h.
59990         (S1): Likewise.
59991         (SIZE): Likewise.
59992         (__mpn_addmul_1): Do not use BP_SYM.
59993         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59994         weak_alias.
59995         (bzero): Likewise.
59996         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59997         "bp-asm.h".
59998         (PARMS): Do not use macros from bp-asm.h.
59999         (S): Likewise.
60000         (SIZE): Likewise.
60001         (__mpn_lshift): Do not use BP_SYM.
60002         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
60003         "bp-asm.h".
60004         (PARMS): Do not use macros from bp-asm.h.
60005         (DEST): Likewise.
60006         (SRC): Likewise.
60007         (LEN): Likewise.
60008         (memcpy): Likewise.  Do not use BP_SYM.
60009         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
60010         libc_hidden_def and weak_alias.
60011         (mempcpy): Do not use BP_SYM in weak_alias.
60012         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
60013         "bp-asm.h".
60014         (PARMS): Do not use macros from bp-asm.h.
60015         (DEST): Likewise.
60016         (LEN): Likewise.
60017         [!BZERO_P] (CHR): Likewise.
60018         (memset): Likewise.  Do not use BP_SYM.
60019         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
60020         "bp-asm.h".
60021         (PARMS): Do not use macros from bp-asm.h.
60022         (S1): Likewise.
60023         (SIZE): Likewise.
60024         (__mpn_mul_1): Do not use BP_SYM.
60025         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
60026         "bp-asm.h".
60027         (PARMS): Do not use macros from bp-asm.h.
60028         (S): Likewise.
60029         (SIZE): Likewise.
60030         (__mpn_rshift): Do not use BP_SYM.
60031         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
60032         "bp-asm.h".
60033         (PARMS): Do not use macros from bp-asm.h.
60034         (STR): Likewise.
60035         (CHR): Likewise.
60036         (strchr): Likewise.  Do not use BP_SYM.
60037         (index): Do not use BP_SYM in weak_alias.
60038         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
60039         "bp-asm.h".
60040         (PARMS): Do not use macros from bp-asm.h.
60041         (DEST): Likewise.
60042         (SRC): Likewise.
60043         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
60044         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
60045         "bp-asm.h".
60046         (PARMS): Do not use macros from bp-asm.h.
60047         (strlen): Do not use BP_SYM.
60048         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
60049         "bp-asm.h".
60050         (PARMS): Do not use macros from bp-asm.h.
60051         (S1): Likewise.
60052         (S2): Likewise.
60053         (SIZE): Likewise.
60054         (__mpn_sub_n): Do not use BP_SYM.
60055         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
60056         "bp-asm.h".
60057         (PARMS): Do not use macros from bp-asm.h.
60058         (S1): Likewise.
60059         (SIZE): Likewise.
60060         (__mpn_submul_1): Do not use BP_SYM.
60061         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
60062         "bp-asm.h".
60063         (PARMS): Do not use macros from bp-asm.h.
60064         (S1): Likewise.
60065         (S2): Likewise.
60066         (SIZE): Likewise.
60067         (__mpn_add_n): Do not use BP_SYM.
60068         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
60069         weak_alias.
60070         (bzero): Likewise.
60071         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
60072         "bp-asm.h".
60073         (PARMS): Do not use macros from bp-asm.h.
60074         (BLK2): Likewise.
60075         (LEN): Likewise.
60076         (memcmp): Do not use BP_SYM.
60077         (bcmp): Do not use BP_SYM in weak_alias.
60078         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
60079         "bp-asm.h".
60080         (PARMS): Do not use macros from bp-asm.h.
60081         (DEST): Likewise.
60082         (SRC): Likewise.
60083         (LEN): Likewise.
60084         (memcpy): Likewise.  Do not use BP_SYM.
60085         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
60086         "bp-asm.h".
60087         (PARMS): Do not use macros from bp-asm.h.
60088         (DEST): Likewise.
60089         (SRC): Likewise.
60090         (LEN): Likewise.
60091         (memmove): Likewise.  Do not use BP_SYM.
60092         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
60093         "bp-asm.h".
60094         (PARMS): Do not use macros from bp-asm.h.
60095         (DEST): Likewise.
60096         (SRC): Likewise.
60097         (LEN): Likewise.
60098         (__mempcpy): Likewise.  Do not use BP_SYM.
60099         (mempcpy): Do not use BP_SYM in weak_alias.
60100         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
60101         "bp-asm.h".
60102         (PARMS): Do not use macros from bp-asm.h.
60103         (DEST): Likewise.
60104         (LEN): Likewise.
60105         [!BZERO_P] (CHR): Likewise.
60106         (memset): Likewise.  Do not use BP_SYM.
60107         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
60108         "bp-asm.h".
60109         (PARMS): Do not use macros from bp-asm.h.
60110         (STR2): Likewise.
60111         (strcmp): Do not use BP_SYM.
60112         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
60113         "bp-asm.h".
60114         (PARMS): Do not use macros from bp-asm.h.
60115         (STR): Likewise.
60116         (DELIM): Likewise.
60117         [USE_AS_STRTOK_R] (SAVE): Likewise.
60118         (FUNCTION): Likewise.  Do not use BP_SYM.
60119         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60120         aliases.
60121         (strtok_r): Likewise.
60122         (__GI___strtok_r): Likewise.
60123         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60124         (PARMS): Do not use macros from bp-asm.h.
60125         (S): Likewise.
60126         (SIZE): Likewise.
60127         (__mpn_lshift): Do not use BP_SYM.
60128         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60129         (PARMS): Do not use macros from bp-asm.h.
60130         (STR): Likewise.
60131         (CHR): Likewise.
60132         (__memchr): Do not use BP_SYM.
60133         (memchr): Do not use BP_SYM in weak_alias.
60134         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60135         (PARMS): Do not use macros from bp-asm.h.
60136         (BLK2): Likewise.
60137         (LEN): Likewise.
60138         (memcmp): Do not use BP_SYM.
60139         (bcmp): Do not use BP_SYM in weak_alias.
60140         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60141         (PARMS): Do not use macros from bp-asm.h.
60142         (S1): Likewise.
60143         (SIZE): Likewise.
60144         (__mpn_mul_1): Do not use BP_SYM.
60145         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60146         "bp-asm.h".
60147         (PARMS): Do not use macros from bp-asm.h.
60148         (STR): Likewise.
60149         (CHR): Likewise.
60150         (__rawmemchr): Do not use BP_SYM.
60151         (rawmemchr): Do not use BP_SYM in weak_alias.
60152         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60153         (PARMS): Do not use macros from bp-asm.h.
60154         (S): Likewise.
60155         (SIZE): Likewise.
60156         (__mpn_rshift): Do not use BP_SYM.
60157         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60158         (PARMS): Do not use macros from bp-asm.h.
60159         (SIGMSK): Likewise.
60160         (__sigsetjmp): Likewise.  Do not use BP_SYM.
60161         * sysdeps/i386/start.S: Do not include "bp-sym.h".
60162         (_start): Do not use BP_SYM.
60163         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60164         (PARMS): Do not use macros from bp-asm.h.
60165         (DEST): Likewise.
60166         (SRC): Likewise.
60167         (__stpcpy): Likewise.  Do not use BP_SYM.
60168         (stpcpy): Do not use BP_SYM in weak_alias.
60169         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60170         "bp-asm.h".
60171         (PARMS): Do not use macros from bp-asm.h.
60172         (DEST): Likewise.
60173         (SRC): Likewise.
60174         (LEN): Likewise.
60175         (__stpncpy): Likewise.  Do not use BP_SYM.
60176         (stpncpy): Do not use BP_SYM in weak_alias.
60177         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60178         (PARMS): Do not use macros from bp-asm.h.
60179         (STR): Likewise.
60180         (CHR): Likewise.
60181         (strchr): Likewise.  Do not use BP_SYM.
60182         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60183         "bp-asm.h".
60184         (PARMS): Do not use macros from bp-asm.h.
60185         (STR): Likewise.
60186         (CHR): Likewise.
60187         (__strchrnul): Likewise.  Do not use BP_SYM.
60188         (strchrnul): Do not use BP_SYM in weak_alias.
60189         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60190         "bp-asm.h".
60191         (PARMS): Do not use macros from bp-asm.h.
60192         (STOP): Likewise.
60193         (strcspn): Do not use BP_SYM.
60194         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60195         "bp-asm.h".
60196         (PARMS): Do not use macros from bp-asm.h.
60197         (STR): Likewise.
60198         (STOP): Likewise.
60199         (strpbrk): Likewise.  Do not use BP_SYM.
60200         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60201         "bp-asm.h".
60202         (PARMS): Do not use macros from bp-asm.h.
60203         (STR): Likewise.
60204         (CHR): Likewise.
60205         (strrchr): Likewise.  Do not use BP_SYM.
60206         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60207         (PARMS): Do not use macros from bp-asm.h.
60208         (SKIP): Likewise.
60209         (strspn): Do not use BP_SYM.
60210         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60211         (PARMS): Do not use macros from bp-asm.h.
60212         (STR): Likewise.
60213         (DELIM): Likewise.
60214         (SAVE): Likewise.
60215         (FUNCTION): Likewise.  Do not use BP_SYM.
60216         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60217         aliases.
60218         (strtok_r): Likewise.
60219         (__GI___strtok_r): Likewise.
60220         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60221         (PARMS): Do not use macros from bp-asm.h.
60222         (S1): Likewise.
60223         (S2): Likewise.
60224         (SIZE): Likewise.
60225         (__mpn_sub_n): Do not use BP_SYM.
60226         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60227         "bp-asm.h".
60228         (PARMS): Do not use macros from bp-asm.h.
60229         (S1): Likewise.
60230         (SIZE): Likewise.
60231         (__mpn_submul_1): Do not use BP_SYM.
60232         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60233         <bp-sym.h>.
60234         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60235         and <bp-asm.h>.
60236         (PARMS): Do not use macros from bp-asm.h.
60237         (FLAGS): Likewise.
60238         (PTID): Likewise.
60239         (TLS): Likewise.
60240         (CTID): Likewise.
60241         (__clone): Do not use BP_SYM.
60242         (clone): Do not use BP_SYM in weak_alias.
60243         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60244         and <bp-asm.h>.
60245         (PARMS): Do not use macros from bp-asm.h.
60246         (LEN): Likewise.
60247         (__mmap64): Do not use BP_SYM.
60248         (mmap64): Do not use BP_SYM in weak_alias.
60249         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60250         <bp-sym.h> and <bp-asm.h>.
60251         (PARMS): Do not use macros from bp-asm.h.
60252         (__posix_fadvise64_l64): Do not use BP_SYM.
60253         * sysdeps/unix/sysv/linux/i386/semtimedop.S
60254         (PARMS): Do not use macros from bp-asm.h.
60255         (NSOPS): Likewise.
60256         (semtimedop): Do not use BP_SYM.
60257         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60258         and <bp-asm.h>.
60260 2013-02-21  Allan McRae  <allan@archlinux.org>
60262         * manual/message.texi (Charset conversion in gettext):
60263         Move @end statement to beginning of line.
60265 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60268         static.
60269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60270         Likewise.
60272         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60273         (denorm): Likewise.
60274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60277 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60279         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60280         tail-call to the resolved function if pltexit isn't needed.
60282 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60285         or Y being zero as being unlikely.
60286         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60287         Likewise.
60289 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
60291         * manual/nss.texi (System Databases and Name Service Switch):
60292         Remove frobnicate @pxref.
60294 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60296         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60297         __attribute__ ((unused)) to __attribute__ ((__unused__)).
60299 2013-02-20  Petr Machata  <pmachata@redhat.com>
60301         * elf/elf.h (R_ARM_TARGET1): New macro.
60302         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60303         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60304         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60305         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60306         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60307         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60308         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60309         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60310         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60311         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60312         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60313         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60314         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60315         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60316         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60317         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60318         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60319         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60320         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60321         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60322         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60323         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60324         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60325         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60326         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60327         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60328         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60329         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60330         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60331         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60332         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60333         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60334         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60335         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60336         (R_ARM_THM_GOT_BREL12): Likewise.
60337         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60338         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60339         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60340         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60341         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60342         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60343         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60344         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60345         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60347 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60349         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60350         __attribute_used__ to __attribute__ ((unused)).
60352 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60354         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60355         powerpc mpa.c.
60356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60357         comment formatting.
60358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60360 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
60362         [BZ #13550]
60363         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60364         Remove macro.
60365         (ENTER): Remove both macro definitions.
60366         (LEAVE): Likewise.
60367         (CHECK_BOUNDS_LOW): Likewise.
60368         (CHECK_BOUNDS_HIGH): Likewise.
60369         (CHECK_BOUNDS_BOTH): Likewise.
60370         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60371         (RETURN_BOUNDED_POINTER): Likewise.
60372         (RETURN_NULL_BOUNDED_POINTER): Likewise.
60373         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60374         (POP_ERRNO_LOCATION_RETURN): Likewise.
60375         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60376         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60377         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60378         macros.
60379         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60380         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60381         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60382         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60383         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60384         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60385         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60386         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60387         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60388         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60389         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60390         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60391         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60392         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60393         removed macros.
60394         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60395         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60396         macros.
60397         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60398         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60399         * sysdeps/i386/i586/memset.S (memset): Likewise.
60400         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60401         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60402         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60403         macros.
60404         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60405         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60406         Change uses of L(2) to L(out).
60407         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60408         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60409         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60410         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60411         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60412         removed macros.
60413         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60414         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60415         macros.
60416         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60417         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60418         (RETURN): Do not use macro LEAVE.
60419         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60420         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60421         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60422         * sysdeps/i386/i686/memset.S (memset): Likewise.
60423         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60424         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60425         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60426         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60427         Likewise.
60428         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60429         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
60430         L(1_2) and L(1_3) into L(1).
60431         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60432         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60433         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60434         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60435         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60436         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60437         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60438         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60439         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60440         macros.
60441         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60442         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60443         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60444         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60445         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60446         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60447         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60448         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60449         * sysdeps/i386/strcspn.S (strcspn): Likewise.
60450         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60451         * sysdeps/i386/strrchr.S (strrchr): Likewise.
60452         * sysdeps/i386/strspn.S (strspn): Likewise.
60453         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60454         conditional code.
60455         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60456         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60457         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60458         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
60459         L(1_3) into L(1_1).
60460         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60461         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60462         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60463         macros.
60464         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60466 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
60468         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60469         macro.
60471 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60473         * math/atest-exp.c (exp_mpn): Remove ROUND.
60474         * math/atest-exp2.c (exp_mpn): Likewise.
60475         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60477         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60478         * stdlib/tst-tls-atexit-lib.c: Likewise.
60479         * stdlib/tst-tls-atexit.c: Likewise.
60481 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60483         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60484         and __attribute_alloc_size__.
60486 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60488         * include/programs/xmalloc.h: Change __attribute_alloc_size to
60489         __attribute_alloc_size__.
60490         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60491         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60493 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60495         * include/programs/xmalloc.h: New file.
60496         * catgets/gencat.c: Include it.
60497         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60498         * elf/pldd.c: Likewise.
60499         * iconv/iconv_charmap.c: Likewise.
60500         * iconv/iconvconfig.c: Likewise.
60501         * iconv/strtab.c: Likewise.
60502         * locale/programs/locale.c: Likewise.
60503         * locale/programs/localedef.h: Likewise.
60504         * locale/programs/simple-hash.c: Likewise.
60505         * nscd/nscd.h: Likewise.
60506         * nss/makedb.c: Likewise.
60507         * sysdeps/generic/ldconfig.h: Likewise.
60509 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60511         * Versions.def: Add GLIBC_2.18.
60512         * include/link.h (struct link_map): New member l_tls_dtor_count.
60513         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60514         (__call_tls_dtors): Likewise.
60515         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60516         __cxa_thread_atexit_impl.
60517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60518         Likewise.
60519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60520         Likewise.
60521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60522         Likewise.
60523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60524         Likewise.
60525         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60527         Likewise.
60528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60529         Likewise.
60530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60532         Likewise.
60533         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60534         (tests): Add test case tst-tls-atexit.
60535         (modules-names): Add shared library for tst-tls-atexit.
60536         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60537         (GLIBC_PRIVATE): Add __call_tls_dtors.
60538         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60539         for libstdc++.
60540         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60541         * stdlib/tst-tls-atexit.c: New test case.
60542         * stdlib/tst-tls-atexit-lib.c: New test case.
60544         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60546         * elf/Versions (ld): Add _dl_find_dso_for_object.
60547         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60548         * elf/dl-open.c (_dl_find_dso_for_object): New function.
60549         (dl_open_worker): Use _dl_find_dso_for_object.
60550         * elf/dl-sym.c (do_sym): Likewise.
60551         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60553 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60555         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60556         Syntactic changes only.
60557         (_dl_runtime_profile): Do a tail-call to the resolved function.
60559 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
60561         [BZ #13550]
60562         * sysdeps/x86_64/bp-asm.h: Remove file.
60563         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60564         <bp-sym.h> and <bp-asm.h>.
60565         (__clone): Do not use BP_SYM.
60566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60567         <bp-sym.h> and <bp-asm.h>.
60568         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60569         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60570         "bp-asm.h".
60571         (_setjmp): Do not use BP_SYM.
60572         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60573         "bp-asm.h".
60574         (setjmp): Do not use BP_SYM.
60575         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60576         libc_hidden_def.
60577         (mempcpy): Do not use BP_SYM in weak_alias.
60578         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60579         "bp-asm.h".
60580         (strchr): Do not use BP_SYM.
60581         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60582         "bp-asm.h".
60583         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60584         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60585         (_start): Do not use BP_SYM.
60586         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60587         "bp-asm.h".
60588         (strcat): Do not use BP_SYM.
60589         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60590         "bp-asm.h".
60591         (STRCMP): Do not use BP_SYM.
60592         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60593         "bp-asm.h".
60594         (STRCPY): Do not use BP_SYM.
60595         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60596         "bp-asm.h".
60597         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60598         "bp-asm.h".
60599         (FUNCTION): Do not use BP_SYM.
60600         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60601         weak_alias.
60602         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60604 2013-02-17  Andreas Jaeger  <aj@suse.de>
60606         * time/Versions: Sort entries.
60607         * string/Versions: Likewise.
60608         * resolv/Versions: Likewise.
60609         * posix/Versions: Likewise.
60610         * iconv/Versions: Likewise.
60611         * elf/Versions: Likewise.
60612         * wcsmbs/Versions: Likewise.
60614 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60616         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60617         loop termination condition.
60619         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60620         variable to calculate EZ.
60621         (__sqr): Likewise.
60623         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60624         the lower precision input.
60626 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
60628         [BZ #13550]
60629         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60630         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60631         (run-via-rtld-prefix): Do not handle %-bp tests.
60632         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60633         (all-object-suffixes): Remove .ob.
60634         (bppfx): Remove variable.
60635         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60636         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60637         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60638         [$(build-bounded) = yes] (libtype.ob): Likewise.
60639         * Makerules (elide-routines.ob): Remove variable.
60640         (do-tests-clean): Do not handle *-bp.out.
60641         (common-mostlyclean): Do not handle *-bp and *-bp.out.
60642         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60643         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60644         (tests): Do not include $(tests-bp.out).
60645         (xtests): Do not include $(xtests-bp.out).
60646         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60647         [$(build-bounded) = yes] ($(addprefix
60648         $(objpfx),$(binaries-bounded))): Remove rule.
60649         ($(objpfx)%-bp.out): Remove rule.
60650         * config.make.in (build-bounded): Remove variable.
60651         * crypt/Makefile [$(build-bounded) = yes]
60652         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60653         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60654         append to variable.
60655         [$(build-bounded) = yes] (install-lib): Likewise.
60656         [$(build-bounded) = yes] (generated): Likewise.
60657         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60658         Remove rule.
60659         * intl/Makefile [$(build-bounded) = yes]
60660         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60661         * math/Makefile [$(build-bounded) = yes]
60662         ($(tests:%=$(objpfx)%-bp): Likewise.
60663         * misc/Makefile [$(build-bounded) = yes]
60664         ($(objpfx)tst-tsearch-bp): Likewise.
60665         * nptl/Makeconfig (bounded-thread-library): Remove variable.
60666         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60667         Remove dependency.
60668         * string/Makefile (o-objects.ob): Remove variable.
60669         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60670         (CFLAGS-.ob): Remove variable.
60671         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60672         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60673         both definitions of variable.
60674         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60675         (ASFLAGS-.ob): Remove variable.
60677 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
60679         [BZ #13550]
60680         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60681         Remove __BOUNDED_POINTERS__ from condition.
60682         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60683         * string/bits/string2.h [!__NO_STRING_INLINES &&
60684         !__BOUNDED_POINTERS__]: Likewise.
60685         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60686         Likewise.
60687         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60688         Remove conditional code.
60689         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60690         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60691         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60692         condition.
60694         [BZ #13550]
60695         * csu/libc-start.c: Do not include <bp-sym.h>.
60696         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60697         * elf/dl-open.c: Do not include <bp-sym.h>.
60698         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60699         * math/fegetenv.c: Do not include <bp-sym.h>.
60700         (fegetenv): Do not use BP_SYM in versioned symbols.
60701         * nptl/sysdeps/pthread/bits/libc-lockP.h
60702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60703         <bp-sym.h>.
60704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60705         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60707         (__pthread_mutex_destroy): Likewise.
60708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60709         (__pthread_mutex_lock): Likewise.
60710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60711         (__pthread_mutex_trylock): Likewise.
60712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60713         (__pthread_mutex_unlock): Likewise.
60714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60715         (__pthread_mutexattr_init): Likewise.
60716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60717         (__pthread_mutexattr_destroy): Likewise.
60718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60719         (__pthread_mutexattr_settype): Likewise.
60720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60721         (__pthread_rwlock_init): Likewise.
60722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60723         (__pthread_rwlock_destroy): Likewise.
60724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60725         (__pthread_rwlock_rdlock): Likewise.
60726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60727         (__pthread_rwlock_tryrdlock): Likewise.
60728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60729         (__pthread_rwlock_wrlock): Likewise.
60730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60731         (__pthread_rwlock_trywrlock): Likewise.
60732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60733         (__pthread_rwlock_unlock): Likewise.
60734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60735         (__pthread_key_create): Likewise.
60736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60737         (__pthread_setspecific): Likewise.
60738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60739         (__pthread_getspecific): Likewise.
60740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60741         Likewise.
60742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60743         (_pthread_cleanup_push_defer): Likewise.
60744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60745         (_pthread_cleanup_pop_restore): Likewise.
60746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60747         (pthread_setcancelstate): Likewise.
60748         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60749         <bp-sym.h>.
60750         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60751         (memchr): Do not use BP_SYM in weak_alias.
60752         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60753         (fegetenv): Do not use BP_SYM in versioned symbols.
60754         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60755         (fesetenv): Do not use BP_SYM in versioned symbols.
60756         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60757         (feupdateenv): Do not use BP_SYM in versioned symbols.
60758         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60759         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60760         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60761         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60762         (open64): Do not use BP_SYM in weak_alias.
60763         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60764         (fegetenv): Do not use BP_SYM in versioned symbols.
60765         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60766         (fesetenv): Do not use BP_SYM in versioned symbols.
60767         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60768         (feupdateenv): Do not use BP_SYM in versioned symbols.
60769         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60770         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60771         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60772         (feraiseexcept): Do not use BP_SYM in versioned symbols.
60773         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60774         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60775         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60776         <bp-sym.h>.
60777         (__libc_start_main): Do not use BP_SYM.
60779 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60782         redundant return line.
60783         (norm): Likewise.
60784         (denorm): Likewise.
60785         (dbl_mp): Likewise.
60786         (sub_magnitudes): Likewise.
60787         (__add): Likewise.
60788         (__sub): Likewise.
60789         (__mul): Likewise.
60790         (__inv): Likewise.
60791         (__dvd): Likewise.
60792         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60793         (norm): Likewise.
60794         (denorm): Likewise.
60795         (dbl_mp): Likewise.
60796         (sub_magnitudes): Likewise.
60797         (__add): Likewise.
60798         (__sub): Likewise.
60799         (__mul): Likewise.
60800         (__inv): Likewise.
60801         (__dvd): Likewise.
60803         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60804         instead of __mul.
60805         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60806         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60807         (cc32): Likewise.
60809         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60810         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60811         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60812         of __mul for squares.
60813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60814         function
60815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60816         Likewise.
60817         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60818         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60820 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
60822         [BZ #13550]
60823         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60824         code.
60825         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60826         prototype or function definition.  Rename ubp_* variables and
60827         parameters.  Remove argv definitions conditional on
60828         [__BOUNDED_POINTERS__].
60829         * debug/backtrace.c (__backtrace): Do not use __unbounded.
60830         * elf/dl-runtime.c (_dl_fixup): Likewise.
60831         * include/set-hooks.h (RUN_HOOK): Likewise.
60832         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60833         definition.
60834         * string/strcpy.c (strcpy): Do not use __unbounded.
60835         * sysdeps/generic/frame.h (struct layout): Likewise.
60836         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60837         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60838         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60839         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60840         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60841         (__backtrace): Likewise.
60842         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60843         use __ptrvalue.
60844         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60845         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60846         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60847         Likewise.
60848         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60849         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60850         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60851         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60852         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60853         Do not use __unbounded.
60854         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60855         Rename __unboundedrlimits parameter to rlimits in prototype.
60856         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60857         Do not use __unbounded.
60858         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60859         not use __ptrvalue.
60860         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60861         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60862         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60863         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60864         __ptrvalue or __unbounded.
60865         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60866         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60867         use __unbounded.
60868         (__new_msgctl): Do not use __ptrvalue.
60869         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60870         __unbounded.
60871         (__libc_msgrcv): Do not use __ptrvalue.
60872         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60873         startup_info): Do not use __unbounded.
60874         (__libc_start_main): Likewise.  Rename ubp_* variables and
60875         parameters.  Remove argv definitions conditional on
60876         [__BOUNDED_POINTERS__].
60877         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60878         __ptrvalue.
60879         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60880         use __unbounded.
60881         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60882         or __ptrvalue.
60883         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60884         use __unbounded.
60885         (__new_shmctl): Do not use __ptrvalue.
60886         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60887         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60888         Likewise.
60889         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60890         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60891         (__libc_sigaction): Likewise.
60892         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60893         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60894         Likewise.
60895         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60897 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
60899         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60901         * string/mempcpy.c: Implement by calling memcpy.
60903 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60905         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60907         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60908         evaluation.
60910         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60911         values in the mantissa.
60913         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60914         minimize writes to Z.
60915         (sub_magnitudes): Simplify code a bit.
60917 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60919         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60920         from the message.  The linker prefixes all warnings with that already.
60922 2013-02-12  Andreas Schwab  <schwab@suse.de>
60924         [BZ #15078]
60925         * posix/regexec.c (extend_buffers): Add parameter min_len.
60926         (check_matching): Pass minimum needed length.
60927         (clean_state_log_if_needed): Likewise.
60928         (get_subexp): Likewise.
60929         * posix/Makefile (tests): Add bug-regex34.
60930         (bug-regex34-ENV): Define.
60931         * posix/bug-regex34.c: New file.
60933         [BZ #11561]
60934         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60935         elements compare against the byte sequence of it, not its name.
60936         * posix/Makefile (tests): Add bug-regex35.
60937         (bug-regex35-ENV): Define.
60938         * posix/bug-regex35.c: New file.
60940 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60942         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60943         comment.
60944         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60945         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60946         (CHECK_EOL): Add undef.
60948 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60950         * bits/stdlib-bsearch.h: New file.
60951         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60952         * stdlib/stdlib.h: Likewise.
60954 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60956         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60957         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60958         declaration.
60959         * manual/search.texi (Array Search Function): Add missing const in
60960         lfind prototype.
60961         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60962         declaration to use rlim_t.
60963         (Basic Scheduling Functions): Remove erroneous const from
60964         sched_getparam prototype.  Remove erroneous * from
60965         sched_get_priority_max and sched_get_priority_min prototypes.
60966         (Resource Usage): Fix summary @comment on vtimes to refer to
60967         sys/vtimes.h rather than vtimes.h.
60968         Add missing *s in vtimes prototype.
60969         (Limits on Resources): Fix ulimit prototype to return long int.
60970         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60971         prototypes to use long int rather than double.
60972         (BSD Random): Fix initstate and setstate to use char *, not void *.
60973         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60974         prototype to make second argument 'struct aiocb64 *const[]'.
60975         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60976         (Status of AIO Operations): Remove erroneous const in aio_return and
60977         aio_return64 prototypes.
60978         (Synchronizing I/O): Fix sync prototype to return void.
60979         * manual/startup.texi (Suboptions): Remove an erroneous const in
60980         getsubopt prototype.
60981         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60982         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60983         use size_t rather than int.
60984         (Scanning All Users): Likewise for getpwent_r.
60985         (Setting Groups): Add missing const to setgroups prototype.
60986         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60987         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60988         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60989         'const void *' rather than 'const char *'.
60990         (Host Address Functions): Likewise for inet_ntop.
60991         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60992         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60993         ssize_t for return value.
60994         (Sending Data): Likewise for send, sendto, sendmsg.
60995         (Socket Option Functions): Add a missing const in setsockopt prototype.
60996         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60997         use wchar_t for the argument.
60998         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60999         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
61000         take no arguments.
61001         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
61002         double/float/long double for second argument.
61003         Fix return types of significand, significandf, significandl.
61004         * manual/filesys.texi (Setting Permissions): Use mode_t for second
61005         argument in fchmod prototype.
61006         (File Owner): Use uid_t and gid_t in fchown prototype.
61007         (File Times): Add const to utimes, futimes, and lutimes prototypes.
61008         (Making Special Files): Use mode_t and dev_t in mknod prototype.
61009         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
61010         use 'const struct dirent **' as argument types to CMP function pointer
61011         argument.
61012         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
61013         (File Times): Fix summary magic @comment for struct utimbuf and utime
61014         to refer to utime.h, not time.h.
61015         * manual/string.texi (Argz Functions): Add missing const in
61016         argz_extract and argz_next prototypes.
61017         (Finding Tokens in a String): Likewise for basename.
61018         (String/Array Comparison): Fix typo in wcscasecmp prototype.
61019         (Copying and Concatenation): Fix typo in wmemmove prototype.
61020         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
61021         (Signal Stack): Remove erroneous const in sigstack prototype.
61022         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
61023         prototype.
61024         (Simple Calendar Time): Likewise for stime.
61025         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
61026         prototype.
61027         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
61028         say sys/sysctl.h instead.
61029         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
61030         and vsyslog prototypes.
61032 2013-02-11  Tom de Vries  <tom@codesourcery.com>
61034         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
61035         Remove.
61037 2013-02-11  Roland McGrath  <roland@hack.frob.com>
61039         * misc/sys/mman.h: Fix typo in mremap comment.
61041 2013-02-08  Roland McGrath  <roland@hack.frob.com>
61043         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
61044         the '\0' terminator.
61046 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
61048         [BZ #13550]
61049         * debug/segfault.c: Don't include <bp-checks.h>.
61050         * sysdeps/generic/bp-checks.h: Remove file.
61051         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
61052         (__GETDENTS): Don't use CHECK_N.
61053         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
61054         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
61055         (__getgroups): Don't use CHECK_N.
61056         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
61057         (setgroups): Don't use CHECK_N.
61058         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
61059         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
61060         (__libc_msgrcv): Don't use CHECK_N.
61061         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
61062         (__libc_msgsnd): Don't use CHECK_N.
61063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
61064         <bp-checks.h>.
61065         (__libc_pread): Don't use CHECK_N.
61066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
61067         include <bp-checks.h>.
61068         (__libc_pread64): Don't use CHECK_N.
61069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
61070         include <bp-checks.h>.
61071         (__libc_pwrite): Don't use CHECK_N.
61072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
61073         include <bp-checks.h>.
61074         (__libc_pwrite64): Don't use CHECK_N.
61075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
61076         <bp-checks.h>.
61077         (__libc_pread): Don't use CHECK_N.
61078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
61079         include <bp-checks.h>.
61080         (__libc_pread64): Don't use CHECK_N.
61081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
61082         include <bp-checks.h>.
61083         (__libc_pwrite): Don't use CHECK_N.
61084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
61085         include <bp-checks.h>.
61086         (__libc_pwrite64): Don't use CHECK_N.
61087         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
61088         (do_pread): Don't use CHECK_N.
61089         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
61090         (do_pread64): Don't use CHECK_N.
61091         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
61092         (do_pwrite): Don't use CHECK_N.
61093         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
61094         (do_pwrite64): Don't use CHECK_N.
61095         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
61096         (__libc_readv): Don't use CHECK_N.
61097         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
61098         (semop): Don't use CHECK_N.
61099         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
61100         <bp-checks.h>.
61101         (semtimedop): Don't use CHECK_N.
61102         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
61103         (__libc_pread): Don't use CHECK_N.
61104         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
61105         <bp-checks.h>.
61106         (__libc_pread64): Don't use CHECK_N.
61107         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
61108         <bp-checks.h>.
61109         (__libc_pwrite): Don't use CHECK_N.
61110         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
61111         <bp-checks.h>.
61112         (__libc_pwrite64): Don't use CHECK_N.
61113         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61114         <bp-checks.h>.
61115         (__libc_msgrcv): Don't use CHECK_N.
61116         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61117         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
61118         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61119         (__libc_writev): Don't use CHECK_N.
61121 2013-02-08  Roland McGrath  <roland@hack.frob.com>
61123         * string/strcpy.c: Removed unused variable.
61125         * Makeconfig (+sysdep-includes): Define with := rather than =.
61126         Use an existing include/ subdir of each sysdeps dir before it.
61128 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61130         * nscd/connection.c (register_traced_file): Comment function.
61131         [HAVE_INOTIFY] (union __inev): Define.
61132         [HAVE_INOTIFY] (inotify_check_files): New function.
61133         [HAVE_INOTIFY] (clear_db_cache): Likewise.
61134         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61135         clear_db_cache.
61136         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61138 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61140         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61141         loaded if not already and that a failure is permanent.
61143 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61145         [BZ #15006]
61146         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61147         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61149 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
61151         [BZ #13550]
61152         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61153         (CHECK_1_NULL_OK): Likewise.
61154         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61155         (__fxstat): Do not use CHECK_1.
61156         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61157         <bp-checks.h>.
61158         (___fxstat64): Do not use CHECK_1.
61159         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61160         <bp-checks.h>.
61161         (__fxstatat): Do not use CHECK_1.
61162         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61163         <bp-checks.h>.
61164         (__fxstatat64): Do not use CHECK_1.
61165         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61166         <bp-checks.h>.
61167         (__fxstat): Do not use CHECK_1.
61168         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61169         <bp-checks.h>.
61170         (__fxstatat): Do not use CHECK_1.
61171         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61172         <bp-checks.h>.
61173         (__getresgid): Do not use CHECK_1.
61174         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61175         <bp-checks.h>.
61176         (__getresuid): Do not use CHECK_1.
61177         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61178         <bp-checks.h>.
61179         (__lxstat): Do not use CHECK_1.
61180         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61181         <bp-checks.h>.
61182         (__old_msgctl): Do not use CHECK_1.
61183         (__new_msgctl): Likewise.
61184         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61185         <bp-checks.h>.
61186         (__new_setrlimit): Do not use CHECK_1.
61187         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61188         <bp-checks.h>.
61189         (__old_shmctl): Do not use CHECK_1.
61190         (__new_shmctl): Likewise.
61191         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61192         <bp-checks.h>.
61193         (__xstat): Do not use CHECK_1.
61194         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61195         (__lxstat): Do not use CHECK_1.
61196         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61197         <bp-checks.h>.
61198         (___lxstat64): Do not use CHECK_1.
61199         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61200         (__old_msgctl): Do not use CHECK_1.
61201         (__new_msgctl): Likewise.
61202         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61203         <bp-checks.h>.
61204         (__gettimeofday): Do not use CHECK_1.
61205         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61206         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61207         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61208         <bp-checks.h>.
61209         (__gettimeofday): Do not use CHECK_1.
61210         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61211         (__old_shmctl): Do not use CHECK_1_NULL_OK.
61212         (__new_shmctl): Do not use CHECK_1.
61213         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61214         <bp-checks.h>.
61215         (do_sigtimedwait): Do not use CHECK_1.
61216         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61217         <bp-checks.h>.
61218         (do_sigwaitinfo): Do not use CHECK_1.
61219         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61220         <bp-checks.h>.
61221         (msgctl): Do not use CHECK_1.
61222         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61223         <bp-checks.h>.
61224         (shmctl): Do not use CHECK_1.
61225         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61226         (ustat): Do not use CHECK_1.
61227         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61228         <bp-checks.h>.
61229         (__fxstat): Do not use CHECK_1.
61230         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61231         <bp-checks.h>.
61232         (__fxstatat): Do not use CHECK_1.
61233         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61234         <bp-checks.h>.
61235         (__lxstat): Do not use CHECK_1.
61236         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61237         <bp-checks.h>.
61238         (__xstat): Do not use CHECK_1.
61239         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61240         (__xstat): Do not use CHECK_1.
61241         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61242         (___xstat64): Do not use CHECK_1.
61244         [BZ #13550]
61245         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61246         definitions.
61247         (CHECK_BOUNDS_HIGH): Likewise.
61248         * string/strcpy.c: Do not include <bp-checks.h>.
61249         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61251 2013-02-07  Roland McGrath  <roland@hack.frob.com>
61253         * nscd/nscd-client.h (__nscd_drop_map_ref):
61254         Add __attribute__ ((unused)).
61255         * nis/nss-nisplus.h (niserr2nss): Likewise.
61257         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61258         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61260         * csu/libc-tls.c (init_static_tls, init_slotinfo):
61261         Remove inline keyword.
61262         * include/rounding-mode.h (round_away): Likewise.
61263         * libio/wfileops.c (adjust_wide_data): Likewise.
61264         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61265         (__m128i_strloadu_tolower): Likewise.
61266         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61267         (__m128i_strloadu_tolower): Likewise.
61268         * time/mktime.c (ydhms_diff): Likewise.
61269         * locale/elem-hash.h (elem_hash): Likewise.
61270         * locale/setlocale.c (setdata): Likewise.
61271         * posix/regex_internal.h (re_string_char_size_at): Likewise.
61272         (re_string_wchar_at): Likewise.
61273         (bitset_not, bitset_merge, bitset_mask): Likewise.
61274         [!(__GNUC__ > 3)] (inline): Remove macro.
61275         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61276         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61277         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61278         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61279         * string/memcmp.c (memcmp_bytes): Likewise.
61280         * locale/programs/locarchive.c (compute_hashval): Likewise.
61281         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61282         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61283         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61284         * nss/getent.c (print_rpc, print_protocols): Likewise.
61285         (print_passwd, print_group, print_aliases): Likewise.
61286         * nis/nss-nisplus.h (niserr2nss): Likewise.
61287         * nscd/connections.c (restart_p): Likewise.
61288         Change return type to bool.
61290 2013-02-05  Roland McGrath  <roland@hack.frob.com>
61292         * Makeconfig (all-Depend-files): Add existing
61293         $(sorted-subdirs:=/Depend) files.
61294         (all-subdirs): Remove nss.
61295         * sysdeps/unix/inet/Subdirs: Add it here instead.
61296         * hesiod/Depend: New file.
61298         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61299         instead of calling alloca.
61301         * io/lseek.c (__lseek): Rename to __libc_lseek.
61302         Define __lseek as an alias.
61304         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61306 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
61308         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61309         else clause and remove check for non-standard endianness.
61311 2013-02-04  David S. Miller  <davem@davemloft.net>
61313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61315 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
61317         [BZ #13550]
61318         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61319         (__ubp_memchr): Remove prototype.
61320         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61321         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61322         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61323         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61324         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61325         Remove alias.
61326         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61327         (__ubp_memchr): Likewise.
61328         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61329         (__ubp_memchr): Likewise.
61330         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61331         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61332         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61333         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61334         CHECK_STRING.
61335         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61336         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61337         (__getcwd): Do not use CHECK_STRING.
61338         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61339         <bp-checks.h>.
61340         (__real_chown): Do not use CHECK_STRING.
61341         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61342         <bp-checks.h>.
61343         (fchownat): Do not use CHECK_STRING.
61344         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61345         CHECK_STRING.
61346         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61347         <bp-checks.h>.
61348         (__lchown): Do not use CHECK_STRING.
61349         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61350         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61351         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61352         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61354         include <bp-checks.h>.
61355         (truncate64): Do not use CHECK_STRING.
61356         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61357         <bp-checks.h>.
61358         (__real_chown): Do not use CHECK_STRING.
61359         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61360         <bp-checks.h>.
61361         (__lchown): Do not use CHECK_STRING.
61362         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61363         <bp-checks.h>.
61364         (__chown): Do not use CHECK_STRING.
61365         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61366         <bp-checks.h>.
61367         (truncate64): Do not use CHECK_STRING.
61368         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61369         Likewise.
61370         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61371         (__xmknod): Do not use CHECK_STRING.
61372         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61373         <bp-checks.h>.
61374         (__xmknodat): Do not use CHECK_STRING.
61375         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61376         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61378 2013-02-04  Andreas Schwab  <schwab@suse.de>
61380         [BZ #14142]
61381         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61382         * include/netdb.h: Likewise for h_errno.
61383         * elf/tst-stackguard1.c: Include <tls.h>.
61385 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
61387         * elf/link.h (struct link_map): Extend the l_addr comment.
61388         * include/link.h (struct link_map): Likewise.
61390 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
61392         [BZ #13550]
61393         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61394         (BOUNDED_1): Remove macro.
61395         * debug/backtrace.c: Don't include <bp-checks.h>.
61396         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61397         (__backtrace): Likewise.
61398         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61399         <bp-checks.h>.
61400         (__backtrace): Don't use BOUNDED_1.
61401         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61402         <bp-checks.h>.
61403         (__backtrace): Don't use BOUNDED_1.
61404         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61405         (__backtrace): Don't use BOUNDED_1.
61406         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61407         (shmat): Don't use BOUNDED_N.
61409 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
61411         [BZ #13550]
61412         * sysdeps/generic/bp-start.h: Remove file.
61413         * csu/libc-start.c: Don't include <bp-start.h>.
61414         (LIBC_START_MAIN): Set up __environ directly instead of using
61415         INIT_ARGV_and_ENVIRON.
61416         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61417         <bp-start.h>.
61419         [BZ #13550]
61420         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61421         definitions.
61422         (CHECK_FCNTL): Likewise.
61423         (CHECK_N_PAGES): Likewise.
61425         [BZ #13550]
61426         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61427         definitions.
61428         (CHECK_SIGSET_NULL_OK): Likewise.
61429         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61430         <bp-checks.h>.
61431         (sigpending): Don't use CHECK_SIGSET.
61432         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61433         <bp-checks.h>.
61434         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61435         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61436         <bp-checks.h>.
61437         (do_sigsuspend): Don't use CHECK_SIGSET.
61438         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61439         use CHECK_SIGSET.
61440         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61441         (do_sigwait): Don't use CHECK_SIGSET.
61442         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61443         use CHECK_SIGSET.
61444         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61445         include <bp-checks.h>.
61446         (sigpending): Don't use CHECK_SIGSET.
61447         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61448         include <bp-checks.h>.
61449         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61450         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61451         <bp-checks.h>.
61452         (sigpending): Don't use CHECK_SIGSET.
61453         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61454         <bp-checks.h>.
61455         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61457         [BZ #13550]
61458         * sysdeps/generic/bp-semctl.h: Remove file.
61459         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61460         <bp-checks.h> and <bp-semctl.h>.
61461         (__old_semctl): Don't use CHECK_SEMCTL.
61462         (__new_semctl): Likewise.
61463         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61464         and <bp-semctl.h>.
61465         (__old_semctl): Don't use CHECK_SEMCTL.
61466         (__new_semctl): Likewise.
61467         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61468         <bp-checks.h> and <bp-semctl.h>.
61469         (__old_semctl): Don't use CHECK_SEMCTL.
61470         (__new_semctl): Likewise.
61471         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61472         <bp-checks.h> and <bp-semctl.h>.
61473         (semctl): Don't use CHECK_SEMCTL.
61475         [BZ #13550]
61476         * Makerules (elide-bp-thunks): Remove variable.
61477         (elide-routines.oS): Don't use $(elide-bp-thunks).
61478         (elide-routines.os): Likewise.
61479         (elide-routines.o): Likewise.
61480         (elide-routines.op): Likewise.
61481         (elide-routines.og): Likewise.
61482         (objects): Don't use $(bp-thunks).
61483         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61484         include.
61485         (common-generated): Do not add s-proto-bp.d.
61486         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61487         (int): Likewise.
61488         (typ): Likewise.
61489         Do not generate makefile rules for bounded-pointer thunks.
61490         * sysdeps/generic/bp-thunks.h: Remove file.
61491         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61492         * sysdeps/unix/s-proto-bp.S: Likewise.
61494         [BZ #15062]
61495         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61496         parts of result separately when argument is not close to line from
61497         -i to i and one part of argument is small.
61498         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61499         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61500         * math/libm-test.inc (cacos_test): Add more tests.
61501         (casin_test): Likewise.
61502         (casinh_test): Likewise.
61503         * sysdeps/i386/fpu/libm-test-ulps: Update.
61504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61506 2013-01-31  David S. Miller  <davem@davemloft.net>
61508         * po/de.po: Update from translation team.
61510 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
61512         * time/tzfile.c: Include stdint.h for SIZE_MAX.
61514 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
61516         * configure.in (_AC_PROG_CC_C89): New definition.
61517         * configure: Regenerate.
61519         * configure.in (AC_PROG_CPP): New definition.
61520         * configure: Regenerate.
61522 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61524         * debug/tst-backtrace.h: New file.
61525         * debug/tst-backtrace2.c: Include tst-backtrace.h.
61526         (ret): Remove variable.
61527         (x): Likewise.
61528         (FAIL): Remove macro.
61529         (NO_INLINE): Likewise.
61530         (fn1): Use match function instead of strstr.
61531         * debug/tst-backtrace3.c: Include tst-backtrace.h.
61532         (ret): Remove variable.
61533         (x): Likewise.
61534         (FAIL): Remove macro.
61535         (NO_INLINE): Likewise.
61536         (fn): Use match function instead of strstr.
61537         * debug/tst-backtrace4.c: Include tst-backtrace.h.
61538         (ret): Remove variable.
61539         (x): Likewise.
61540         (FAIL): Remove macro.
61541         (NO_INLINE): Likewise.
61542         (handle_signal): Use match function instead of strstr.
61543         * debug/tst-backtrace5.c: Include tst-backtrace.h.
61544         (ret): Remove variable.
61545         (x): Likewise.
61546         (FAIL): Remove macro.
61547         (NO_INLINE): Likewise.
61548         (handle_signal): Use match function instead of strstr.
61550 2013-01-23  Roland McGrath  <roland@hack.frob.com>
61552         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61554 2013-01-23  David S. Miller  <davem@davemloft.net>
61556         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61557         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61558         argument of CAS if possible.
61559         * sysdeps/sparc/sparc64/bits/atomic.h
61560         (__arch_compare_and_exchange_val_32_acq): Likewise.
61561         (__arch_compare_and_exchange_val_64_acq): Likewise.
61563 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
61565         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61566         * sysdeps/posix/ulimit.c: ... this.
61567         Include <limits.h>.
61568         * sysdeps/unix/bsd/ulimit.c: Remove file.
61570 2013-01-23  Adam Conrad  <adconrad@0c3.net>
61572         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61573         (LDFLAGS-tst-array5): Likewise.
61575 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61577         [BZ #15036]
61578         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61579         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61580         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61581         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61583 2013-01-21  David S. Miller  <davem@davemloft.net>
61585         * sysdeps/sparc/backtrace.c: New file.
61586         * sysdeps/sparc/sparc32/backtrace.h: New file.
61587         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61588         * sysdeps/sparc/sparc64/backtrace.h: New file.
61589         * sysdeps/sparc/sparc64/backtrace.c: Delete.
61590         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61591         -funwind-tables.
61593 2013-01-21  Andreas Schwab  <schwab@suse.de>
61595         [BZ #15020]
61596         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61597         closed its stdout.
61599 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
61601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61602         "mpa2.h".
61603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61605 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
61606             Mark Mitchell  <mark@codesourcery.com>
61607             Tom de Vries  <tom@codesourcery.com>
61608             Paul Pluzhnikov  <ppluzhnikov@google.com>
61610         * debug/tst-backtrace2.c: New file.
61611         * debug/tst-backtrace3.c: Likewise.
61612         * debug/tst-backtrace4.c: Likewise.
61613         * debug/tst-backtrace5.c: Likewise.
61614         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61615         (CFLAGS-tst-backtrace3.c): Likewise.
61616         (CFLAGS-tst-backtrace4.c): Likewise.
61617         (CFLAGS-tst-backtrace5.c): Likewise.
61618         (LDFLAGS-tst-backtrace2): Likewise.
61619         (LDFLAGS-tst-backtrace3): Likewise.
61620         (LDFLAGS-tst-backtrace4): Likewise.
61621         (LDFLAGS-tst-backtrace5): Likewise.
61622         (tests): Add new tests tst-backtrace2, tst-backtrace3,
61623         tst-backtrace4 and tst-backtrace5.
61625 2013-01-18  Anton Blanchard  <anton@samba.org>
61626             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61628         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61629         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61630         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61631         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61633         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61634         "+r" and remove output regs list as redundant.  Add explicit inline
61635         asm to specify register of return val to work around compiler codegen
61636         bug.  Remove (int) cast on return value.  Add return type parameter to
61637         use in macro so that this macro does not truncate return value for
61638         64-bit values.
61639         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61640         pass to INTERNAL_VSYSCALL_NCS.
61641         (INLINE_VSYSCALL): Add 'long int' as return type to
61642         INTERNAL_VSYSCALL_NCS macro invocation.
61643         (INTERNAL_VSYSCALL): Add 'long int' as return type to
61644         INTERNAL_VSYSCALL_NCS macro invocation.
61645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61647 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61649         [BZ #14496]
61650         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61651         Fix application of SIMD FP exception mask.
61653         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61654         mp_no from a power of two.
61655         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61656         __mpexp_twomm1.  Use __pow_mp.
61658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61659         multiplication.
61661 2013-01-17  David S. Miller  <davem@davemloft.net>
61663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61665 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61667         [BZ #15023]
61668         * include/complex.h: Condition contents on [!_COMPLEX_H].
61669         (__kernel_casinhf): New prototype.
61670         (__kernel_casinh): Likewise.
61671         (__kernel_casinhl): Likewise.
61672         * math/Makefile (libm_calls): Add k_casinh.
61673         * math/k_casinh.c: New file.
61674         * math/k_casinhf.c: Likewise.
61675         * math/k_casinhl.c: Likewise.
61676         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61677         finite nonzero arguments.
61678         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61679         finite nonzero arguments.
61680         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61681         finite nonzero arguments.
61682         * math/s_casinh.c: Do not include <float.h>.
61683         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61684         * math/s_casinhf.c: Do not include <float.h>.
61685         (__casinhf): Move code for finite nonzero arguments to
61686         k_casinhf.c.
61687         * math/s_casinhl.c: Do not include <float.h>.
61688         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61689         redefine.
61690         (__casinhl): Move code for finite nonzero arguments to
61691         k_casinhl.c.
61692         * math/libm-test.inc (cacos_test): Add more tests.
61693         * sysdeps/i386/fpu/libm-test-ulps: Update.
61694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61696 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
61698         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61699         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61700         [!HAVE_MREMAP]: Remove [defined linux] case.
61701         * malloc/arena.c: Do not include <malloc-sysdep.h>.
61703 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61705         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61707 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
61709         * elf/elf.h (R_386_SIZE32): New relocation.
61710         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61711         R_386_SIZE32.
61712         (elf_machine_rela): Likewise.
61713         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61714         R_X86_64_SIZE64 and R_X86_64_SIZE32.
61716 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61718         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61719         (FP_FAST_FMA): Do not define.
61720         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61721         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61722         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61723         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61724         !_SOFT_FLOAT]: Likewise.
61725         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61726         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61727         value.
61728         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61729         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61730         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61731         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61732         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61733         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61734         file.
61736 2013-01-16  Andreas Schwab  <schwab@suse.de>
61738         [BZ #14327]
61739         * include/stdlib.h (__mktemp): Add declaration.
61740         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61741         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61743 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61745         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61746         definitions.
61747         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61748         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61749         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61750         definitions here.
61751         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61752         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61753         definitions.
61754         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61755         and ONE.
61756         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61757         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61758         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61759         definitions.
61760         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61761         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61762         definitions.
61763         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61765         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61767 2013-01-15  David S. Miller  <davem@davemloft.net>
61769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61770         trunc{,f} to libm-sysdep_routes.
61771         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61773         file.
61774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61776         file.
61777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61778         file.
61779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61781         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61782         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61783         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61784         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61785         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61786         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61789         nearbyint{,f} to libm-sysdep_routes.
61790         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61792         New file.
61793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61794         file.
61795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61796         New file.
61797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61798         file.
61799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61801         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61802         file.
61803         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61804         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61805         file.
61806         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61807         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61808         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61810         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61811         libc_feholdexcept and libc_fesetenv.
61813 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
61815         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61817 2013-01-14  David S. Miller  <davem@davemloft.net>
61819         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61820         (SPARC_ASM_VIS2_IFUNC): Likewise.
61821         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61823         use of 'siam' instruction.
61824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61825         Likewise.
61826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61827         Likewise.
61828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61829         Likewise.
61830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61832         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61835         file.
61836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61837         file.
61838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61839         file.
61840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61841         file.
61842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61847         new VIS2 routines.
61848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61851         Likewise.
61852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61855         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61857         routines to libm-sysdep_routines.
61858         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61861         fdim/fdimf to libm-sysdep_routines.
61862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61863         file.
61864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61866         file.
61867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61870         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61871         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61872         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61873         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61875 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61877         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61878         to optimize copies.
61880         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61885         local variable MPTWO.
61886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61887         Likewise.
61889 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61891         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61892         GLOB_NOESCAPE.
61894 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61896         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61898 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61900         * manual/pattern.texi (glob_t): Document gl_flags.
61901         (glob64_t): Likewise.
61903 2013-01-11  David S. Miller  <davem@davemloft.net>
61905         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61906         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61907         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61908         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61909         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61910         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61911         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61912         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61913         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61914         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61915         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61916         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61917         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61919         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61920         sparc V9 rather than using V8 code.
61921         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61922         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61924         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61925         Move to...
61926         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61927         Here.
61929 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61931         [BZ #14941]
61932         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61933         not in the main loop.
61934         * configure: Regenerated.
61936 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61938         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61939         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61940         to just #else.
61941         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61942         [!__GLIBC_HAVE_LONG_LONG] case.
61943         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61944         condition to just #else.
61945         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61946         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61947         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61948         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61949         unconditional.
61950         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61951         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61952         #elif condition to just #else.
61953         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61954         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61955         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61956         #elif condition to just #else.
61958 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61960         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61961         (EF_MIPS_ARCH_64): Fix value.
61962         (EF_MIPS_ARCH_32R2): New.
61963         (EF_MIPS_ARCH_64R2): New.
61965 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61967         * Makeconfig (+link-pie-before-libc): New.
61968         (+link-pie-after-libc): Likewise.
61969         (+link-pie-tests): Likewise.
61970         (+link-pie): Rewritten.
61971         (link-before-libc): Remove $(config-LDFLAGS).
61972         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61973         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61974         (config-LDFLAGS): Renamed to ...
61975         (rtld-LDFLAGS): This.
61976         (rtld-tests-LDFLAGS): New macro.
61977         (link-libc-rpath-link): Likewise.
61978         (link-libc-tests-rpath-link): Likewise.
61979         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61980         (link-libc): Prepand $(link-libc-rpath-link).
61981         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61982         (test-program-prefix): New macro.
61983         (test-via-rtld-prefix): Likewise.
61984         (test-program-cmd): Likewise.
61985         (host-test-program-cmd): Likewise.
61986         * Makefile ($(common-objpfx)testrun.sh): Replace
61987         $(run-program-prefix) with $(test-program-prefix).
61988         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61989         $(rtld-LDFLAGS).
61990         ($(common-objpfx)shlib.lds): Likewise.
61991         (build-module-helper): Likewise.
61992         ($(common-objpfx)format.lds): Likewise.
61993         * Rules (binaries-pie-tests): New.
61994         (binaries-pie-notests): Likewise.
61995         (binaries-pie): Rewritten.
61996         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61997         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61998         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61999         (make-test-out): Replace $(host-built-program-cmd) with
62000         $(host-test-program-cmd).
62001         * config.make.in (build-hardcoded-path-in-tests): New variable.
62002         * configure.in (--enable-hardcoded-path-in-tests): New configure
62003         option.
62004         (hardcoded_path_in_tests): New AC_SUBST.
62005         * configure: Regenerated.
62006         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
62007         $(built-program-cmd) with $(test-program-cmd).
62008         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
62009         (test_program_cmd): This.
62010         * elf/Makefile ($(objpfx)order.out): Run test with
62011         $(test-program-prefix).
62012         ($(objpfx)order2.out): Likewise.
62013         ($(objpfx)tst-initorder.out): Likewise.
62014         ($(objpfx)tst-initorder2.out): Likewise.
62015         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
62016         $(test-program-cmd).
62017         ($(objpfx)tst-array1-static.out): Likewise.
62018         ($(objpfx)tst-array2.out): Likewise.
62019         ($(objpfx)tst-array3.out): Likewise.
62020         ($(objpfx)tst-array4.out): Likewise.
62021         ($(objpfx)tst-array5.out): Likewise.
62022         ($(objpfx)tst-array5-static.out): Likewise.
62023         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
62024         $(test-program-cmd).
62025         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
62026         $(run-program-prefix) with $(test-program-prefix).
62027         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
62028         (test_program_prefix): This.
62029         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
62030         $(run-program-prefix) with $(test-program-prefix).
62031         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
62032         (test_program_prefix): This.
62033         * iconvdata/tst-tables.sh: Likewise.
62034         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
62035         $(run-program-prefix) with $(test-program-prefix).
62036         ($(objpfx)tst-translit.out): Likewise.
62037         ($(objpfx)tst-gettext2.out): Likewise.
62038         ($(objpfx)tst-gettext4.out): Likewise.
62039         ($(objpfx)tst-gettext6.out): Likewise.
62040         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
62041         (test_program_prefix): This.
62042         * intl/tst-gettext2.sh: Likewise.
62043         * intl/tst-gettext4.sh  Likewise.
62044         * intl/tst-gettext6.sh: Likewise.
62045         * intl/tst-translit.sh: Likewise.
62046         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
62047         with $(test-program-cmd).
62048         * libio/Makefile ($(objpfx)test-freopen.out): Replace
62049         $(run-program-prefix) with $(test-program-prefix).
62050         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
62051         (test_program_prefix): This.
62052         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
62053         $(run-program-prefix) with $(test-program-prefix).
62054         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
62055         (test_program_prefix): This.
62056         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
62057         * posix/Makefile ($(objpfx)globtest.out): Replace
62058         $(run-via-rtld-prefix) and $(test-wrapper) with
62059         $(test-program-prefix) and $(test-via-rtld-prefix).
62060         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
62061         $(test-program-prefix).
62062         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
62063         $(host-test-program-cmd).
62064         (tst-spawn-ARGS): Likewise.
62065         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
62066         $(test-program-prefix).
62067         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
62068         (test_via_rtld_prefix): This.
62069         (test_wrapper): Renamed to ...
62070         (test_program_prefix): This.
62071         (run_program_prefix): Replaced by test_program_prefix.
62072         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
62073         (test_program_prefix): This.
62074         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
62075         with $(host-test-program-cmd).
62076         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
62077         $(run-program-prefix) with $(test-program-prefix).
62078         ($(objpfx)tst-printf.out): Likewise.
62079         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
62080         $(test-program-cmd).
62081         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
62082         (test_program_prefix): This.
62083         * stdio-common/tst-unbputc.sh: Likewise.
62084         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
62085         $(run-program-prefix) with $(test-program-prefix).
62086         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
62087         (test_program_prefix): This.
62088         * string/Makefile ($(objpfx)tst-svc.out):  Replace
62089         $(built-program-cmd) with $(test-program-cmd).
62091 2013-01-11  Andreas Jaeger  <aj@suse.de>
62093         [BZ #15003]
62094         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
62095         value. Sync with Linux 3.7.
62097 2013-01-10  David S. Miller  <davem@davemloft.net>
62099         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
62100         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62101         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62103 2013-01-10  Roland McGrath  <roland@hack.frob.com>
62105         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
62106         never set.
62107         * configure: Regenerated.
62109 2013-01-10  David S. Miller  <davem@davemloft.net>
62111         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62112         sparc V9 rather than using V8 code.
62113         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62114         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62116 2013-01-10  Roland McGrath  <roland@hack.frob.com>
62118         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62119         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62120         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62121         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62122         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62123         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62124         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62125         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62126         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62127         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62128         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62129         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62130         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62131         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62132         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62133         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62134         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62135         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62136         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62137         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62138         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62139         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62140         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62141         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62142         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62143         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62144         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62146 2013-01-10  David S. Miller  <davem@davemloft.net>
62148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62150 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62152         * posix/Makefile (tests-static): New variable.
62153         (tests): Add $(tests-static).
62154         (tst-exec-static-ARGS): New variable.
62155         (tst-spawn-static-ARGS): Likewise.
62156         * posix/tst-exec-static.c: New file.
62157         * posix/tst-spawn-static.c: Likewise.
62158         * posix/tst-exec.c: Support run directly.
62159         * posix/tst-spawn.c: Likewise.
62161 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
62163         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62164         long.
62165         * math/bits/mathcalls.h (llrint): Likewise.
62166         (llround): Likewise.
62167         * stdlib/stdlib.h (struct drand48_data): Likewise.
62168         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62169         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62170         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62171         Likewise.
62172         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62173         Likewise.
62174         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62175         (elf_greg_t): Likewise.
62176         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62177         (__jmp_buf): Likewise.
62178         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62179         definitions.
62180         (llrint): Likewise, for all definitions.
62181         (llrintl): Likewise.
62183         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62184         Remove [__GNUC__] condition.
62185         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62186         condition to just [__USE_ISOC99].
62187         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62189 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62191         [BZ #14200]
62192         * sysdeps/unix/sysv/linux/x86/bits/environments.h
62193         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62194         defined.
62195         (_POSIX_V6_ILP32_OFF32): Likewise.
62196         (_XBS5_ILP32_OFF32): Likewise.
62197         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62198         (__ILP32_OFFBIG_LDFLAGS): Likewise.
62200 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62202         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62205         doubles __mpexp_twomm1.  Adjust usage.
62206         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62207         Remove.
62209 2013-01-10  Andreas Schwab  <schwab@suse.de>
62211         [BZ #14964]
62212         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62213         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62215 2013-01-09  David S. Miller  <davem@davemloft.net>
62217         [BZ #15003]
62218         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62219         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62220         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62221         (TCP_FASTOPEN): Define.
62222         (tcp_repair_opt): New structure.
62223         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62224         enum values.
62225         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62226         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62227         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62228         (tcp_cookie_transactions): New structure.
62230 2013-01-09  Anton Blanchard  <anton@samba.org>
62232         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62233         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62234         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62235         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62237 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
62239         * include/features.h (__USE_ANSI): Remove.
62241 2013-01-09  Roland McGrath  <roland@hack.frob.com>
62243         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62245         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62247 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
62249         * sysdeps/s390/fpu/libm-test-ulps: Update.
62251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62253         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62254         (__acr): Likewise.
62255         (__cpy): Likewise.
62256         (norm): Likewise.
62257         (denorm): Likewise.
62258         (__mp_dbl): Likewise.
62259         (__dbl_mp): Likewise.
62260         (add_magnitudes): Likewise.
62261         (sub_magnitudes): Likewise.
62262         (__add): Likewise.
62263         (__sub): Likewise.
62264         (__mul): Likewise.
62265         (__inv): Likewise.
62266         (__dvd): Likewise.
62267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62268         (__acr): Likewise.
62269         (__cpy): Likewise.
62270         (norm): Likewise.
62271         (denorm): Likewise.
62272         (__mp_dbl): Likewise.
62273         (__dbl_mp): Likewise.
62274         (add_magnitudes): Likewise.
62275         (sub_magnitudes): Likewise.
62276         (__add): Likewise.
62277         (__sub): Likewise.
62278         (__mul): Likewise.
62279         (__inv): Likewise.
62280         (__dvd): Likewise.
62281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62282         (__acr): Likewise.
62283         (__cpy): Likewise.
62284         (norm): Likewise.
62285         (denorm): Likewise.
62286         (__mp_dbl): Likewise.
62287         (__dbl_mp): Likewise.
62288         (add_magnitudes): Likewise.
62289         (sub_magnitudes): Likewise.
62290         (__add): Likewise.
62291         (__sub): Likewise.
62292         (__mul): Likewise.
62293         (__inv): Likewise.
62294         (__dvd): Likewise.
62296 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
62298         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62299         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62300         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62301         2 && __USE_EXTERN_INLINES]: Likewise.
62303 2013-01-08  Andreas Jaeger  <aj@suse.de>
62305         [BZ# 14985]
62306         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62307         Remove.
62308         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62309         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62311 2013-01-07  Anton Blanchard  <anton@samba.org>
62313         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62314         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62315         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62316         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62317         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62318         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62319         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62320         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62322         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62323         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62324         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62325         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62326         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62327         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62328         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62329         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62330         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62331         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62332         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62333         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62334         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62335         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62336         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62337         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62338         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62339         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62340         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62341         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62342         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62343         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62345         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62346         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62347         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62348         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62349         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62350         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62351         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62352         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62353         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62354         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62355         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62357 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
62359         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62360         (__MALLOC_PMT): Likewise.
62361         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62362         [__GNUC__], only on [_LIBC].
62363         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62364         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62365         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62366         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62367         forward declaration.
62368         (realloc_hook_ini): Likewise.
62369         (memalign_hook_ini): Likewise.
62370         (__libc_memalign): Do not use __MALLOC_PMT in variable
62371         declaration.
62372         (__libc_valloc): Likewise.
62373         (__libc_pvalloc): Likewise.
62374         (__libc_calloc): Likewise.
62375         (__posix_memalign): Likewise.
62377         [BZ #14996]
62378         * math/s_casinh.c: Include <float.h>.
62379         (__casinh): Do not do computation with squaring and square root
62380         for large arguments.
62381         * math/s_casinhf.c: Include <float.h>.
62382         (__casinhf): Do not do computation with squaring and square root
62383         for large arguments.
62384         * math/s_casinhl.c: Include <float.h>.
62385         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62386         (__casinhl): Do not do computation with squaring and square root
62387         for large arguments.
62388         * math/libm-test.inc (casin_test): Add more tests.
62389         (casinh_test): Likewise.
62390         * sysdeps/i386/fpu/libm-test-ulps: Update.
62391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62393 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
62395         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62396         (__x86_64_raw_data_cache_size): Likewise.
62397         (__x86_64_data_cache_size_half): Likewise.
62398         (__x86_64_raw_data_cache_size_half): Likewise.
62399         (__x86_64_shared_cache_size): Likewise.
62400         (__x86_64_raw_shared_cache_size): Likewise.
62401         (__x86_64_shared_cache_size_half): Likewise.
62402         (__x86_64_raw_shared_cache_size_half): Likewise.
62403         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62404         to ...
62405         (__x86_data_cache_size): This.
62406         (__x86_64_raw_data_cache_size): Renamed to ...
62407         (__x86_raw_data_cache_size): This.
62408         (__x86_64_data_cache_size_half): Renamed to ...
62409         (__x86_data_cache_size_half): This.
62410         (__x86_64_raw_data_cache_size_half): Renamed to ...
62411         (__x86_raw_data_cache_size_half): This.
62412         (__x86_64_shared_cache_size): Renamed to ...
62413         (__x86_shared_cache_size): This.
62414         (__x86_64_raw_shared_cache_size): Renamed to ...
62415         (__x86_raw_shared_cache_size): This.
62416         (__x86_64_shared_cache_size_half): Renamed to ...
62417         (__x86_shared_cache_size_half): This.
62418         (__x86_64_raw_shared_cache_size_half): Renamed to ...
62419         (__x86_raw_shared_cache_size_half): This.
62420         * sysdeps/x86_64/memcpy.S: Updated.
62421         * sysdeps/x86_64/memset.S: Likewise.
62422         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62423         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62424         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62426 2013-01-04  David S. Miller  <davem@davemloft.net>
62428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62430 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
62432         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62433         1 to avoid redefinition warning.
62434         (__USE_GNU): Don't define.
62435         (init_signaling_nan): Protoize.
62437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62439 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62441         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62443         (__cpymn): Likewise.
62444         (norm): Remove commented code.
62445         (denorm): Likewise.
62446         (__mp_dbl): Likewise.
62447         (__inv): Likewise.
62448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62449         (__cpymn): Likewise.
62450         (norm): Remove commented code.
62451         (denorm): Likewise.
62452         (__mp_dbl): Likewise.
62453         (__inv): Likewise.
62455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62456         mp_no value for 1.0 and 2.0.
62457         (norm): Use RADIXI instead of radixi.d.
62458         (denorm): Likewise.
62459         (__mul): Use 0.0 instead of zero.d.
62460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62461         mp_no value for 1.0 and 2.0.
62462         (norm): Use RADIXI instead of radixi.d.
62463         (denorm): Likewise.
62464         (__mul): Use 0.0 instead of zero.d.
62466 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
62468         [BZ #14994]
62469         * math/s_casinh.c (__casinh): Reduce finite argument to first
62470         quadrant then set signs of results at the end.
62471         * math/s_casinhf.c (__casinhf): Likewise.
62472         * math/s_casinhl.c (__casinhl): Likewise.
62473         * math/libm-test.inc (casin_test): Add more tests.
62474         (casinh_test): Likewise.
62475         * sysdeps/i386/fpu/libm-test-ulps: Update.
62476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62478 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62480         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62482         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62484         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62485         declarations.
62486         (denorm): Likewise.
62487         (__mp_dbl): Likewise.
62488         (__inv): Likewise.
62490         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62491         and adjust the header comment.
62493         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62494         variable name from declaration.
62496 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
62498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62499         Initialize COMMON_CPUID_INDEX_7 element.
62500         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62501         (CPUID_RTM): Likewise.
62502         (HAS_RTM): Likewise.
62503         (COMMON_CPUID_INDEX_7): New enum.
62505 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
62507         [BZ #14981]
62508         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62509         size is zero, record memory as freed.
62511 2013-01-03  Andreas Jaeger  <aj@suse.de>
62513         * po/ia.po: Add new Interlingua translation.
62515 2012-01-03  Allan McRae  <allan@archlinux.org>
62517         * locale/programs/localedef.c: Fix description of '--posix' flag.
62519 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
62521         * NEWS: Update dates in second copyright notice.
62522         * README: Update copyright dates in example.
62523         * manual/libc.texinfo: Update copyright dates.
62524         * scripts/test-installation.pl: Update copyright date in --version
62525         output.
62527         * hurd/ctty-input.c: Fix copyright notice formatting.
62528         * hurd/ctty-output.c: Likewise.
62529         * hurd/dtable.c: Likewise.
62530         * hurd/hurd-raise.c: Likewise.
62531         * hurd/hurdprio.c: Likewise.
62532         * hurd/msgportdemux.c: Likewise.
62533         * misc/sys/file.h: Likewise.
62534         * misc/sys/ioctl.h: Likewise.
62535         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62536         * sysdeps/mach/hurd/chdir.c: Likewise.
62537         * sysdeps/mach/hurd/fchdir.c: Likewise.
62538         * sysdeps/mach/hurd/rename.c: Likewise.
62539         * sysdeps/mach/hurd/rmdir.c: Likewise.
62540         * sysdeps/mach/hurd/seekdir.c: Likewise.
62541         * sysdeps/mach/hurd/setsid.c: Likewise.
62542         * sysdeps/posix/wait3.c: Likewise.
62544         * All files with FSF copyright notices: Update copyright dates
62545         using scripts/update-copyrights.
62546         * intl/plural.c: Regenerated.
62547         * locale/programs/charmap-kw.h: Likewise.
62548         * locale/programs/locfile-kw.h: Likewise.
62550 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62552         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62553         four values.
62555         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62556         calculation loop and add branch prediction.
62558         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62559         check access beyond bounds of m1np.
62561         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62562         MPTWO.
62563         (__inv): Remove local variable MPTWO to use the global
62564         constant.
62565         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62567         variable MPTWO.
62568         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62569         MP3HALFS static const.
62571 2013-01-01  David S. Miller  <davem@davemloft.net>
62573         * po/ca.po: Update from translation team.
62575 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
62577         * scripts/update-copyrights: New file.
62578         * Makeconfig: Reformat copyright notice.
62579         * ctype/ctype.h: Likewise.
62580         * debug/swprintf_chk.c: Likewise.
62581         * elf/dl-cache.c: Likewise.
62582         * elf/dl-debug.c: Likewise.
62583         * elf/dl-object.c: Likewise.
62584         * grp/initgroups.c: Likewise.
62585         * hurd/Makefile: Likewise.
62586         * hurd/hurd/signal.h: Likewise.
62587         * hurd/hurdfault.c: Likewise.
62588         * hurd/hurdioctl.c: Likewise.
62589         * hurd/hurdlookup.c: Likewise.
62590         * hurd/intr-msg.c: Likewise.
62591         * iconv/gconv_open.c: Likewise.
62592         * libio/swprintf.c: Likewise.
62593         * locale/lc-ctype.c: Likewise.
62594         * locale/nl_langinfo.c: Likewise.
62595         * mach/Machrules: Likewise.
62596         * mach/Makefile: Likewise.
62597         * malloc/obstack.h: Likewise.
62598         * manual/Makefile: Likewise.
62599         * manual/tsort.awk: Likewise.
62600         * misc/bits/stab.def: Likewise.
62601         * nis/nis_print_group_entry.c: Likewise.
62602         * nis/nis_table.c: Likewise.
62603         * nis/nss_compat/compat-pwd.c: Likewise.
62604         * nis/nss_compat/compat-spwd.c: Likewise.
62605         * po/Makefile: Likewise.
62606         * posix/fnmatch.c: Likewise.
62607         * posix/regex.h: Likewise.
62608         * resolv/Makefile: Likewise.
62609         * resolv/nss_dns/dns-network.c: Likewise.
62610         * resolv/res_hconf.c: Likewise.
62611         * scripts/gen-sorted.awk: Likewise.
62612         * soft-fp/soft-fp.h: Likewise.
62613         * stdio-common/printf.h: Likewise.
62614         * stdlib/monetary.h: Likewise.
62615         * stdlib/random.c: Likewise.
62616         * stdlib/random_r.c: Likewise.
62617         * sysdeps/generic/Makefile: Likewise.
62618         * sysdeps/gnu/Makefile: Likewise.
62619         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62620         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62621         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62625         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62626         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62627         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62628         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62629         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62630         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62631         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62632         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62633         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62634         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62635         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62636         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62639         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62640         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62641         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62642         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62643         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62644         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62645         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62646         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62647         * sysdeps/mach/hurd/errnos.awk: Likewise.
62648         * sysdeps/mach/hurd/fork.c: Likewise.
62649         * sysdeps/mach/hurd/getcwd.c: Likewise.
62650         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62651         * sysdeps/mach/hurd/mmap.c: Likewise.
62652         * sysdeps/mach/hurd/utimes.c: Likewise.
62653         * sysdeps/mach/hurd/xmknod.c: Likewise.
62654         * sysdeps/posix/profil.c: Likewise.
62655         * sysdeps/posix/readdir_r.c: Likewise.
62656         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62657         * sysdeps/powerpc/bits/setjmp.h: Likewise.
62658         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62659         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62661         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62662         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62663         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62665         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62666         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62667         * sysdeps/pthread/lio_listio.c: Likewise.
62668         * sysdeps/sparc/dl-procinfo.h: Likewise.
62669         * sysdeps/unix/i386/sysdep.S: Likewise.
62670         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62671         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62672         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62673         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62675         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62676         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62677         * sysdeps/unix/sysv/linux/speed.c: Likewise.
62678         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62679         * sysdeps/wordsize-32/divdi3.c: Likewise.
62680         * time/sys/time.h: Likewise.
62681         * wcsmbs/Makefile: Likewise.
62683 2013-01-01  David S. Miller  <davem@davemloft.net>
62685         * po/fr.po: Update from translation team.
62687         * catgets/gencat.c: Update copyright year.
62688         * csu/version.c: Likewise.
62689         * debug/catchsegv.sh: Likewise.
62690         * debug/pcprofiledump.c: Likewise.
62691         * debug/xtrace.sh: Likewise.
62692         * elf/ldconfig.c: Likewise.
62693         * elf/ldd.bash.in: Likewise.
62694         * elf/pldd.c: Likewise.
62695         * elf/sotruss.ksh: Likewise.
62696         * elf/sprof.c: Likewise.
62697         * iconv/iconv_prog.c: Likewise.
62698         * iconv/iconvconfig.c: Likewise.
62699         * locale/programs/locale.c: Likewise.
62700         * locale/programs/localedef.c: Likewise.
62701         * login/programs/pt_chown.c: Likewise.
62702         * malloc/memusage.sh: Likewise.
62703         * malloc/memusagestat.c: Likewise.
62704         * malloc/mtrace.pl: Likewise.
62705         * nscd/nscd.c: Likewise.
62706         * nss/getent.c: Likewise.
62707         * nss/makedb.c: Likewise.
62708         * posix/getconf.c: Likewise.
62710 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62712         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62713         numbers.
62715 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
62717         * math/bits/mathcalls.h (modf): Use __nonnull.
62719 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62721         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62722         (split): Use macro CN instead of the bare value.
62723         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62724         could be used.
62725         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62726         instead of the bare value.
62727         (power1): Likewise.
62729 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62731         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62732         __ATAN_TWOM.
62733         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62735         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62736         their values.
62737         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62738         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62739         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62740         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62742 2012-12-28  Andreas Jaeger  <aj@suse.de>
62744         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
62745         values are from Linux 3.7.
62747         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62748         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
62750 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62752         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62753         TRUE case.
62755         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62756         (norm): Likewise.
62757         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62758         variables with preprocessor constants.
62759         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62760         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62761         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62763 2012-12-27  Bruno Haible  <bruno@clisp.org>
62765         [BZ #14317]
62766         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62767         only if needed.
62769 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62772         and use variable directly.
62773         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62775         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62776         MPONE.
62777         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62778         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62779         variable MPONE.
62780         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62781         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62782         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62783         include directive.  Remove local variable MPONE.
62784         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62785         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62786         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62788 2012-12-25  David S. Miller  <davem@davemloft.net>
62790         * version.h (RELEASE): Set to "development".
62791         (VERSION): Set to "2.17.90".
62792         * NEWS: Add 2.18 section.
62794 2012-12-21  David S. Miller  <davem@davemloft.net>
62796         * po/hr.po: Update from translation team.
62798 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62800         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62802 2012-12-19  Steve Ellcey  <sellcey@mips.com>
62804         * NEWS:  Mention new memcpy for MIPS.
62806 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62808         * manual/contrib.texi (Contributors): Spelling correction.
62810 2012-12-15  David S. Miller  <davem@davemloft.net>
62812         * po/ru.po: Update from translation team.
62814 2012-12-13  David S. Miller  <davem@davemloft.net>
62816         * NEWS: Mention IFUNC testsuite enhancements.
62818         * po/pl.po: Update from translation team.
62819         * po/bg.po: Likewise.
62821         * manual/contrib.texi (Contributors): Update entries for Hongjiu
62822         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
62824 2012-12-11  David S. Miller  <davem@davemloft.net>
62826         * po/sv.po: Update from translation team.
62828         * po/vi.po: Update from translation team.
62830         * po/cs.po: Update from translation team.
62832         * po/de.po: Update from translation team.
62833         * po/eo.po: Likewise.
62834         * po/nl.po: Likewise.
62836 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62838         [BZ #14246]
62839         * manual/argp.texi (Argp Helper Functions): Move node to follow
62840         Argp Parsing State.
62842         [BZ #14872]
62843         * manual/conf.texi (Limits on File System Capacity): Mention if
62844         terminating null is included in the max size.
62846 2012-12-10  Andreas Jaeger  <aj@suse.de>
62848         * po/cs.po: Update from translation team.
62850 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62852         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62853         void pointer and cast to uintptr_t.
62854         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62855         path.
62856         * sysdeps/s390/s390-64/memcpy.S: Likewise.
62857         * sysdeps/s390/s390-64/memset.S: Likewise.
62859 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
62861         [BZ #14833]
62862         * menual/message.texi (Message Translation): Fix typos.
62863         (Helper programs for gettext): Likewise.
62865 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
62867         [BZ #14898]
62868         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62869         Change to -1.
62871 2012-12-07  David S. Miller  <davem@davemloft.net>
62873         * po/libc.pot: Update.
62875 2012-12-07  Richard Henderson  <rth@redhat.com>
62877         [BZ #10114]
62878         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62879         normal/normal case to before the switch.
62880         (_FP_DIV): Likewise.
62882 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
62883             Mike Frysinger  <vapier@gentoo.org>
62885         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62886         check for __NR_fadvise64_64.
62888 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
62890         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62891         0, not just to plain "0" as a statement.
62892         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62893         with cw.
62895 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
62897         * NEWS: Use sourceware.org in Bugzilla URL.
62899 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62902         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62904         * stdio-common/tst-put-error.c (do_test): Add newline to the
62905         padded test to ensure flush.
62907 2012-12-05  Jeff Law  <law@redhat.com>
62909         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62911 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62913         * README: Don't refer to ports add-on as distributed separately.
62914         Mention AArch64 in list of systems supported in the ports add-on.
62916         * LICENSES: Add more non-FSF copyright and license notices.
62918         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62919         ((unused)).
62921         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62923         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62924         10000 as width of padded output.
62926 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62928         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62930         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62931         variable LX with __attribute__ ((unused)).
62932         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62933         Likewise.
62934         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62936         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62937         with __attribute__ ((unused)).
62939 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62941         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62943 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62945         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62946         (CFLAGS-nldbl-acos.c): New variable.
62947         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62948         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62949         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62950         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62951         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62952         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62953         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62954         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62955         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62956         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62957         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62958         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62959         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62960         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62961         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62962         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62963         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62964         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62965         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62966         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62967         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62968         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62969         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62970         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62971         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62972         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62973         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62974         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62975         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62976         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62977         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62978         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62979         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62980         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62981         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62982         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62983         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62984         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62985         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62986         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62987         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62988         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62989         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62990         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62991         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62992         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62993         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62994         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62995         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62996         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62997         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62998         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62999         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
63000         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
63001         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
63002         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
63003         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
63004         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
63005         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
63006         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
63007         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
63008         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
63009         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
63010         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
63011         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
63012         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
63013         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
63014         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
63015         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
63016         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
63017         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
63018         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
63019         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
63020         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
63021         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
63022         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
63023         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
63024         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
63025         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
63026         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
63027         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
63028         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
63029         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
63030         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
63031         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
63032         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
63033         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
63034         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
63035         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
63036         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
63037         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
63038         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
63039         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
63040         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
63041         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
63042         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
63043         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
63045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63046         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63048         [BZ #14914]
63049         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
63050         whole low double instead of just low 47 bits when splitting values
63051         into two parts.
63053 2012-12-03  Allan McRae  <allan@archlinux.org>
63055         * manual/stdio.texi (Predefined Printf Handlers): Remove
63056         @hsep and @vsep usage.
63058 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
63060         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
63061         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
63063 2012-12-03  Jeff Law  <law@redhat.com>
63065         * time/sys/time.h (settimeofday): Do not mark TV argument
63066         as __nonnull.
63068 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
63070         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
63071         when currently writing and seek to current position when not.
63072         * libio/Makefile (tests): Remove bug-fclose1.
63073         * libio/bug-fclose1.c: Delete.
63075 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
63077         * manual/arith.texi (feenableexcept): Fix typo.
63078         (fedisableexcept): Likewise.
63080 2012-11-30  Roland McGrath  <roland@hack.frob.com>
63082         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
63083         second, differently-typed declaration, rather than a cast.
63085 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63087         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
63088         * include/rpc/svc.h: ... here.
63090 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
63092         [BZ #13013]
63093         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
63094         depending n and resplen2 to catch cases where answer
63095         equals answerp2.
63097 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
63099         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
63100         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
63102 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
63104         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63106 2012-11-29  Roland McGrath  <roland@hack.frob.com>
63108         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
63110 2012-11-28  Jeff Law  <law@redhat.com>
63112         [BZ #13761]
63113         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63114         dataset_temporary.  Track alloca usage into alloca_used.
63115         If dataset is large allocate and release it via malloc/free.
63117 2012-06-04  Florian Weimer  <fweimer@redhat.com>
63119         [BZ #14197]
63120         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63122 2012-11-28  David S. Miller  <davem@davemloft.net>
63124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63126 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63128         [BZ #14803]
63129         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63130         of pi/2 rounded to nearest to 64 bits.
63131         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63132         nearest to 64 bits.
63133         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63134         bits.
63136 2012-11-28  Jeff Law <law@redhat.com>
63137             Martin Osvald <mosvald@redhat.com>
63139         [BZ #14889]
63140         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63141         * sunrpc/svc.c: Include time.h.
63142         (__svc_accept_failed): New function.
63143         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63144         any reason other than EINTR, call __svc_accept_failed.
63145         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63146         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63148 2012-11-28  Andreas Schwab  <schwab@suse.de>
63150         * scripts/abilist.awk: Also handle indirect functions in .opd
63151         section.
63153 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63155         [BZ #13881]
63156         * sysdeps/x86/fpu/powl_helper.c: New file.
63157         * sysdeps/x86/fpu/Makefile: Likewise.
63158         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63159         (p3): New object.
63160         (__ieee754_powl): Use __powl_helper for finite arguments except
63161         integer exponents below 8.
63162         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63163         (p3): New object.
63164         (__ieee754_powl): Use __powl_helper for finite arguments except
63165         integer exponents below 8.
63166         * math/libm-test.inc (pow_test): Add more tests and enable some
63167         previously disabled tests.
63168         * sysdeps/i386/fpu/libm-test-ulps: Update.
63169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63171 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63172             Carlos O'Donell  <carlos_odonell@mentor.com>
63174         * nss/makedb.c (is_prime): Assert that input is odd and greater
63175         than 4.  Note that fact in a comment too.
63176         (next_prime): Add 4 to input.
63178 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63180         [BZ #11741]
63181         * libio/Makefile (tests): Add test case tst-fwrite-error.
63182         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63183         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63184         * libio/tst-fwrite-error.c: New test case.
63186 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
63188         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63189         before casting to void *.
63190         * include/libc-internal.h (__pointer_type): New macro.
63191         (__integer_if_pointer_type_sub): Likewise.
63192         (__integer_if_pointer_type): Likewise.
63193         (cast_to_integer): Likewise.
63194         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63195         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63196         before casting to atomic64_t.
63197         (atomic_exchange_acq): Likewise.
63198         (__arch_exchange_and_add_body): Likewise.
63199         (__arch_add_body): Likewise.
63200         (atomic_add_negative): Likewise.
63201         (atomic_add_zero): Likewise.
63203 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
63205         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63206         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63207         (add_fdes): Likewise.
63208         (linear_search_fdes): Likewise.
63209         (binary_search_unencoded_fdes): Likewise.
63211 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
63213         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63215 2012-11-24  Adam Conrad  <adconrad@0c3.net>
63217         * configure.in: Autodetect C++ header directories.
63218         * configure: Regenerated.
63220 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
63222         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63224 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
63226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63228 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
63230         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63231         LDBL_MANT_DIG == 106]: Disable some tests.
63232         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63233         Likewise.
63234         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63235         Likewise.
63237         [BZ #14871]
63238         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63239         input for small inputs.  Return +/- pi/2 for large inputs.
63240         * math/libm-test.inc (atan_test): Add more tests.
63242         * sysdeps/generic/unwind-dw2-fde-glibc.c
63243         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63244         __attribute__ ((unused)).
63246         [BZ #14645]
63247         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63248         x * y if x and y are nonzero and z is zero.
63250         [BZ #14811]
63251         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63252         nonzero exponents with absolute value below 0x1p-117 to +/-
63253         0x1p-117.
63255         [BZ #14869]
63256         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63257         up arguments below 2**-450, not just those below 2**-500.
63258         * math/libm-test.inc (hypot_test): Add another test.
63260         [BZ #14868]
63261         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63262         Return a+b for ratio over 2**120, not 2**60.
63263         * math/libm-test.inc (hypot_test): Add another test.
63265         * math/libm-test.inc (clog_test): Use
63266         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63267         (clog10_test): Likewise.
63269         [BZ #6778]
63270         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63272 2012-11-22  Andreas Schwab  <schwab@suse.de>
63274         * sysdeps/i386/fpu/libm-test-ulps: Update.
63276 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
63278         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63279         printf output with newline.
63281 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
63283         [BZ #14865]
63284         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63285         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63286         -z nodlopen, -z initfirst and -z execstack support.
63287         * configure: Regenerated.
63289         * elf/elf.h (DF_1_NODIRECT): New macro.
63290         (DF_1_IGNMULDEF): Likewise.
63291         (DF_1_NOKSYMS): Likewise.
63292         (DF_1_NOHDR): Likewise.
63293         (DF_1_EDITED): Likewise.
63294         (DF_1_NORELOC): Likewise.
63295         (DF_1_SYMINTPOSE): Likewise.
63296         (DF_1_GLOBAUDIT): Likewise.
63297         (DF_1_SINGLETON): Likewise.
63298         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63299         DT_1_SUPPORTED_MASK bits.
63300         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63302 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
63304         * sysdeps/unix/make-syscalls.sh: Document prefixes.
63306 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
63308         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63309         macro.
63311         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63312         (sendmmsg): Move declarations...
63313         * socket/sys/socket.h: ... here.
63314         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63315         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63316         include it from...
63317         * socket/recvmmsg.c: ... this new file.
63318         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63319         (sendmmsg): Rename to __sendmmsg, create weak alias and make
63320         definition of __sendmmsg hidden.
63321         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63322         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63323         Move ENOSYS stub into and include it from...
63324         * socket/sendmmsg.c: ... this new file.
63325         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63326         (sysdep_routines): Move recvmmsg and sendmmsg...
63327         * socket/Makefile (routines): ... here.
63328         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63329         (GLIBC_PRIVATE): Add __sendmmsg.
63330         * include/sys/socket.h (__sendmmsg): Add declarations.
63331         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63332         sendmmsg.
63334 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
63336         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63337         variable I1 with __attribute__ ((unused)).
63338         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63340 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63342         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63343         DUMMY variables with __attribute__ ((unused)).
63345         * bits/byteswap.h: Include <bits/types.h>.
63346         (__bswap_64): Use __uint64_t instead of unsigned long long int.
63348 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63350         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63351         string_t.  Do not manually set errno.
63352         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63353         length with __strnlen.  Make sure to both set errno and return it on
63354         failure.
63356 2012-11-19  David S. Miller  <davem@davemloft.net>
63358         With help from Joseph Myers.
63359         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63360         very large arguments properly.
63361         * math/libm-test.inc (atan_test): New tests.
63362         (atan2_test): New tests.
63363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63366 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63368         [BZ #14856]
63369         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63370         Define to 3.
63372         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63373         [POSIX] (EADDRNOTAVAIL): Likewise.
63374         [POSIX] (EAFNOSUPPORT): Likewise.
63375         [POSIX] (EALREADY): Likewise.
63376         [POSIX] (ECONNABORTED): Likewise.
63377         [POSIX] (ECONNREFUSED): Likewise.
63378         [POSIX] (ECONNRESET): Likewise.
63379         [POSIX] (EDESTADDRREQ): Likewise.
63380         [POSIX] (EDQUOT): Likewise.
63381         [POSIX] (EHOSTUNREACH): Likewise.
63382         [POSIX] (EIDRM): Likewise.
63383         [POSIX] (EISCONN): Likewise.
63384         [POSIX] (ELOOP): Likewise.
63385         [POSIX] (EMULTIHOP): Likewise.
63386         [POSIX] (ENETDOWN): Likewise.
63387         [POSIX] (ENETUNREACH): Likewise.
63388         [POSIX] (ENOBUFS): Likewise.
63389         [POSIX] (ENODATA): Likewise.
63390         [POSIX] (ENOLINK): Likewise.
63391         [POSIX] (ENOMSG): Likewise.
63392         [POSIX] (ENOPROTOOPT): Likewise.
63393         [POSIX] (ENOSR): Likewise.
63394         [POSIX] (ENOSTR): Likewise.
63395         [POSIX] (ENOTCONN): Likewise.
63396         [POSIX] (ENOTSOCK): Likewise.
63397         [POSIX] (EOPNOTSUPP): Likewise.
63398         [POSIX] (EOVERFLOW): Likewise.
63399         [POSIX] (EPROTO): Likewise.
63400         [POSIX] (EPROTONOSUPPORT): Likewise.
63401         [POSIX] (EPROTOTYPE): Likewise.
63402         [POSIX] (ESTALE): Likewise.
63403         [POSIX] (ETIME): Likewise.
63404         [POSIX] (ETXTBSY): Likewise.
63405         [POSIX] (EWOULDBLOCK): Likewise.
63406         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63407         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63408         [POSIX] (SEEK_CUR): Likewise.
63409         [POSIX] (SEEK_END): Likewise.
63410         [POSIX || UNIX98] (mode_t): Do not require.
63411         [POSIX] (off_t): Likewise.
63412         [POSIX] (pid_t): Likewise.
63413         [POSIX] (sys/stat.h): Do not allow header.
63414         [POSIX] (unistd.h): Likewise.
63415         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63416         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63417         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63418         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63419         require.
63420         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63421         sigevent): Specify elements.
63422         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63423         entry.
63424         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63425         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63427         * conform/data/cpio.h-data [POSIX]: Disable whole file.
63428         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63429         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63430         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63431         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63432         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63433         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63434         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63435         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63436         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63437         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63438         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63439         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63440         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63441         Likewise.
63442         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63443         Likewise.
63444         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63445         Likewise.
63446         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63447         Likewise.
63448         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63449         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63450         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63451         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63452         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63453         Specify lower bound on value.
63454         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63455         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63456         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63457         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63458         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63459         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63460         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63461         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63462         value.
63463         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63464         as optional.
63465         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63466         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63467         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63468         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63469         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63470         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63471         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63472         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63473         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63474         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63475         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63476         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63477         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63478         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63479         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63480         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63481         entry.
63482         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63483         optional.
63484         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63485         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63486         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63487         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63488         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63489         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63490         Likewise.
63491         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63492         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63493         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63494         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63495         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
63496         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63497         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63498         as optional.
63499         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63500         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63501         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63502         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63503         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63504         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63505         specify as optional.
63506         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63507         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63508         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63509         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63510         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63511         [XPG3] (NL_LANGMAX): Likewise.
63512         [POSIX || XPG3] (NL_MSGMAX): Likewise.
63513         [POSIX || XPG3] (NL_NMAX): Likewise.
63514         [POSIX || XPG3] (NL_SETMAX): Likewise.
63515         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63516         [XPG3] (NZERO): Likewise.
63517         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63518         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63519         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63520         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63521         (REG_ERANGE): Expect.
63522         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63523         optional-constant.
63524         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63525         Use (void) in prototype.
63526         [POSIX] (*_t): Allow.
63527         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63528         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63529         (WRDE_BADVAL): Expect.
63531         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63532         expect.
63533         [XPG3 || XPG4] (O_RSYNC): Likewise.
63534         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63535         Likewise.
63536         [XPG3 || XPG4] (pthread_sigmask): Likewise.
63537         [XPG3 || XPG4] (sigqueue): Likewise.
63538         [XPG3 || XPG4] (sigtimedwait): Likewise.
63539         [XPG3 || XPG4] (sigwaitinfo): Likewise.
63540         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63541         [XPG3 || XPG4] (vsnprintf): Likewise.
63542         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63543         Likewise.
63544         [XPG3 || XPG4] (blksize_t): Likewise.
63545         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63546         Likewise.
63547         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63548         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63549         [XPG3 || XPG4] (struct itimerspec): Likewise.
63550         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63551         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63552         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63553         [XPG3 || XPG4] (clockid_t): Likewise.
63554         [XPG3 || XPG4] (timer_t): Likewise.
63555         [XPG3 || XPG4] (clock_getres): Likewise.
63556         [XPG3 || XPG4] (clock_gettime): Likewise.
63557         [XPG3 || XPG4] (clock_settime): Likewise.
63558         [XPG3 || XPG4] (nanosleep): Likewise.
63559         [XPG3 || XPG4] (timer_create): Likewise.
63560         [XPG3 || XPG4] (timer_delete): Likewise.
63561         [XPG3 || XPG4] (timer_gettime): Likewise.
63562         [XPG3 || XPG4] (timer_getoverrun): Likewise.
63563         [XPG3 || XPG4] (timer_settime): Likewise.
63564         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63565         [XPG3 || XPG4] (getlogin_r): Likewise.
63566         [XPG3 || XPG4] (pread): Likewise.
63567         [XPG3 || XPG4] (pthread_atfork): Likewise.
63568         [XPG3 || XPG4] (pwrite): Likewise.
63570         [BZ #14835]
63571         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63572         <bits/siginfo.h>.
63574 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63576         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63577         finalizing MALLSTREAM.
63579         * sysdeps/mach/hurd/syncfs.c: New file.
63581 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63583         [BZ #14719]
63584         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63585         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63586         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63587         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63588         (_nss_dns_gethostbyname4_r): Likewise.
63589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63590         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63592 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
63594         [BZ #13763]
63595         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63597 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
63599         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63600         * elf/cache.c (print_entry): Print ",AArch64" for
63601         FLAG_AARCH64_LIB64
63603         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63604         * elf/cache.c (print_entry): Print ",hard-float" for
63605         FLAG_ARM_LIBHF.
63607 2012-11-18  David S. Miller  <davem@davemloft.net>
63609         With help from Joseph Myers.
63610         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63611         cutoff to 2**-13.
63612         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63613         cutoff to 2**-25.
63614         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63615         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63616         small.
63617         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63618         * math/libm-test.inc (y0_test): New tests.
63619         (y1_test): New tests.
63620         * sysdeps/i386/fpu/libm-test-ulps: Update.
63621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63624 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
63626         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63627         64-bit targets.
63628         * configure: Regenerated.
63630 2012-11-17  David S. Miller  <davem@davemloft.net>
63632         [BZ #14811]
63633         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63634         nonzero exponents with absolute value below 0x1p-128 to +/-
63635         0x1p-128.
63637 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
63639         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63641         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63643         * posix/getconf-speclist.c: New file.
63644         * posix/posix-envs.def: Likewise.
63645         * posix/confstr.c (START_ENV_GROUP): New macro.
63646         (END_ENV_GROUP): Likewise.
63647         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63648         (KNOWN_PRESENT_ENV_STRING): Likewise.
63649         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63650         (UNKNOWN_ENVIRONMENT): Likewise.
63651         (confstr): Include posix-envs.def instead of handling
63652         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63653         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63654         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63655         (END_ENV_GROUP): Likewise.
63656         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63657         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63658         (UNKNOWN_ENVIRONMENT): Likewise.
63659         (__sysconf): Include posix-envs.def instead of handling associated
63660         cases directly here.
63661         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63662         preprocessing getconf-speclist.c rather than running getconf or
63663         generating empty file.
63665 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
63667         * scripts/check-local-headers.sh: Ignore 'mach' headers.
63669 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
63671         [BZ #14672]
63672         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63674 2012-11-16  David S. Miller  <davem@davemloft.net>
63676         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63677         smaller than LDBL_EPSILON/2.0L, just return xm1.
63679 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
63681         * elf/tst-array1.c (init): Set constructor priority to 1000.
63682         (fini): Set destructor priority to 1000.
63683         * elf/tst-array2dep.c: Likewise.
63685 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63687         [BZ #11741]
63688         * libio/fileops.c (_IO_new_file_write): Correctly return error.
63689         (_IO_new_file_xsputn): Also return EOF if none of the input
63690         data was written when overflow failed.
63691         * libio/iopadn.c (_IO_padn): Likewise.
63692         * libio/iowpadn.c (_IO_wpadn): Likewise.
63693         * stdio-common/tst-put-error.c: Add copyright notice.
63694         (do_test): Add case for printing padded string.
63695         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63696         _IO_padn returned error.
63697         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63698         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63699         return EOF.
63701 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63703         * libio/libioP.h: Add comment note that the references to C++
63704         bits are now obsolete.
63706 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63708         * math/libm-test.inc (check_complex): Use asprintf.
63710 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
63712         * debug/pcprofiledump.c (print_version): Update copyright year.
63713         * malloc/memusagestat.c (print_version): Likewise.
63715 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
63717         [BZ #14831]
63718         * elf/Makefile (tests): Add tst-audit8.
63719         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63720         ($(objpfx)tst-audit8.out): New target.
63721         (tst-audit8-ENV): New variable.
63722         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63723         audit if l_reloc_result is NULL.
63724         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63725         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63726         * elf/tst-audit8.c: New file.
63728 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63730         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63731         * misc/Makefile (CFLAGS-select.c): Define.
63732         * posix/Makefile (CFLAGS-pause.c): Define.
63734 2012-11-13  David S. Miller  <davem@davemloft.net>
63736         * crypt/Makefile: Move test targets after toplevel Rules
63737         inclusion.  Grab any necessary sysdep routines when linking.
63738         * crypt/md5.c (md5_process_block): Remove define, we will always
63739         name it __md5_process_block.
63740         (md5_finish_ctx): Update md5_process_block call.
63741         (md5_stream): Likewise.
63742         (md5_process_bytes): Likewise.
63743         (md5_process_block): Rename to __md5_process_block and move to ...
63744         * crypt/md5-block.c: ... here.
63745         * crypt/sha256.c (sha256_process_block): Move to ...
63746         * crypt/sha256-block.c: ... here.
63747         * crypt/sha512.c (sha512_process_block): Move to ...
63748         * crypt/sha512-block.c: ... here.
63749         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63750         path.
63751         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63752         * sysdeps/sparc/sparc64/multiarch/Makefile
63753         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63754         crypt subdir.
63755         (localedef-aux): Add md5 crypto assembler when in locale subdir.
63756         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63757         multiarch changes.
63758         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63759         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63760         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63761         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63762         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63763         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63764         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63765         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63766         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63767         file.
63768         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63769         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63770         file.
63771         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63773 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
63775         * timezone/tzselect.ksh: Update from tzcode git revision
63776         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63777         * timezone/zdump.c: Likewise.
63778         * timezone/zic.c: Likewise.
63779         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63780         in TZVERSION setting, not $(PKGVERSION).
63781         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
63782         REPORT_BUGS_TO settings.
63784         [BZ #14838]
63785         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63786         macro.
63788 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63790         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63791         detection to immediately after _FP_ROUND().
63792         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63793         bits are 0.
63795 2012-11-11  David S. Miller  <davem@davemloft.net>
63797         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63798         inttypes.h
63799         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63800         __close rather than their public counterparts.
63802 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
63804         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63805         file.
63806         [UNIX98] (sem_timedwait): Do not expect.
63807         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63808         [XPG4 || UNIX98] (sockatmark): Do not expect.
63809         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63810         (clock_getcpuclockid): Do not expect.
63811         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63812         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63813         Do not expect.
63814         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63815         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63816         [UNIX98] (vwscanf): Likewise.
63817         [UNIX98] (vswscanf): Likewise.
63819 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
63821         * timezone/version.h: Remove file.
63822         * timezone/README: Do not refer to version.h.
63823         * timezone/Makefile ($(objpfx)zic.o): New dependency on
63824         $(objpfx)version.h.
63825         ($(objpfx)zdump.o): Likewise.
63826         ($(objpfx)version.h): New target.
63828         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63829         2012i.
63830         * timezone/README: Don't mention modification to tzselect.ksh.
63831         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63832         work on unmodified tzselect.ksh.  Substitute version numbers in
63833         tzselect.ksh.
63835         * Makefile (format-me): Remove.
63836         (INSTALL): Adjust indentation.  Use commands directly instead of
63837         using $(format-me).
63839         * aclocal.m4 (ACX_PKGVERSION): New macro.
63840         (ACX_BUGURL): Likewise.
63841         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63842         (PKGVERSION): New AC_DEFINE_UNQUOTED.
63843         (REPORT_BUGS_TO): Likewise.
63844         * configure: Regenerated.
63845         * config.h.in (PKGVERSION): New macro.
63846         (REPORT_BUGS_TO): Likewise.
63847         * config.make.in (PKGVERSION): New variable.
63848         (PKGVERSION_TEXI): Likewise.
63849         (REPORT_BUGS_TO): Likewise.
63850         (REPORT_BUGS_TEXI): Likewise.
63851         * Makefile (format-me): Use -I$(common-objpfx)manual.
63852         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63853         ($(common-objpfx)manual/%): New target.
63854         (manual/%): Remove target.
63855         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63856         (print_version): Use PKGVERSION.
63857         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63858         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63859         and REPORT_BUGS_TO.
63860         ($(objpfx)xtrace): Likewise.
63861         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63862         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63863         (print_version): Use PKGVERSION.
63864         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63865         (do_version): Use PKGVERSION.
63866         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63867         REPORT_BUGS_TO.
63868         (common-ldd-rewrite): Likewise.
63869         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63870         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63871         (print_version): Use PKGVERSION.
63872         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63873         * elf/pldd.c (argp_program_bug_address): Remove variable.
63874         (more_help): New function.
63875         (argp): Use more_help.
63876         (print_version): Use PKGVERSION.
63877         * elf/sln.c (main): Use PKGVERSION.
63878         (usage): Use REPORT_BUGS_TO.
63879         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63880         (top level): Use PKGVERSION.
63881         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63882         (print_version): Use PKGVERSION.
63883         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63884         (print_version): Use PKGVERSION.
63885         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63886         (print_version): Use PKGVERSION.
63887         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63888         (print_version): Use PKGVERSION.
63889         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63890         (print_version): Use PKGVERSION.
63891         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63892         (print_version): Use PKGVERSION.
63893         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63894         and BUGURL.
63895         ($(objpfx)memusage): Likewise.
63896         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63897         (do_version): Use PKGVERSION.
63898         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63899         (print_version): Use PKGVERSION.
63900         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63901         ($PKGVERSION): New variable.
63902         ($REPORT_BUGS_TO): Likewise.
63903         (usage): Use $REPORT_BUGS_TO.
63904         (top level): Use $PKGVERSION.
63905         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63906         ($(objpfx)pkgvers.texi): New rule.
63907         ($(objpfx)stamp-pkgvers): Likewise.
63908         * manual/install.texi: Include pkgvers.texi.
63909         (--with-pkgversion): Document new configure option.
63910         (--with-bugurl): Likewise.
63911         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63912         than necessarily for this particular distribution.  Use
63913         REPORT_BUGS_TO for where to report bugs.
63914         * INSTALL: Regenerated.
63915         * manual/libc.texinfo: Include pkgvers.texi.
63916         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63917         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63918         (print_version): Use PKGVERSION.
63919         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63920         (print_version): Use PKGVERSION.
63921         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63922         (print_version): Use PKGVERSION.
63923         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63924         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63925         macro.
63926         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63927         (print_version): Use PKGVERSION.
63928         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63929         (print_version): Use PKGVERSION.
63930         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63931         and PKGVERSION.
63933         * timezone/checktab.awk: Update from tzcode 2012i.
63934         * timezone/ialloc.c: Likewise.
63935         * timezone/private.h: Likewise.
63936         * timezone/scheck.c: Likewise.
63937         * timezone/tzfile.h: Likewise.
63938         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63939         (TZVERSION): Hardcode tzcode version number.
63940         * timezone/zdump.c: Update from tzcode 2012i.
63941         * timezone/zic.c: Likewise.
63942         * timezone/version.h: New file.
63943         * timezone/README: Describe version.h.  Update upstream location.
63945         [BZ #14824]
63946         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63947         (mktemp): Enable declaration.
63948         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63949         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63950         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63952         Likewise.
63953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63954         Likewise.
63955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63956         Likewise.
63957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63958         Likewise.
63959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63960         Likewise.
63961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63962         Likewise.
63964         [BZ #14821]
63965         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63966         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63967         for copies of such integer values.
63968         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63969         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63971 2012-11-09  Andreas Jaeger  <aj@suse.de>
63973         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63974         definitions and declarations that are provided by
63975         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63977 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63979         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63980         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63981         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63982         definition.
63984 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63986         * elf/elf.h: Update comment before AArch64 relocations.
63988 2012-11-07  David S. Miller  <davem@davemloft.net>
63990         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63991         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63992         (__start_context): Declare.
63993         (__makecontext_ret): Delete.
63994         (__makecontext): Hook up __start_context instead of
63995         __makecontext_ret.
63996         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63997         (sysdep_routines): Add __start_context when in stdlib.
63999 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64001         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
64002         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
64003         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
64004         hardcoded "nm".
64005         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
64006         (READELF): New variable.  Use it instead of hardcoded "readelf".
64008 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
64010         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
64011         * sysdeps/x86/Makefile: Here.
64012         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
64013         * sysdeps/x86/tst-xmmymm.sh: This.
64015 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64017         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
64018         expectations.
64019         [UNIX98] (pthread_barrier_t): Do not expect.
64020         [UNIX98] (pthread_barrierattr_t): Likewise.
64021         [UNIX98] (pthread_spinlock_t): Likewise.
64022         [UNIX98] (pthread_barrier_destroy): Likewise.
64023         [UNIX98] (pthread_barrier_init): Likewise.
64024         [UNIX98] (pthread_barrier_wait): Likewise.
64025         [UNIX98] (pthread_barrierattr_destroy): Likewise.
64026         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
64027         [UNIX98] (pthread_barrierattr_init): Likewise.
64028         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
64029         [UNIX98] (pthread_getcpuclockid): Likewise.
64030         [UNIX98] (pthread_mutex_timedlock): Likewise.
64031         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
64032         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
64033         [UNIX98] (pthread_sigmask): Likewise.
64034         [UNIX98] (pthread_spin_destroy): Likewise.
64035         [UNIX98] (pthread_spin_init): Likewise.
64036         [UNIX98] (pthread_spin_lock): Likewise.
64037         [UNIX98] (pthread_spin_trylock): Likewise.
64038         [UNIX98] (pthread_spin_unlock): Likewise.
64039         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
64040         Do not expect.
64041         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
64042         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
64043         [XPG3 || XPG4] (pthread_cond_t): Likewise.
64044         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
64045         [XPG3 || XPG4] (pthread_key_t): Likewise.
64046         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
64047         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
64048         [XPG3 || XPG4] (pthread_once_t): Likewise.
64049         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
64050         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
64051         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
64052         [XPG3 || XPG4] (pthread_t): Likewise.
64054         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
64055         not expect.
64056         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
64058         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
64059         Change function return type to int.
64061         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
64062         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
64063         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
64064         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
64065         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
64066         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
64067         [!POSIX] (posix_madvise): Likewise.
64068         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
64069         && !UNIX98].
64070         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
64071         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
64072         (mode_t): Likewise.
64073         (posix_mem_offset): Likewise.
64074         (posix_typed_mem_get_info): Likewise.
64075         (posix_typed_mem_open): Likewise.
64077         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
64078         Change condition to [XOPEN2K8].
64080         * conform/conformtest.pl: Preprocess allow-header data with -x c
64081         instead of from stdin.
64082         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
64083         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
64084         [C99-based standards] (cerfc): Likewise.
64085         [C99-based standards] (cexp2): Likewise.
64086         [C99-based standards] (cexpm1): Likewise.
64087         [C99-based standards] (clog10): Likewise.
64088         [C99-based standards] (clog1p): Likewise.
64089         [C99-based standards] (clog2): Likewise.
64090         [C99-based standards] (clgamma): Likewise.
64091         [C99-based standards] (ctgamma): Likewise.
64092         [C99-based standards] (cerff): Likewise.
64093         [C99-based standards] (cerfcf): Likewise.
64094         [C99-based standards] (cexp2f): Likewise.
64095         [C99-based standards] (cexpm1f): Likewise.
64096         [C99-based standards] (clog10f): Likewise.
64097         [C99-based standards] (clog1pf): Likewise.
64098         [C99-based standards] (clog2f): Likewise.
64099         [C99-based standards] (clgammaf): Likewise.
64100         [C99-based standards] (ctgammaf): Likewise.
64101         [C99-based standards] (cerfl): Likewise.
64102         [C99-based standards] (cerfcl): Likewise.
64103         [C99-based standards] (cexp2l): Likewise.
64104         [C99-based standards] (cexpm1l): Likewise.
64105         [C99-based standards] (clog10l): Likewise.
64106         [C99-based standards] (clog1pl): Likewise.
64107         [C99-based standards] (clog2l): Likewise.
64108         [C99-based standards] (clgammal): Likewise.
64109         [C99-based standards] (ctgammal): Likewise.
64110         * conform/data/inttypes.h-data [C99-based standards]: Include
64111         stdint.h-data.  Remove all expectations for stdint.h contents.
64112         [C99-based standards] (PRI*): Do not allow.
64113         [C99-based standards] (SCN*): Likewise.
64114         [C99-based standards] (*_t): Likewise.
64115         [C99-based-standards] (PRId8): Expect macro.
64116         [C99-based-standards] (PRIi8): Likewise.
64117         [C99-based-standards] (PRIo8): Likewise.
64118         [C99-based-standards] (PRIu8): Likewise.
64119         [C99-based-standards] (PRIx8): Likewise.
64120         [C99-based-standards] (PRIX8): Likewise.
64121         [C99-based-standards] (SCNd8): Likewise.
64122         [C99-based-standards] (SCNi8): Likewise.
64123         [C99-based-standards] (SCNo8): Likewise.
64124         [C99-based-standards] (SCNu8): Likewise.
64125         [C99-based-standards] (SCNx8): Likewise.
64126         [C99-based-standards] (PRIdLEAST8): Likewise.
64127         [C99-based-standards] (PRIiLEAST8): Likewise.
64128         [C99-based-standards] (PRIoLEAST8): Likewise.
64129         [C99-based-standards] (PRIuLEAST8): Likewise.
64130         [C99-based-standards] (PRIxLEAST8): Likewise.
64131         [C99-based-standards] (PRIXLEAST8): Likewise.
64132         [C99-based-standards] (SCNdLEAST8): Likewise.
64133         [C99-based-standards] (SCNiLEAST8): Likewise.
64134         [C99-based-standards] (SCNoLEAST8): Likewise.
64135         [C99-based-standards] (SCNuLEAST8): Likewise.
64136         [C99-based-standards] (SCNxLEAST8): Likewise.
64137         [C99-based-standards] (PRIdFAST8): Likewise.
64138         [C99-based-standards] (PRIiFAST8): Likewise.
64139         [C99-based-standards] (PRIoFAST8): Likewise.
64140         [C99-based-standards] (PRIuFAST8): Likewise.
64141         [C99-based-standards] (PRIxFAST8): Likewise.
64142         [C99-based-standards] (PRIXFAST8): Likewise.
64143         [C99-based-standards] (SCNdFAST8): Likewise.
64144         [C99-based-standards] (SCNiFAST8): Likewise.
64145         [C99-based-standards] (SCNoFAST8): Likewise.
64146         [C99-based-standards] (SCNuFAST8): Likewise.
64147         [C99-based-standards] (SCNxFAST8): Likewise.
64148         [C99-based-standards] (PRId16): Likewise.
64149         [C99-based-standards] (PRIi16): Likewise.
64150         [C99-based-standards] (PRIo16): Likewise.
64151         [C99-based-standards] (PRIu16): Likewise.
64152         [C99-based-standards] (PRIx16): Likewise.
64153         [C99-based-standards] (PRIX16): Likewise.
64154         [C99-based-standards] (SCNd16): Likewise.
64155         [C99-based-standards] (SCNi16): Likewise.
64156         [C99-based-standards] (SCNo16): Likewise.
64157         [C99-based-standards] (SCNu16): Likewise.
64158         [C99-based-standards] (SCNx16): Likewise.
64159         [C99-based-standards] (PRIdLEAST16): Likewise.
64160         [C99-based-standards] (PRIiLEAST16): Likewise.
64161         [C99-based-standards] (PRIoLEAST16): Likewise.
64162         [C99-based-standards] (PRIuLEAST16): Likewise.
64163         [C99-based-standards] (PRIxLEAST16): Likewise.
64164         [C99-based-standards] (PRIXLEAST16): Likewise.
64165         [C99-based-standards] (SCNdLEAST16): Likewise.
64166         [C99-based-standards] (SCNiLEAST16): Likewise.
64167         [C99-based-standards] (SCNoLEAST16): Likewise.
64168         [C99-based-standards] (SCNuLEAST16): Likewise.
64169         [C99-based-standards] (SCNxLEAST16): Likewise.
64170         [C99-based-standards] (PRIdFAST16): Likewise.
64171         [C99-based-standards] (PRIiFAST16): Likewise.
64172         [C99-based-standards] (PRIoFAST16): Likewise.
64173         [C99-based-standards] (PRIuFAST16): Likewise.
64174         [C99-based-standards] (PRIxFAST16): Likewise.
64175         [C99-based-standards] (PRIXFAST16): Likewise.
64176         [C99-based-standards] (SCNdFAST16): Likewise.
64177         [C99-based-standards] (SCNiFAST16): Likewise.
64178         [C99-based-standards] (SCNoFAST16): Likewise.
64179         [C99-based-standards] (SCNuFAST16): Likewise.
64180         [C99-based-standards] (SCNxFAST16): Likewise.
64181         [C99-based-standards] (PRId32): Likewise.
64182         [C99-based-standards] (PRIi32): Likewise.
64183         [C99-based-standards] (PRIo32): Likewise.
64184         [C99-based-standards] (PRIu32): Likewise.
64185         [C99-based-standards] (PRIx32): Likewise.
64186         [C99-based-standards] (PRIX32): Likewise.
64187         [C99-based-standards] (SCNd32): Likewise.
64188         [C99-based-standards] (SCNi32): Likewise.
64189         [C99-based-standards] (SCNo32): Likewise.
64190         [C99-based-standards] (SCNu32): Likewise.
64191         [C99-based-standards] (SCNx32): Likewise.
64192         [C99-based-standards] (PRIdLEAST32): Likewise.
64193         [C99-based-standards] (PRIiLEAST32): Likewise.
64194         [C99-based-standards] (PRIoLEAST32): Likewise.
64195         [C99-based-standards] (PRIuLEAST32): Likewise.
64196         [C99-based-standards] (PRIxLEAST32): Likewise.
64197         [C99-based-standards] (PRIXLEAST32): Likewise.
64198         [C99-based-standards] (SCNdLEAST32): Likewise.
64199         [C99-based-standards] (SCNiLEAST32): Likewise.
64200         [C99-based-standards] (SCNoLEAST32): Likewise.
64201         [C99-based-standards] (SCNuLEAST32): Likewise.
64202         [C99-based-standards] (SCNxLEAST32): Likewise.
64203         [C99-based-standards] (PRIdFAST32): Likewise.
64204         [C99-based-standards] (PRIiFAST32): Likewise.
64205         [C99-based-standards] (PRIoFAST32): Likewise.
64206         [C99-based-standards] (PRIuFAST32): Likewise.
64207         [C99-based-standards] (PRIxFAST32): Likewise.
64208         [C99-based-standards] (PRIXFAST32): Likewise.
64209         [C99-based-standards] (SCNdFAST32): Likewise.
64210         [C99-based-standards] (SCNiFAST32): Likewise.
64211         [C99-based-standards] (SCNoFAST32): Likewise.
64212         [C99-based-standards] (SCNuFAST32): Likewise.
64213         [C99-based-standards] (SCNxFAST32): Likewise.
64214         [C99-based-standards] (PRId64): Likewise.
64215         [C99-based-standards] (PRIi64): Likewise.
64216         [C99-based-standards] (PRIo64): Likewise.
64217         [C99-based-standards] (PRIu64): Likewise.
64218         [C99-based-standards] (PRIx64): Likewise.
64219         [C99-based-standards] (PRIX64): Likewise.
64220         [C99-based-standards] (SCNd64): Likewise.
64221         [C99-based-standards] (SCNi64): Likewise.
64222         [C99-based-standards] (SCNo64): Likewise.
64223         [C99-based-standards] (SCNu64): Likewise.
64224         [C99-based-standards] (SCNx64): Likewise.
64225         [C99-based-standards] (PRIdLEAST64): Likewise.
64226         [C99-based-standards] (PRIiLEAST64): Likewise.
64227         [C99-based-standards] (PRIoLEAST64): Likewise.
64228         [C99-based-standards] (PRIuLEAST64): Likewise.
64229         [C99-based-standards] (PRIxLEAST64): Likewise.
64230         [C99-based-standards] (PRIXLEAST64): Likewise.
64231         [C99-based-standards] (SCNdLEAST64): Likewise.
64232         [C99-based-standards] (SCNiLEAST64): Likewise.
64233         [C99-based-standards] (SCNoLEAST64): Likewise.
64234         [C99-based-standards] (SCNuLEAST64): Likewise.
64235         [C99-based-standards] (SCNxLEAST64): Likewise.
64236         [C99-based-standards] (PRIdFAST64): Likewise.
64237         [C99-based-standards] (PRIiFAST64): Likewise.
64238         [C99-based-standards] (PRIoFAST64): Likewise.
64239         [C99-based-standards] (PRIuFAST64): Likewise.
64240         [C99-based-standards] (PRIxFAST64): Likewise.
64241         [C99-based-standards] (PRIXFAST64): Likewise.
64242         [C99-based-standards] (SCNdFAST64): Likewise.
64243         [C99-based-standards] (SCNiFAST64): Likewise.
64244         [C99-based-standards] (SCNoFAST64): Likewise.
64245         [C99-based-standards] (SCNuFAST64): Likewise.
64246         [C99-based-standards] (SCNxFAST64): Likewise.
64247         [C99-based-standards] (PRIdMAX): Likewise.
64248         [C99-based-standards] (PRIiMAX): Likewise.
64249         [C99-based-standards] (PRIoMAX): Likewise.
64250         [C99-based-standards] (PRIuMAX): Likewise.
64251         [C99-based-standards] (PRIxMAX): Likewise.
64252         [C99-based-standards] (PRIXMAX): Likewise.
64253         [C99-based-standards] (SCNdMAX): Likewise.
64254         [C99-based-standards] (SCNiMAX): Likewise.
64255         [C99-based-standards] (SCNoMAX): Likewise.
64256         [C99-based-standards] (SCNuMAX): Likewise.
64257         [C99-based-standards] (SCNxMAX): Likewise.
64258         [C99-based-standards] (PRIdPTR): Likewise.
64259         [C99-based-standards] (PRIiPTR): Likewise.
64260         [C99-based-standards] (PRIoPTR): Likewise.
64261         [C99-based-standards] (PRIuPTR): Likewise.
64262         [C99-based-standards] (PRIxPTR): Likewise.
64263         [C99-based-standards] (PRIXPTR): Likewise.
64264         [C99-based-standards] (SCNdPTR): Likewise.
64265         [C99-based-standards] (SCNiPTR): Likewise.
64266         [C99-based-standards] (SCNoPTR): Likewise.
64267         [C99-based-standards] (SCNuPTR): Likewise.
64268         [C99-based-standards] (SCNxPTR): Likewise.
64269         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64270         allow.
64271         * conform/data/stdint.h-data: Update comments to clarify
64272         requirements.
64273         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
64274         type.
64275         [C99-based standards] (INT8_MAX): Likewise.
64276         [C99-based standards] (INT16_MIN): Likewise.
64277         [C99-based standards] (INT16_MAX): Likewise.
64278         [C99-based standards] (INT32_MIN): Likewise.
64279         [C99-based standards] (INT32_MAX): Likewise.
64280         [C99-based standards] (INT64_MIN): Likewise.
64281         [C99-based standards] (INT64_MAX): Likewise.
64282         [C99-based standards] (UINT8_MAX): Likewise.
64283         [C99-based standards] (UINT16_MAX): Likewise.
64284         [C99-based standards] (UINT32_MAX): Likewise.
64285         [C99-based standards] (UINT64_MAX): Likewise.
64286         [C99-based standards] (INT_LEAST8_MIN): Likewise.
64287         [C99-based standards] (INT_LEAST8_MAX): Likewise.
64288         [C99-based standards] (INT_LEAST16_MIN): Likewise.
64289         [C99-based standards] (INT_LEAST16_MAX): Likewise.
64290         [C99-based standards] (INT_LEAST32_MIN): Likewise.
64291         [C99-based standards] (INT_LEAST32_MAX): Likewise.
64292         [C99-based standards] (INT_LEAST64_MIN): Likewise.
64293         [C99-based standards] (INT_LEAST64_MAX): Likewise.
64294         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64295         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64296         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64297         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64298         [C99-based standards] (INT_FAST8_MIN): Likewise.
64299         [C99-based standards] (INT_FAST8_MAX): Likewise.
64300         [C99-based standards] (INT_FAST16_MIN): Likewise.
64301         [C99-based standards] (INT_FAST16_MAX): Likewise.
64302         [C99-based standards] (INT_FAST32_MIN): Likewise.
64303         [C99-based standards] (INT_FAST32_MAX): Likewise.
64304         [C99-based standards] (INT_FAST64_MIN): Likewise.
64305         [C99-based standards] (INT_FAST64_MAX): Likewise.
64306         [C99-based standards] (UINT_FAST8_MAX): Likewise.
64307         [C99-based standards] (UINT_FAST16_MAX): Likewise.
64308         [C99-based standards] (UINT_FAST32_MAX): Likewise.
64309         [C99-based standards] (UINT_FAST64_MAX): Likewise.
64310         [C99-based standards] (INTPTR_MIN): Likewise.
64311         [C99-based standards] (INTPTR_MAX): Likewise.
64312         [C99-based standards] (UINTPTR_MAX): Likewise.
64313         [C99-based standards] (INTMAX_MIN): Likewise.
64314         [C99-based standards] (INTMAX_MAX): Likewise.
64315         [C99-based standards] (UINTMAX_MAX): Likewise.
64316         [C99-based standards] (PTRDIFF_MIN): Likewise.
64317         [C99-based standards] (PTRDIFF_MAX): Likewise.
64318         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64319         [C99-based standards] (SIZE_MAX): Likewise.
64320         [C99-based standards] (WCHAR_MAX): Likewise.
64321         [C99-based standards] (WINT_MAX): Likewise.
64322         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
64323         constraint on value.
64324         [C99-based standards] (WCHAR_MIN): Likewise.
64325         [C99-based standards] (WINT_MIN): Likewise.
64326         [C99-based standards] (*_t): Allow.
64327         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64328         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64329         Include math.h-data and complex.h-data.  Remove all expectations
64330         of math.h and complex.h contents.
64331         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64332         at end of line.
64333         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64334         (struct tm): Expect tag.
64335         [C99-based-standards] (wcstof): Expect function.
64336         [C99-based-standards] (wcstold): Likewise.
64337         [C99-based-standards] (wcstoll): Likewise.
64338         [C99-based-standards] (wcstoull): Likewise.
64339         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64340         macro-int-constant.  Specify type.
64341         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
64342         constraint on value.
64343         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64344         Specify type.
64345         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64346         Specify value.
64347         [ISO C standards]: Do not allow headers.
64348         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64349         wcs[abcdefghijklmnopqrstuvwxyz]*.
64350         [ISO C standards] (*_t): Do not allow.
64351         * conform/data/wctype.h-data [C99-based standards] (iswblank):
64352         Expect function.
64353         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64354         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64355         Specify type.
64356         [ISO C standards]: Do not allow headers.
64357         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64358         is[abcdefghijklmnopqrstuvwxyz]*.
64359         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64360         to[abcdefghijklmnopqrstuvwxyz]*.
64361         [ISO C standards] (*_t): Do not allow.
64362         * conform/data/stdalign.h-data: New file.
64363         * conform/data/stdbool.h-data: Likewise.
64364         * conform/data/stdnoreturn.h-data: Likewise.
64366 2012-11-07  Roland McGrath  <roland@hack.frob.com>
64368         [BZ #14815]
64369         * manual/filesys.texi (Directory Entries): Typo fix.
64370         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64372 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64374         * elf/elf.h (EM_AARCH64): New macro.
64375         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64376         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64377         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64378         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64379         (R_AARCH64_TLSDESC): Likewise.
64380         (NT_ARM_TLS): Likewise.
64381         (NT_ARM_HW_BREAK): Likewise.
64382         (NT_ARM_HW_WATCH): Likewise.
64384 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64386         [BZ #14811]
64387         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64388         (__ieee754_powl): Saturate nonzero exponents with absolute value
64389         below 0x1p-79 to +/- 0x1p-79.
64390         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64391         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64392         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64393         nonzero exponents with absolute value below 0x1p-32 to +/-
64394         0x1p-32.
64395         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64396         (__ieee754_powl): Saturate nonzero exponents with absolute value
64397         below 0x1p-79 to +/- 0x1p-79.
64398         * math/libm-test.inc (pow_test): Add more tests.
64400 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64402         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64403         _dl_s390_cap_flags with kernel. Increase string length.
64404         (_dl_s390_platforms): Add z196 and zEC12.
64406 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64408         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64409         Change XOPEN21K to XOPEN2K.
64411 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
64413         * string/memmove.c: Use memcpy when possible.
64415 2012-11-06  Andreas Jaeger  <aj@suse.de>
64417         * po/eo.po: Update from translation team.
64419 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
64421         [BZ #14793]
64422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64423         exponent and small x and y exponents, scale x or y up.  Increase
64424         by 2 the exponent used in scaling up.
64425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64427         * math/libm-test.inc (fma_test): Add more tests.
64428         (fma_test_towardzero): Likewise.
64429         (fma_test_downward): Likewise.
64430         (fma_test_upward): Likewise.
64432 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
64434         [BZ #14805]
64435         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64436         fenv_t *.
64438         [BZ #14801]
64439         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64440         namespace for names of struct fields.
64441         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64442         fenv_t fields.
64443         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64444         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64446 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64448         [BZ #3665]
64449         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64451 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64453         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64454         PTR_DEMANGLE.
64456         [BZ #5246]
64457         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64458         PTR_DEMANGLE.
64460 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
64462         [BZ #14797]
64463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64464         definitely overflow as x * y not x * y + z.
64465         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64466         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64467         * math/libm-test.inc (fma_test): Add more tests.
64468         (fma_test_towardzero): Likewise.
64469         (fma_test_downward): Likewise.
64470         (fma_test_upward): Likewise.
64472 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64474         [BZ #157]
64476         * include/stub-tag.h: Remove file.
64477         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64478         '#include' of it.
64479         * manual/maint.texi (Porting): Don't reference it.
64480         * Makerules ($(objpfx)stubs): Likewise.
64481         * dirent/closedir.c: Don't include <stub-tag.h>.
64482         * dirent/dirfd.c: Likewise.
64483         * dirent/fdopendir.c: Likewise.
64484         * dirent/getdents.c: Likewise.
64485         * dirent/getdents64.c: Likewise.
64486         * dirent/opendir.c: Likewise.
64487         * dirent/readdir.c: Likewise.
64488         * dirent/readdir64.c: Likewise.
64489         * dirent/readdir64_r.c: Likewise.
64490         * dirent/readdir_r.c: Likewise.
64491         * dirent/rewinddir.c: Likewise.
64492         * dirent/seekdir.c: Likewise.
64493         * dirent/telldir.c: Likewise.
64494         * gmon/profil.c: Likewise.
64495         * grp/setgroups.c: Likewise.
64496         * inet/if_index.c: Likewise.
64497         * io/access.c: Likewise.
64498         * io/chdir.c: Likewise.
64499         * io/chmod.c: Likewise.
64500         * io/chown.c: Likewise.
64501         * io/close.c: Likewise.
64502         * io/dup.c: Likewise.
64503         * io/dup2.c: Likewise.
64504         * io/dup3.c: Likewise.
64505         * io/euidaccess.c: Likewise.
64506         * io/faccessat.c: Likewise.
64507         * io/fchdir.c: Likewise.
64508         * io/fchmod.c: Likewise.
64509         * io/fchmodat.c: Likewise.
64510         * io/fchown.c: Likewise.
64511         * io/fchownat.c: Likewise.
64512         * io/fcntl.c: Likewise.
64513         * io/flock.c: Likewise.
64514         * io/fstatfs.c: Likewise.
64515         * io/fstatfs64.c: Likewise.
64516         * io/fstatvfs.c: Likewise.
64517         * io/fstatvfs64.c: Likewise.
64518         * io/futimens.c: Likewise.
64519         * io/fxstat.c: Likewise.
64520         * io/fxstat64.c: Likewise.
64521         * io/fxstatat.c: Likewise.
64522         * io/fxstatat64.c: Likewise.
64523         * io/getcwd.c: Likewise.
64524         * io/isatty.c: Likewise.
64525         * io/lchmod.c: Likewise.
64526         * io/lchown.c: Likewise.
64527         * io/link.c: Likewise.
64528         * io/linkat.c: Likewise.
64529         * io/lseek.c: Likewise.
64530         * io/lseek64.c: Likewise.
64531         * io/lxstat64.c: Likewise.
64532         * io/mkdir.c: Likewise.
64533         * io/mkdirat.c: Likewise.
64534         * io/mkfifo.c: Likewise.
64535         * io/mkfifoat.c: Likewise.
64536         * io/open.c: Likewise.
64537         * io/open64.c: Likewise.
64538         * io/openat.c: Likewise.
64539         * io/openat64.c: Likewise.
64540         * io/pipe.c: Likewise.
64541         * io/pipe2.c: Likewise.
64542         * io/poll.c: Likewise.
64543         * io/posix_fadvise.c: Likewise.
64544         * io/posix_fadvise64.c: Likewise.
64545         * io/posix_fallocate.c: Likewise.
64546         * io/posix_fallocate64.c: Likewise.
64547         * io/read.c: Likewise.
64548         * io/readlink.c: Likewise.
64549         * io/readlinkat.c: Likewise.
64550         * io/rmdir.c: Likewise.
64551         * io/sendfile.c: Likewise.
64552         * io/sendfile64.c: Likewise.
64553         * io/statfs.c: Likewise.
64554         * io/statfs64.c: Likewise.
64555         * io/statvfs.c: Likewise.
64556         * io/statvfs64.c: Likewise.
64557         * io/symlink.c: Likewise.
64558         * io/symlinkat.c: Likewise.
64559         * io/ttyname.c: Likewise.
64560         * io/ttyname_r.c: Likewise.
64561         * io/umask.c: Likewise.
64562         * io/unlink.c: Likewise.
64563         * io/unlinkat.c: Likewise.
64564         * io/utime.c: Likewise.
64565         * io/utimensat.c: Likewise.
64566         * io/write.c: Likewise.
64567         * io/xmknod.c: Likewise.
64568         * io/xmknodat.c: Likewise.
64569         * io/xstat.c: Likewise.
64570         * io/xstat64.c: Likewise.
64571         * login/getpt.c: Likewise.
64572         * login/grantpt.c: Likewise.
64573         * login/unlockpt.c: Likewise.
64574         * math/e_acoshl.c: Likewise.
64575         * math/e_acosl.c: Likewise.
64576         * math/e_asinl.c: Likewise.
64577         * math/e_atan2l.c: Likewise.
64578         * math/e_atanhl.c: Likewise.
64579         * math/e_coshl.c: Likewise.
64580         * math/e_expl.c: Likewise.
64581         * math/e_fmodl.c: Likewise.
64582         * math/e_gammal_r.c: Likewise.
64583         * math/e_hypotl.c: Likewise.
64584         * math/e_j0l.c: Likewise.
64585         * math/e_j1l.c: Likewise.
64586         * math/e_jnl.c: Likewise.
64587         * math/e_lgammal_r.c: Likewise.
64588         * math/e_log10l.c: Likewise.
64589         * math/e_log2l.c: Likewise.
64590         * math/e_logl.c: Likewise.
64591         * math/e_powl.c: Likewise.
64592         * math/e_rem_pio2l.c: Likewise.
64593         * math/e_sinhl.c: Likewise.
64594         * math/e_sqrtl.c: Likewise.
64595         * math/fclrexcpt.c: Likewise.
64596         * math/fedisblxcpt.c: Likewise.
64597         * math/feenablxcpt.c: Likewise.
64598         * math/fegetenv.c: Likewise.
64599         * math/fegetexcept.c: Likewise.
64600         * math/fegetround.c: Likewise.
64601         * math/feholdexcpt.c: Likewise.
64602         * math/fesetenv.c: Likewise.
64603         * math/fesetround.c: Likewise.
64604         * math/feupdateenv.c: Likewise.
64605         * math/fgetexcptflg.c: Likewise.
64606         * math/fraiseexcpt.c: Likewise.
64607         * math/fsetexcptflg.c: Likewise.
64608         * math/ftestexcept.c: Likewise.
64609         * math/k_cosl.c: Likewise.
64610         * math/k_rem_pio2l.c: Likewise.
64611         * math/k_sinl.c: Likewise.
64612         * math/k_tanl.c: Likewise.
64613         * math/s_asinhl.c: Likewise.
64614         * math/s_atanl.c: Likewise.
64615         * math/s_cbrtl.c: Likewise.
64616         * math/s_erfl.c: Likewise.
64617         * math/s_expm1l.c: Likewise.
64618         * math/s_log1pl.c: Likewise.
64619         * math/s_tanhl.c: Likewise.
64620         * misc/acct.c: Likewise.
64621         * misc/brk.c: Likewise.
64622         * misc/chflags.c: Likewise.
64623         * misc/chroot.c: Likewise.
64624         * misc/fchflags.c: Likewise.
64625         * misc/fgetxattr.c: Likewise.
64626         * misc/flistxattr.c: Likewise.
64627         * misc/fremovexattr.c: Likewise.
64628         * misc/fsetxattr.c: Likewise.
64629         * misc/fsync.c: Likewise.
64630         * misc/ftruncate.c: Likewise.
64631         * misc/futimes.c: Likewise.
64632         * misc/futimesat.c: Likewise.
64633         * misc/getdomain.c: Likewise.
64634         * misc/getdtsz.c: Likewise.
64635         * misc/gethostid.c: Likewise.
64636         * misc/gethostname.c: Likewise.
64637         * misc/getloadavg.c: Likewise.
64638         * misc/getpagesize.c: Likewise.
64639         * misc/getsysstats.c: Likewise.
64640         * misc/getxattr.c: Likewise.
64641         * misc/gtty.c: Likewise.
64642         * misc/ioctl.c: Likewise.
64643         * misc/lgetxattr.c: Likewise.
64644         * misc/listxattr.c: Likewise.
64645         * misc/llistxattr.c: Likewise.
64646         * misc/lremovexattr.c: Likewise.
64647         * misc/lsetxattr.c: Likewise.
64648         * misc/lutimes.c: Likewise.
64649         * misc/madvise.c: Likewise.
64650         * misc/mincore.c: Likewise.
64651         * misc/mlock.c: Likewise.
64652         * misc/mlockall.c: Likewise.
64653         * misc/mmap.c: Likewise.
64654         * misc/mprotect.c: Likewise.
64655         * misc/msync.c: Likewise.
64656         * misc/munlock.c: Likewise.
64657         * misc/munlockall.c: Likewise.
64658         * misc/munmap.c: Likewise.
64659         * misc/preadv.c: Likewise.
64660         * misc/preadv64.c: Likewise.
64661         * misc/ptrace.c: Likewise.
64662         * misc/pwritev.c: Likewise.
64663         * misc/pwritev64.c: Likewise.
64664         * misc/readv.c: Likewise.
64665         * misc/reboot.c: Likewise.
64666         * misc/remap_file_pages.c: Likewise.
64667         * misc/removexattr.c: Likewise.
64668         * misc/revoke.c: Likewise.
64669         * misc/select.c: Likewise.
64670         * misc/setdomain.c: Likewise.
64671         * misc/setegid.c: Likewise.
64672         * misc/seteuid.c: Likewise.
64673         * misc/sethostid.c: Likewise.
64674         * misc/sethostname.c: Likewise.
64675         * misc/setregid.c: Likewise.
64676         * misc/setreuid.c: Likewise.
64677         * misc/setxattr.c: Likewise.
64678         * misc/sstk.c: Likewise.
64679         * misc/stty.c: Likewise.
64680         * misc/swapoff.c: Likewise.
64681         * misc/swapon.c: Likewise.
64682         * misc/sync.c: Likewise.
64683         * misc/syncfs.c: Likewise.
64684         * misc/syscall.c: Likewise.
64685         * misc/truncate.c: Likewise.
64686         * misc/ualarm.c: Likewise.
64687         * misc/usleep.c: Likewise.
64688         * misc/ustat.c: Likewise.
64689         * misc/utimes.c: Likewise.
64690         * misc/vhangup.c: Likewise.
64691         * misc/writev.c: Likewise.
64692         * posix/_exit.c: Likewise.
64693         * posix/alarm.c: Likewise.
64694         * posix/execve.c: Likewise.
64695         * posix/fexecve.c: Likewise.
64696         * posix/fork.c: Likewise.
64697         * posix/fpathconf.c: Likewise.
64698         * posix/getaddrinfo.c: Likewise.
64699         * posix/getegid.c: Likewise.
64700         * posix/geteuid.c: Likewise.
64701         * posix/getgid.c: Likewise.
64702         * posix/getgroups.c: Likewise.
64703         * posix/getlogin.c: Likewise.
64704         * posix/getlogin_r.c: Likewise.
64705         * posix/getpgid.c: Likewise.
64706         * posix/getpid.c: Likewise.
64707         * posix/getppid.c: Likewise.
64708         * posix/getresgid.c: Likewise.
64709         * posix/getresuid.c: Likewise.
64710         * posix/getsid.c: Likewise.
64711         * posix/getuid.c: Likewise.
64712         * posix/glob64.c: Likewise.
64713         * posix/nanosleep.c: Likewise.
64714         * posix/pathconf.c: Likewise.
64715         * posix/pause.c: Likewise.
64716         * posix/posix_madvise.c: Likewise.
64717         * posix/pread.c: Likewise.
64718         * posix/pread64.c: Likewise.
64719         * posix/pwrite.c: Likewise.
64720         * posix/pwrite64.c: Likewise.
64721         * posix/sched_getaffinity.c: Likewise.
64722         * posix/sched_getp.c: Likewise.
64723         * posix/sched_gets.c: Likewise.
64724         * posix/sched_primax.c: Likewise.
64725         * posix/sched_primin.c: Likewise.
64726         * posix/sched_rr_gi.c: Likewise.
64727         * posix/sched_setaffinity.c: Likewise.
64728         * posix/sched_setp.c: Likewise.
64729         * posix/sched_sets.c: Likewise.
64730         * posix/sched_yield.c: Likewise.
64731         * posix/setgid.c: Likewise.
64732         * posix/setlogin.c: Likewise.
64733         * posix/setpgid.c: Likewise.
64734         * posix/setresgid.c: Likewise.
64735         * posix/setresuid.c: Likewise.
64736         * posix/setsid.c: Likewise.
64737         * posix/setuid.c: Likewise.
64738         * posix/sleep.c: Likewise.
64739         * posix/spawni.c: Likewise.
64740         * posix/sysconf.c: Likewise.
64741         * posix/times.c: Likewise.
64742         * posix/wait.c: Likewise.
64743         * posix/wait3.c: Likewise.
64744         * posix/wait4.c: Likewise.
64745         * posix/waitpid.c: Likewise.
64746         * resolv/gai_sigqueue.c: Likewise.
64747         * resource/getpriority.c: Likewise.
64748         * resource/getrlimit.c: Likewise.
64749         * resource/getrusage.c: Likewise.
64750         * resource/nice.c: Likewise.
64751         * resource/setpriority.c: Likewise.
64752         * resource/setrlimit.c: Likewise.
64753         * resource/ulimit.c: Likewise.
64754         * rt/aio_cancel.c: Likewise.
64755         * rt/aio_fsync.c: Likewise.
64756         * rt/aio_read.c: Likewise.
64757         * rt/aio_sigqueue.c: Likewise.
64758         * rt/aio_suspend.c: Likewise.
64759         * rt/aio_write.c: Likewise.
64760         * rt/clock_getres.c: Likewise.
64761         * rt/clock_gettime.c: Likewise.
64762         * rt/clock_nanosleep.c: Likewise.
64763         * rt/clock_settime.c: Likewise.
64764         * rt/lio_listio.c: Likewise.
64765         * rt/mq_close.c: Likewise.
64766         * rt/mq_getattr.c: Likewise.
64767         * rt/mq_notify.c: Likewise.
64768         * rt/mq_open.c: Likewise.
64769         * rt/mq_receive.c: Likewise.
64770         * rt/mq_send.c: Likewise.
64771         * rt/mq_setattr.c: Likewise.
64772         * rt/mq_timedreceive.c: Likewise.
64773         * rt/mq_timedsend.c: Likewise.
64774         * rt/mq_unlink.c: Likewise.
64775         * rt/shm_open.c: Likewise.
64776         * rt/shm_unlink.c: Likewise.
64777         * rt/timer_create.c: Likewise.
64778         * rt/timer_delete.c: Likewise.
64779         * rt/timer_getoverr.c: Likewise.
64780         * rt/timer_gettime.c: Likewise.
64781         * rt/timer_settime.c: Likewise.
64782         * setjmp/__longjmp.c: Likewise.
64783         * setjmp/setjmp.c: Likewise.
64784         * signal/kill.c: Likewise.
64785         * signal/killpg.c: Likewise.
64786         * signal/raise.c: Likewise.
64787         * signal/sigaction.c: Likewise.
64788         * signal/sigaltstack.c: Likewise.
64789         * signal/sigblock.c: Likewise.
64790         * signal/sigignore.c: Likewise.
64791         * signal/sigintr.c: Likewise.
64792         * signal/signal.c: Likewise.
64793         * signal/sigpause.c: Likewise.
64794         * signal/sigpending.c: Likewise.
64795         * signal/sigqueue.c: Likewise.
64796         * signal/sigreturn.c: Likewise.
64797         * signal/sigset.c: Likewise.
64798         * signal/sigsetmask.c: Likewise.
64799         * signal/sigstack.c: Likewise.
64800         * signal/sigsuspend.c: Likewise.
64801         * signal/sigtimedwait.c: Likewise.
64802         * signal/sigvec.c: Likewise.
64803         * signal/sigwait.c: Likewise.
64804         * signal/sigwaitinfo.c: Likewise.
64805         * signal/sysv_signal.c: Likewise.
64806         * socket/accept.c: Likewise.
64807         * socket/accept4.c: Likewise.
64808         * socket/bind.c: Likewise.
64809         * socket/connect.c: Likewise.
64810         * socket/getpeername.c: Likewise.
64811         * socket/getsockname.c: Likewise.
64812         * socket/getsockopt.c: Likewise.
64813         * socket/isfdtype.c: Likewise.
64814         * socket/listen.c: Likewise.
64815         * socket/recv.c: Likewise.
64816         * socket/recvfrom.c: Likewise.
64817         * socket/recvmsg.c: Likewise.
64818         * socket/send.c: Likewise.
64819         * socket/sendmsg.c: Likewise.
64820         * socket/sendto.c: Likewise.
64821         * socket/setsockopt.c: Likewise.
64822         * socket/shutdown.c: Likewise.
64823         * socket/sockatmark.c: Likewise.
64824         * socket/socket.c: Likewise.
64825         * socket/socketpair.c: Likewise.
64826         * stdio-common/ctermid.c: Likewise.
64827         * stdio-common/cuserid.c: Likewise.
64828         * stdio-common/remove.c: Likewise.
64829         * stdio-common/rename.c: Likewise.
64830         * stdio-common/renameat.c: Likewise.
64831         * stdio-common/tempname.c: Likewise.
64832         * stdlib/getcontext.c: Likewise.
64833         * stdlib/makecontext.c: Likewise.
64834         * stdlib/setcontext.c: Likewise.
64835         * stdlib/swapcontext.c: Likewise.
64836         * stdlib/system.c: Likewise.
64837         * streams/fattach.c: Likewise.
64838         * streams/fdetach.c: Likewise.
64839         * streams/getmsg.c: Likewise.
64840         * streams/getpmsg.c: Likewise.
64841         * streams/putmsg.c: Likewise.
64842         * streams/putpmsg.c: Likewise.
64843         * sysdeps/unix/bsd/getpt.c: Likewise.
64844         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64845         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64846         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64848         Likewise.
64849         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64850         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64851         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64852         * sysvipc/msgctl.c: Likewise.
64853         * sysvipc/msgget.c: Likewise.
64854         * sysvipc/msgrcv.c: Likewise.
64855         * sysvipc/msgsnd.c: Likewise.
64856         * sysvipc/semctl.c: Likewise.
64857         * sysvipc/semget.c: Likewise.
64858         * sysvipc/semop.c: Likewise.
64859         * sysvipc/semtimedop.c: Likewise.
64860         * sysvipc/shmat.c: Likewise.
64861         * sysvipc/shmctl.c: Likewise.
64862         * sysvipc/shmdt.c: Likewise.
64863         * sysvipc/shmget.c: Likewise.
64864         * termios/tcdrain.c: Likewise.
64865         * termios/tcflow.c: Likewise.
64866         * termios/tcflush.c: Likewise.
64867         * termios/tcgetattr.c: Likewise.
64868         * termios/tcgetpgrp.c: Likewise.
64869         * termios/tcsendbrk.c: Likewise.
64870         * termios/tcsetattr.c: Likewise.
64871         * termios/tcsetpgrp.c: Likewise.
64872         * time/adjtime.c: Likewise.
64873         * time/clock.c: Likewise.
64874         * time/getitimer.c: Likewise.
64875         * time/gettimeofday.c: Likewise.
64876         * time/setitimer.c: Likewise.
64877         * time/settimeofday.c: Likewise.
64878         * time/stime.c: Likewise.
64879         * time/time.c: Likewise.
64881 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
64883         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64884         /usr/old/bin.
64886         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64887         instead of spaces.
64888         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64890 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
64892         [BZ #14796]
64893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64894         FE_TONEAREST before applying Dekker multiplication and Knuth
64895         addition.  Clear inexact exceptions and check for exact zero
64896         results afterwards.
64897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64898         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64899         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64900         * math/libm-test.inc (fma_test): Add more tests.
64901         (fma_test_towardzero): Likewise.
64902         (fma_test_downward): Likewise.
64903         (fma_test_upward): Likewise.
64904         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64905         function.
64906         (libc_fesetround): New macro.
64907         (libc_fesetroundf): Likewise.
64908         (libc_fesetroundl): Likewise.
64909         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64910         function.
64911         (libc_fesetround_387): Likewise.
64912         (libc_fesetroundf): New macro.
64913         (libc_fesetround): Likewise.
64914         (libc_fesetroundl): Likewise.
64915         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64916         function.
64917         (libc_fesetroundf): New macro.
64918         (libc_fesetround): Likewise.
64919         (libc_fesetroundl): Likewise.
64920         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64921         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64922         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64923         libm_hidden_ver.
64924         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64925         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64926         libm_hidden_def.
64927         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64928         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64929         libm_hidden_ver.
64930         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64931         libm_hidden_def.
64933         [BZ #3439]
64934         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64935         integer constant usable in #if and use that to give value to enum
64936         constant.
64937         (FE_DIVBYZERO): Likewise.
64938         (FE_UNDERFLOW): Likewise.
64939         (FE_OVERFLOW): Likewise.
64940         (FE_INVALID): Likewise.
64941         (FE_INVALID_SNAN): Likewise.
64942         (FE_INVALID_ISI): Likewise.
64943         (FE_INVALID_IDI): Likewise.
64944         (FE_INVALID_ZDZ): Likewise.
64945         (FE_INVALID_IMZ): Likewise.
64946         (FE_INVALID_COMPARE): Likewise.
64947         (FE_INVALID_SOFTWARE): Likewise.
64948         (FE_INVALID_SQRT): Likewise.
64949         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64950         (FE_TONEAREST): Likewise.
64951         (FE_TOWARDZERO): Likewise.
64952         (FE_UPWARD): Likewise.
64953         (FE_DOWNWARD): Likewise.
64954         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64955         (FE_DIVBYZERO): Likewise.
64956         (FE_OVERFLOW): Likewise.
64957         (FE_UNDERFLOW): Likewise.
64958         (FE_INEXACT): Likewise.
64959         (FE_TONEAREST): Likewise.
64960         (FE_DOWNWARD): Likewise.
64961         (FE_UPWARD): Likewise.
64962         (FE_TOWARDZERO): Likewise.
64963         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64964         (FE_UNDERFLOW): Likewise.
64965         (FE_OVERFLOW): Likewise.
64966         (FE_DIVBYZERO): Likewise.
64967         (FE_INVALID): Likewise.
64968         (FE_TONEAREST): Likewise.
64969         (FE_TOWARDZERO): Likewise.
64970         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64971         (FE_OVERFLOW): Likewise.
64972         (FE_UNDERFLOW): Likewise.
64973         (FE_DIVBYZERO): Likewise.
64974         (FE_INEXACT): Likewise.
64975         (FE_TONEAREST): Likewise.
64976         (FE_TOWARDZERO): Likewise.
64977         (FE_UPWARD): Likewise.
64978         (FE_DOWNWARD): Likewise.
64979         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64980         (FE_DIVBYZERO): Likewise.
64981         (FE_OVERFLOW): Likewise.
64982         (FE_UNDERFLOW): Likewise.
64983         (FE_INEXACT): Likewise.
64984         (FE_TONEAREST): Likewise.
64985         (FE_DOWNWARD): Likewise.
64986         (FE_UPWARD): Likewise.
64987         (FE_TOWARDZERO): Likewise.
64989 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64991         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64993 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64995         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64996         commands.  Quote $PWD.
64997         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64998         -x" by "export".
64999         (remove_newlines): Remove.
65001 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
65003         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
65004         * stdlib/stdlib.h (atof): Moved to ...
65005         * include/bits/stdlib-float.h: Here.  New file.
65006         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
65007         * stdlib/bits/stdlib-float.h: New file.
65008         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
65009         -mno-sse -mno-mmx.
65010         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
65011         <xmmintrin.h>.
65013 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
65015         * conform/conformtest.pl (@headers): Add fenv.h.
65016         * conform/data/fenv.h-data: New file.
65017         * include/fenv.h [_ISOMAC]: Disable all contents of file except
65018         include of <math/fenv.h>.
65020         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
65021         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
65022         && !UNIX98].  Enables tests for XOPEN2K8.
65023         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
65024         POSIX2008]: Likewise.
65026         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
65027         (struct rusage): Do not expect type or its members.
65029         [BZ #3439]
65030         * math/math.h (FP_NAN): Define macro to integer constant usable in
65031         #if and use that to give value to enum constant.
65032         (FP_INFINITE): Likewise.
65033         (FP_ZERO): Likewise.
65034         (FP_SUBNORMAL): Likewise.
65035         (FP_NORMAL): Likewise.
65037 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
65039         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
65040         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
65041         arguments.
65043 2012-11-02  Roland McGrath  <roland@hack.frob.com>
65045         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
65046         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
65047         autoconf-time if not.
65048         * configure.in: Remove AC_PREREQ.
65050 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65052         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
65053         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
65054         of the internal implementation.
65056 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
65058         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
65059         except include of <misc/sys/syslog.h>.
65061 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
65064         function returns with a NULL context exit with zero.
65066 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65068         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
65070 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
65072         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
65073         (run_program_cmd): This.
65074         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
65075         (tst_langinfo): New variable.  Use it.
65077 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
65079         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
65080         floating point opcodes.
65082 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65084         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
65085         variable.
65087         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
65089         * sysdeps/mach/hurd/powerpc: Remove directory.
65090         * sysdeps/mach/powerpc: Likewise.
65092 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65094         * scripts/check-local-headers.sh: Ignore c++ headers.
65096 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65098         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
65099         __libc_cleanup_region_start argument.
65101 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
65103         [BZ #14784]
65104         [BZ #14785]
65105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
65106         x * y using scaling, not as x * y + z.
65107         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65108         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65109         * math/libm-test.inc (fma_test): Add more tests.
65110         (fma_test_towardzero): Likewise.
65111         (fma_test_downward): Likewise.
65112         (fma_test_upward): Likewise.
65114 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65116         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65118 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65120         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65121         New variable.
65123 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
65125         * rt/tst-shm.c (worker): Correct checking for mmap failure.
65127 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65130         Fix sort order.
65131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65132         Likewise.
65134 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65137         Fix the order of the list for glibc 2.17.
65138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65139         Likewise.
65141 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65145 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65147         [BZ #14610]
65148         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65149         for low part of x being zero before using __atanl (y).
65150         * math/libm-test.inc (atan2_test): Add another test.
65152         * manual/install.texi (Configuring and compiling): Document
65153         general use of test-wrapper and test-wrapper-env.
65154         * INSTALL: Regenerated.
65156         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65157         (__fma): Do not extract and scale down low bits on after-rounding
65158         systems when result rounded to normal precision would have normal
65159         exponent.
65160         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65161         (__fmal): Do not extract and scale down low bits on after-rounding
65162         systems when result rounded to normal precision would have normal
65163         exponent.
65164         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65165         (__fmal): Do not extract and scale down low bits on after-rounding
65166         systems when result rounded to normal precision would have normal
65167         exponent.
65168         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65169         macro.
65170         (fma_test): Add more tests.
65171         (fma_test_towardzero): Likewise.
65172         (fma_test_downward): Likewise.
65173         (fma_test_upward): Likewise.
65175 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
65177         * sysdeps/i386/tininess.h: Renamed to ...
65178         * sysdeps/x86/tininess.h: This.
65179         * sysdeps/x86_64/tininess.h: Removed.
65181 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65183         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65184         input.  Use $(build-program-cmd).
65185         ($(objpfx)tst-array1-static.out): Likewise.
65186         ($(objpfx)tst-array2.out): Likewise.
65187         ($(objpfx)tst-array3.out): Likewise.
65188         ($(objpfx)tst-array4.out): Likewise.
65189         ($(objpfx)tst-array5.out): Likewise.
65190         ($(objpfx)tst-array5-static.out): Likewise.
65192 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
65194         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65195         if defined.
65197         * nss/nsswitch.h (nss_interface_function): Provide new
65198         macro for use with NSS functions.
65199         * grp/initgroups.c: Use new macro.
65200         * nss/getXXbyYY.c: Likewise.
65201         * nss/getXXbyYY_r.c: Likewise.
65202         * nss/getXXent.c: Likewise.
65203         * nss/getXXent_r.c: Likewise.
65204         * sysdeps/posix/getaddrinfo.c: Likewise.
65206 2012-10-30  Andreas Jaeger  <aj@suse.de>
65208         * po/ru.po: Update Russion translation from translation project.
65210 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65212         [BZ #14152]
65213         [BZ #14783]
65214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65215         result and shift together with sticky bit instead of replicating
65216         round-to-nearest rounding.
65217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65219         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
65220         missing underflow exceptions.
65221         (fma_test_towardzero): Add more tests.
65222         (fma_test_downward): Likewise.
65223         (fma_test_upward): Likewise.
65225         [BZ #14047]
65226         * sysdeps/generic/tininess.h: New file.
65227         * sysdeps/i386/tininess.h: Likewise.
65228         * sysdeps/sh/tininess.h: Likewise.
65229         * sysdeps/x86_64/tininess.h: Likewise.
65230         * stdlib/tst-strtod-underflow.c: Likewise.
65231         * stdlib/tst-tininess.c: Likewise.
65232         * stdlib/strtod_l.c: Include <tininess.h>.
65233         (round_and_return): Do not set errno for exact underflow cases.
65234         Force an underflow exception when setting errno for underflow.
65235         Determine underflow based on rounding to normal precision if
65236         TININESS_AFTER_ROUNDING.
65237         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65238         ERANGE for exact underflow cases.
65239         * stdlib/Makefile (tests): Add tst-tininess and
65240         tst-strtod-underflow.
65241         ($(objpfx)tst-tininess): Use $(link-libm).
65242         ($(objpfx)tst-strtod-underflow): Likewise.
65244 2012-10-30  Andreas Jaeger  <aj@suse.de>
65246         [BZ#14767]
65247         * elf/Makefile (tests): Remove conditional for have-initfini-array
65248         since this is now always required and the variable does not exist
65249         anymore.
65250         (tests-static): Likewise.
65251         (modules-names): Likewise.
65253         * po/eo.po: Add Esperanto translation from translation project.
65255         * elf/tst-array1.c (fini_array): Make writeable so that it can be
65256         merged with constructor/destructor.
65257         (init_array): Likewise.
65258         * elf/tst-array2dep.c (fini_array): Likewise.
65259         (init_array): Likewise.
65261 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
65263         * manual/message.texi: Delete @cartouche tags.
65265 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
65267         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65268         EOPNOTSUPP.
65269         * sysdeps/mach/hurd/fsync.c: Likewise.
65271         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65272         [_POSIX_REALTIME_SIGNALS]: Change condition to
65273         [_POSIX_REALTIME_SIGNALS > 0].
65275 2012-10-27  Andreas Jaeger  <aj@suse.de>
65277         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65278         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65279         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65280         [__WORDSIZE != 64]: Likewise.
65282 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
65284         *  iconvdata/tst-table.sh: Remove ${SHELL}.
65285         *  iconvdata/tst-tables.sh: Likewise.
65287 2012-10-25  David S. Miller  <davem@davemloft.net>
65289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65290         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65291         of strtoull.
65293         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65294         ifunc-impl-list.c
65295         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65296         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65297         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65298         file.
65300 2012-10-25  Roland McGrath  <roland@hack.frob.com>
65302         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65303         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65304         __getdirentries.
65306 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65307             Jim Blandy  <jimb@codesourcery.com>
65309         * scripts/cross-test-ssh.sh: New file.
65310         * manual/install.texi (Configuring and compiling): Document use of
65311         cross-test-ssh.sh.
65312         * INSTALL: Regenerated.
65314 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
65316         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65317         EOPNOTSUPP.
65319 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65321         * Makeconfig (run-program-prefix): Fix comment.
65323 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65324             Jim Blandy  <jimb@codesourcery.com>
65326         * Makeconfig (test-wrapper): New variable,
65327         (test-wrapper-env): Likewise.
65328         [$(cross-compiling) = yes && $(test-wrapper) != ""]
65329         (run-built-tests): Define to yes.
65330         (run-program-prefix): Use $(test-wrapper).
65331         (built-program-cmd): Likewise.
65332         * Rules (make-test-out): Use $(test-wrapper-env) and
65333         $(host-built-program-cmd).
65334         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65335         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65336         tst-pathopt.sh.
65337         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65338         $(test-wrapper-env) to tst-rtld-load-self.sh.
65339         ($(objpfx)order2.out): Use $(test-wrapper).
65340         ($(objpfx)tst-initorder.out): Likewise.
65341         ($(objpfx)tst-initorder2.out): Likewise.
65342         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65343         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65344         (test_wrapper_env): New variable.  Use it to run ld.so.
65345         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65346         Use it to run ld.so.
65347         (test_wrapper_env): Likewise.
65348         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65349         $(test-wrapper) to run-iconv-test.sh.
65350         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65351         (ICONV): Use $test_wrapper.
65352         * posix/Makefile ($(objpfx)globtest.out): Pass
65353         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65354         globtest.sh, not $(run-program-prefix).
65355         * posix/globtest.sh (run_via_rtld_prefix): New variable.
65356         (test_wrapper): Likewise.
65357         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
65358         set together with run_via_rtld_prefix.
65359         (run_program_prefix): Define in terms of test_wrapper and
65360         run_via_rtld_prefix.
65362 2012-10-24  Roland McGrath  <roland@hack.frob.com>
65364         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65365         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65366         Targets removed.
65368         [BZ #14743]
65369         * include/time.h: Remove librt_hidden_proto (clock_gettime).
65370         Declare __clock_getres, __clock_gettime, __clock_settime,
65371         __clock_nanosleep, and __clock_getcpuclockid.
65372         * rt/clock_gettime.c: Define __clock_gettime as an alias.
65373         Remove librt_hidden_def (clock_gettime).
65374         * sysdeps/unix/clock_gettime.c: Likewise.
65375         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65376         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65377         * rt/clock_getres.c: Define __clock_getres as an alias.
65378         * sysdeps/posix/clock_getres.c: Likewise.
65379         * rt/clock_settime.c: Define __clock_settime as an alias.
65380         * sysdeps/unix/clock_settime.c: Likewise.
65381         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65382         * sysdeps/unix/clock_nanosleep.c: Likewise.
65383         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65384         * rt/clock-compat.c: New file.
65385         * rt/Makefile (librt-routines): Add clock-compat and move
65386         $(clock-routines) to ...
65387         (routines): ... here, new variable.
65388         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65389         Don't add get_clockfreq here.
65390         * rt/Versions (libc: GLIBC_2.17): New version set.
65391         Add clock_* symbols here.
65392         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
65393         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65394         (GLIBC_2.17): Add clock_* symbols.
65395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65397         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65399         Likewise.
65400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65401         Likewise.
65402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65406         * NEWS: Mention the move.
65408         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65409         Use __open, __read, __close rather than their public counterparts.
65410         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65411         (__get_clockfreq_via_cpuinfo): Likewise.
65412         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65413         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65415         * config.h.in (HAVE_IFUNC): New #undef.
65416         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65417         was successful.
65418         * configure: Regenerated.
65420 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65422         * configure.in: Move READELF check to start of file.
65423         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65424         libc_cv_asm_gnu_indirect_function in the process.
65425         * configure: Regenerated.
65427 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65429         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65430         send the output to /dev/null.
65431         (libc_cv_cc_with_libunwind): Likewise.
65432         (libc_cv_as_noexecstack): Likewise.
65433         * configure: Regenerate.
65435 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65437         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65439         * posix/globtest.sh (TMPDIR): Do not set.
65440         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65441         (testout): Likewise.
65443 2012-10-24  Andreas Jaeger  <aj@suse.de>
65445         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65446         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65447         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65448         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65449         posix_fadvise64, posix_fallocate64.
65451         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65452         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65453         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65454         Likewise.
65455         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65456         Likewise.
65457         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65460         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65461         <bits/fcntl-linux.h>.
65462         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65465         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65466         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65467         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65468         [__WORDSIZE != 64]: Likewise.
65470 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65472         * Makeconfig (run-built-tests): New variable.
65473         * Rules [$(cross-compiling) = yes]: Change condition to
65474         [$(run-built-tests) = no].
65475         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65476         to [$(run-built-tests) = yes].
65477         * elf/Makefile [$(cross-compiling) = no]: Likewise.
65478         * grp/Makefile [$(cross-compiling) = no]: Likewise.
65479         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65480         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65481         * intl/Makefile [$(cross-compiling) = no]: Likewise.
65482         * io/Makefile [$(cross-compiling) = no]: Likewise.
65483         * libio/Makefile [$(cross-compiling) = no]: Likewise.
65484         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65485         * misc/Makefile [$(cross-compiling) = no]: Likewise.
65486         * posix/Makefile [$(cross-compiling) = no]: Likewise.
65487         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65488         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65489         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65490         * string/Makefile [$(cross-compiling) = no]: Likewise.
65492         * posix/Makefile ($(objpfx)globtest.out): Pass
65493         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65494         $(rtld-installed-name).
65495         * posix/globtest.sh (elf_objpfx): Remove variable.
65496         (rtld_installed_name): Likewise.
65497         (library_path): Likewise.
65498         (run_program_prefix): New variable.  Use for running globtest
65499         binary.
65501 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
65502             Joseph Myers  <joseph@codesourcery.com>
65504         * Makeconfig (host-built-program-cmd): New variable.
65505         * elf/Makefile (tst-stackguard1-ARGS): Use
65506         $(host-built-program-cmd).
65507         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65508         (tst-spawn-ARGS): Likewise.
65509         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65511 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65512             Jim Blandy  <jimb@codesourcery.com>
65514         * Makeconfig (run-via-rtld-prefix): New variable.
65515         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65516         (built-program-cmd): Likewise.
65518 2012-10-22  Andreas Jaeger  <aj@suse.de>
65520         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65521         __O_RSYNC if it exists, otherwise to O_SYNC.
65523 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
65524             Joseph Myers  <joseph@codesourcery.com>
65526         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65527         /dev/null.
65528         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65529         from /dev/null
65530         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65531         /dev/null.
65533 2012-10-22  Andreas Jaeger  <aj@suse.de>
65535         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65536         Define always.
65537         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65540         bits/fcntl-linux.h.
65542         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65543         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65545         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65546         to __O_LARGEFILE.
65547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65548         to __O_LARGEFILE.
65550 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
65551             Joseph Myers  <joseph@codesourcery.com>
65553         * config.make.in (NM): New variable.
65555 2012-10-21  Andreas Jaeger  <aj@suse.de>
65557         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65558         definitions and declarations that are provided by
65559         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65561 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65563         [BZ #14683]
65564         * elf/Makefile (tests-static): Add tst-leaks1-static.
65565         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65566         ($(objpfx)tst-leaks1-static): New rule.
65567         ($(objpfx)tst-leaks1-static-mem): Likewise.
65568         (tst-leaks1-static-ENV): New macro.
65569         * elf/dl-open.c (dl_open_worker): Check the main application
65570         only if SHARED is defined.
65571         * elf/tst-leaks1-static.c: New file.
65573 2012-10-20  Andreas Jaeger  <aj@suse.de>
65575         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65576         generic values for Linux.
65577         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65578         and declarations that are provided by <bits/fcntl-linux.h> and
65579         include <bits/fcntl-linux.h>.
65580         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65581         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65583 2012-10-20  Roland McGrath  <roland@hack.frob.com>
65585         * io/fcntl.h: Move include of <bits/types.h> to the top and
65586         include it unconditionally.
65588 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65590         * wcsmbs/Makefile (tests-ifunc): New variable.
65591         (tests): Add $(tests-ifunc).
65592         * wcsmbs/test-wcschr-ifunc.c: New file.
65593         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65594         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65595         * wcsmbs/test-wcslen-ifunc.c: Likewise.
65596         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65597         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65599         * string/Makefile (tests-ifunc): New variable.
65600         (tests): Add $(tests-ifunc).
65601         * string/test-memccpy.c (TEST_NAME): New macro.
65602         * string/test-memchr.c (TEST_NAME): Likewise.
65603         * string/test-memcmp.c (TEST_NAME): Likewise.
65604         * string/test-memcpy.c (TEST_NAME): Likewise.
65605         * string/test-memmem.c (TEST_NAME): Likewise.
65606         * string/test-memmove.c (TEST_NAME): Likewise.
65607         * string/test-memset.c (TEST_NAME): Likewise.
65608         * string/test-rawmemchr.c (TEST_NAME): Likewise.
65609         * string/test-stpcpy.c (TEST_NAME): Likewise.
65610         * string/test-stpncpy.c (TEST_NAME): Likewise.
65611         * string/test-strcasecmp.c (TEST_NAME): Likewise.
65612         * string/test-strcasestr.c (TEST_NAME): Likewise.
65613         * string/test-strcat.c (TEST_NAME): Likewise.
65614         * string/test-strchr.c (TEST_NAME): Likewise.
65615         * string/test-strcmp.c(TEST_NAME): Likewise.
65616         * string/test-strcpy.c (TEST_NAME): Likewise.
65617         * string/test-strcspn.c (TEST_NAME): Likewise.
65618         * string/test-strlen.c (TEST_NAME): Likewise.
65619         * string/test-strncasecmp.c (TEST_NAME): Likewise.
65620         * string/test-strncmp.c (TEST_NAME): Likewise.
65621         * string/test-strncpy.c (TEST_NAME): Likewise.
65622         * string/test-strnlen.c (TEST_NAME): Likewise.
65623         * string/test-strpbrk.c (TEST_NAME): Likewise.
65624         * string/test-strrchr.c (TEST_NAME): Likewise.
65625         * string/test-strspn.c (TEST_NAME): Likewise.
65626         * string/test-strstr.c (TEST_NAME): Likewise.
65627         * string/test-bcopy-ifunc.c: New file.
65628         * string/test-bzero-ifunc.c: Likewise.
65629         * string/test-memccpy-ifunc.c: Likewise.
65630         * string/test-memchr-ifunc.c: Likewise.
65631         * string/test-memcmp-ifunc.c: Likewise.
65632         * string/test-memcpy-ifunc.c: Likewise.
65633         * string/test-memmem-ifunc.c: Likewise.
65634         * string/test-memmove-ifunc.c: Likewise.
65635         * string/test-mempcpy-ifunc.c: Likewise.
65636         * string/test-memset-ifunc.c: Likewise.
65637         * string/test-rawmemchr-ifunc.c: Likewise.
65638         * string/test-stpcpy-ifunc.c: Likewise.
65639         * string/test-stpncpy-ifunc.c: Likewise.
65640         * string/test-strcasecmp-ifunc.c: Likewise.
65641         * string/test-strcasestr-ifunc.c: Likewise.
65642         * string/test-strcat-ifunc.c: Likewise.
65643         * string/test-strchr-ifunc.c: Likewise.
65644         * string/test-strchrnul-ifunc.c: Likewise.
65645         * string/test-strcmp-ifunc.c: Likewise.
65646         * string/test-strcpy-ifunc.c: Likewise.
65647         * string/test-strcspn-ifunc.c: Likewise.
65648         * string/test-strlen-ifunc.c: Likewise.
65649         * string/test-strncasecmp-ifunc.c: Likewise.
65650         * string/test-strncat-ifunc.c: Likewise.
65651         * string/test-strncmp-ifunc.c: Likewise.
65652         * string/test-strncpy-ifunc.c: Likewise.
65653         * string/test-strnlen-ifunc.c: Likewise.
65654         * string/test-strpbrk-ifunc.c: Likewise.
65655         * string/test-strrchr-ifunc.c: Likewise.
65656         * string/test-strspn-ifunc.c: Likewise.
65657         * string/test-strstr-ifunc.c: Likewise.
65659         * debug/Makefile (tests-ifunc): New variable.
65660         (tests): Add $(tests-ifunc).
65661         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65662         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65663         * debug/test-stpcpy_chk-ifunc.c: New file.
65664         * debug/test-strcpy_chk-ifunc.c: Likewise.
65666 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65668         [BZ #13601]
65669         * elf/dl-load.c (open_verify): Retry read if the entire ELF
65670         header is not read in.
65672 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
65674         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
65675         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
65676         directly.  Pass built executable to script as
65677         $(built-program-cmd).
65678         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
65679         $testprogram without using LD_LIBRARY_PATH and $ldso.
65681         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65682         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65683         $(rtld-installed-name).
65684         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65685         (rtld_installed_name): Likewise.
65686         (library_path): Likewise.
65687         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
65688         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65689         $(run-program-prefix) to tst-tables.sh.
65690         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
65691         it to run tst-table-from and tst-table-to.
65692         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65693         Pass it to tst-table.sh.
65694         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65695         $(run-program-prefix) to tst-gettext.sh.
65696         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65697         tst-translit.sh.
65698         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65699         tst-gettext2.sh.
65700         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
65701         to run tst-gettext.
65702         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
65703         to run tst-gettext2.
65704         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
65705         to run tst-translit.
65706         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65707         $(run-program-prefix) to tst-mtrace.sh.
65708         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
65709         to run tst-mtrace.
65710         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65711         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65712         $(rtld-installed-name).
65713         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65714         (rtld_installed_name): Likewise.
65715         (run_program_prefix): New variable.  Use it to run wordexp-test.
65717         * Makeconfig (ARCH): Remove all definitions.
65718         (machine): Likewise.
65719         [ARCH]: Remove conditional code.
65720         [!objdir]: Give error.
65721         [!objdir] (objpfx): Remove.
65722         [!objdir] (common-objpfx): Likewise.
65723         [!objdir] (common-objdir): Likewise.
65724         * configure.in (config_makefile): Remove.  Hardcode Makefile in
65725         AC_CONFIG_FILES call.
65726         * configure: Regenerated.
65728         [BZ #13888]
65729         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65730         or TMPDIR.
65731         (testout): Likewise.
65733         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65734         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65735         $(rtld-installed-name).
65736         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65737         (rtld_installed_name): Likewise.
65738         (runit): Remove function.
65739         (run_getconf): New variable,  Use it for running getconf binary.
65741 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
65743         [BZ #14716]
65744         * string/test-memmem.c (check_result): New function.
65745         (do_one_test): Use it.
65746         (check1): New function.
65747         (test_main): Use it.
65749 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
65751         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65753 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
65755         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65756         (_G_LSEEK64): Likewise.
65757         (_G_MMAP64): Likewise.
65758         (_G_FSTAT64): Likewise.
65759         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65760         (_G_LSEEK64): Likewise.
65761         (_G_MMAP64): Likewise.
65762         (_G_FSTAT64): Likewise.
65763         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65764         unconditional.  Call __mmap64 directly.
65765         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65766         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
65767         __lseek64 directly.
65768         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65769         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
65770         __mmap64 directly.
65771         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65772         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65773         __lseek64 directly.
65774         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65775         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65776         __lseek64 directly.
65777         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65778         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
65779         __lseek64 directly.
65780         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65781         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
65782         __fxstat64 directly.
65783         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65784         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65785         unconditional.
65786         (freopen64) [!_G_OPEN64]: Remove conditional code.
65787         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65788         unconditional.
65789         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65790         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65791         unconditional.
65792         (ftello64) [!_G_LSEEK64]: Remove conditional code.
65793         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65794         unconditional.
65795         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65796         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65797         unconditional.
65798         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65799         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65800         unconditional.
65801         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65802         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65803         unconditional.
65804         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65805         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65806         unconditional.
65807         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65809 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65811         [BZ #12140]
65812         * manual/memory.texi (Malloc Tunable Parameters): Add note
65813         about free list pointers overwriting some perturb bytes.
65814         Wording suggested by Roland McGrath.
65816 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
65818         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65819         (lgamma_test): Likewise.
65820         (tgamma_test): Likewise.
65822 2012-10-16  Florian Weimer  <fweimer@redhat.com>
65824         [BZ #14700]
65825         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65826         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65828 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
65830         * NEWS: Mention BZ #14716.
65831         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65832         when removing AVAILABLE1_USES_J macro.
65834 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
65836         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65837         (__bswap_64): __uint64_t for unsigned 64-bit int.
65839 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
65841         * include/string.h (memmem): Declare libc hidden alias.
65842         * string/memmem.c (memmem): Define libc hidden alias.
65843         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65844         __read, __close instead of open, read, close.
65846 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
65848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65849         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65850         global and hidden.
65851         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65852         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65853         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65854         Likewise.
65855         (__rawmemchr_sse2): Likewise.
65856         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65857         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65858         (__strchr_sse2): Likewise.
65859         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65860         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65861         (__strcasecmp_sse2): Likewise.
65862         (__strncasecmp_sse2): Likewise.
65863         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65864         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65865         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65866         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65867         (__strrchr_sse2): Likewise.
65868         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65869         ifunc-impl-list.c.
65870         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65871         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65872         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65873         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65874         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65875         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65876         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65877         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65878         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65879         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65880         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65881         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65882         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65883         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65884         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65885         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65886         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65887         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65888         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65889         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65890         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65891         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65892         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65893         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65894         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65895         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65896         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65897         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65898         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65899         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65901         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65902         global and hidden.
65903         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65904         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65905         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65906         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65907         Likewise.
65908         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65909         Likewise.
65910         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65911         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65912         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65913         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65914         ifunc-impl-list.c.
65915         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65916         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65917         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65918         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65919         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65920         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65921         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65922         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65923         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65924         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65925         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65926         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65927         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65928         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65929         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65930         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65931         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65932         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65933         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65934         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65935         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65936         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65937         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65938         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65939         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65940         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65941         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65942         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65943         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65944         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65945         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65946         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65947         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65948         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65949         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65950         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65951         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65952         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65953         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65954         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65955         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65957         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65958         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65959         * include/ifunc-impl-list.h: New file.
65960         * misc/ifunc-impl-list.c: Likewise.
65961         * misc/Makefile (routines): Add ifunc-impl-list.
65962         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65963         * string/test-string.h: Include <ifunc-impl-list.h>.
65964         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65965         TEST_NAME]: New variables.
65966         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65967         are defined.
65968         (test_init): Call __libc_ifunc_impl_list to initialize
65969         func_list if TEST_IFUNC and TEST_NAME are defined.
65971         * string/Makefile (strop-tests): Add bcopy and bzero.
65972         * string/test-bcopy.c: New file.
65973         * string/test-bzero.c: Likewise.
65974         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65975         defined.
65976         * string/test-memset.c: Support bzero test if TEST_BZERO is
65977         defined.
65978         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65979         __libc_memmove.
65980         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65981         __libc_memset.
65982         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65983         of memset.
65985 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65987         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65988         * configure: Regenerated.
65990         * Makeconfig (+link-static-before-libc): Don't include
65991         $(link-static-libc).
65993         * libio/libio.h (_IO_pos_t): Remove.
65995 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65997         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65998         McGrath.
66000 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
66002         * crypt/crypt-entry.c: Include fips-private.h.
66003         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
66004         * crypt/md5c-test.c (main): Tolerate disabled MD5.
66005         * sysdeps/unix/sysv/linux/fips-private.h: New file.
66006         * sysdeps/generic/fips-private.h: New file, dummy fallback.
66008 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
66010         * crypt/crypt-private.h: Include stdbool.h.
66011         (_ufc_setup_salt_r): Return bool.
66012         * crypt/crypt-entry.c: Include errno.h.
66013         (__crypt_r): Return NULL with EINVAL for bad salt.
66014         * crypt/crypt_util.c (bad_for_salt): New.
66015         (_ufc_setup_salt_r): Check that salt is long enough and within
66016         the specified alphabet.
66017         * crypt/badsalttest.c: New file.
66018         * crypt/Makefile (tests): Add it.
66019         ($(objpfx)badsalttest): New.
66021 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
66023         * NEWS: Add entry for BZ #14602.
66025 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
66027         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
66028         type-generic.
66029         * math/libm-test.inc: Update comment listing what functions and
66030         macros are tested.
66031         (isgreater_test): New function.
66032         (isgreaterequal_test): Likewise.
66033         (isless_test): Likewise.
66034         (islessequal_test): Likewise.
66035         (islessgreater_test): Likewise.
66036         (isunordered_test): Likewise.
66037         (main): Call the new functions.
66039 2012-10-09  Roland McGrath  <roland@hack.frob.com>
66041         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
66042         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
66043         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
66044         * sysdeps/i386/configure: Regenerated.
66045         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
66046         * sysdeps/mach/configure: Regenerated.
66047         * sysdeps/mach/hurd/configure: Regenerated.
66048         * sysdeps/powerpc/configure: Regenerated.
66049         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66050         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66051         * sysdeps/s390/s390-32/configure: Regenerated.
66052         * sysdeps/s390/s390-64/configure: Regenerated.
66053         * sysdeps/sh/configure: Regenerated.
66054         * sysdeps/sparc/configure: Regenerated.
66055         * sysdeps/unix/sysv/linux/configure: Regenerated.
66056         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
66057         * sysdeps/x86_64/configure: Regenerated.
66059         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
66060         defined.  Don't check if MAP is NULL.
66062 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
66064         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
66065         (_G_stat64): Likewise.
66066         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
66067         (_G_stat64): Likewise.
66068         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
66069         instead of struct _G_stat64.
66070         * libio/fileops.c (mmap_remap_check): Likewise.
66071         (decide_maybe_mmap): Likewise.
66072         (_IO_new_file_seekoff): Likewise.
66073         (_IO_file_stat): Likewise.
66074         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
66075         _G_off64_t.
66076         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
66077         instead of struct _G_stat64.
66078         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66080 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
66082         [BZ #14602]
66083         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66084         Replace with ...
66085         (CHECK_EOL): New macro.
66086         (two_way_short_needle): Check beginning of haystack for EOL.  Use
66087         CHECK_EOL.
66088         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66089         Replace with CHECK_EOL.
66090         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66091         Replace with CHECK_EOL.
66093 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
66095         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
66096         type-generic.
66097         * math/libm-test.inc: Update comment listing what functions and
66098         macros are tested.
66099         (finite_test): New function.
66100         (isinf_test): Likewise.
66101         (isnan_test): Likewise.
66102         (fpclassify_test): Test subnormal input.
66103         (isfinite_test): Likewise.
66104         (isnormal_test): Likewise.
66105         (main): Call the new functions.
66107 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
66109         [BZ #14660]
66110         * Makerules (%.dynsym): Force C locale when running
66111         $(OBJDUMP) --dynamic-syms.
66113 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
66115         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66116         <stdint.h>.
66118 2012-10-06  David S. Miller  <davem@davemloft.net>
66120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66121         upper 32-bits of the length value in %o2 since we use branch-on-register
66122         tests which consider the entire 64-bit register.
66124 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
66126         * string/test-strstr.c (check2): Add a test for page boundary.
66128 2012-10-05  David S. Miller  <davem@davemloft.net>
66130         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66131         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66132         file.
66133         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66134         sysdep_routines.
66135         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66136         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66137         and bzero when HWCAP_SPARC_CRYPTO is present.
66139 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
66141         [BZ #14602]
66142         * string/test-strstr.c (check2): New function.
66143         (test_main): Call check2.
66145         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66146         and bug-strchr1.
66147         * string/bug-strcasestr1.c (do_test): Moved to ...
66148         * string/test-strcasestr.c (check1): Here.  New function.
66149         (do_one_test): Break out result checking code into ...
66150         (check_result): This.  New function.
66151         (do_one_test): Call check_result.
66152         (test_main): Call check1.
66153         * string/bug-strchr1.c (do_test): Moved to ...
66154         * string/test-strchr.c (check1): Here.  New function.
66155         (do_one_test): Break out result checking code into ...
66156         (check_result): This.  New function.
66157         (do_one_test): Call check_result.
66158         (test_main): Call check1.
66159         * string/bug-strstr1.c (main): Moved to ...
66160         * string/test-strstr.c (check1): Here.  New function.
66161         (do_one_test): Break out result checking code into ...
66162         (check_result): This.  New function.
66163         (do_one_test): Call check_result.
66164         (test_main): Call check1.
66165         * string/bug-strcasestr1.c: Removed.
66166         * string/bug-strchr1.c: Likewise.
66167         * string/bug-strstr1.c: Likewise.
66169         * elf/Makefile (dl-routines): Add hwcaps.
66170         * elf/dl-support.c (_dl_important_hwcaps): Removed.
66171         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66172         (_dl_important_hwcaps): Moved to ...
66173         * elf/dl-hwcaps.c: Here.  New file.
66174         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66176         [BZ #14557]
66177         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66178         if IS_IN_rtld isn't defined.
66180         * elf/dl-support.c (_dl_sysinfo_map): New.
66181         Include "get-dynamic-info.h" and "setup-vdso.h".
66182         (_dl_non_dynamic_init): Call setup_vdso.
66183         * elf/dynamic-link.h: Don't include <assert.h>.
66184         (elf_get_dynamic_info): Moved to ...
66185         * elf/get-dynamic-info.h: Here.  New file.
66186         * elf/dynamic-link.h: Include "get-dynamic-info.h".
66187         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66188         * elf/setup-vdso.h: Here.  New file.
66189         * elf/rtld.c: Include "setup-vdso.h".
66190         (dl_main): Call setup_vdso.
66192 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
66194         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66195         creal in comment listing functions tested.  List finite, isinf,
66196         isnan, isless, islessequal, isgreater, isgreaterequal,
66197         islessgreater, isunordered, lgamma_r and pow10 as functions and
66198         macros not tested.  Mention which functions not tested are aliases
66199         for other functions.  Fix typo.  Note that signs of NaNs are not
66200         tested.
66202         * scripts/config.guess: Update from config.git.
66203         * scripts/config.sub: Likewise.
66205 2012-10-04  Roland McGrath  <roland@hack.frob.com>
66207         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66208         * misc/madvise.c (madvise): Renamed to __madvise.
66209         Make madvise a weak alias.
66210         * include/sys/mman.h: Declare __madvise.
66211         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66212         * sysdeps/unix/syscalls.list
66213         (madvise): Make __madvise the strong name, and madvise a weak alias.
66214         * sysdeps/unix/sysv/linux/syscalls.list
66215         (madvise, mmap): Remove redundant entries.
66216         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66217         * malloc/malloc.c (mtrim): Likewise.
66218         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66220 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66222         * sysdeps/mach/hurd/dl-cache.c: File removed.
66223         * config.h.in (USE_LDCONFIG): New #undef.
66224         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66225         * configure: Regenerated.
66226         * elf/Makefile (dl-routines): Add dl-cache only under
66227         [$(use-ldconfig) = yes].
66228         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66229         cache on [USE_LDCONFIG].
66230         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66231         [USE_LDCONFIG].
66232         * elf/rtld.c (dl_main): Likewise.
66234 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
66236         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66237         _SC_LEVEL4_CACHE_LINESIZE.
66239 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66241         * sysdeps/unix/bsd/confstr.h: File removed.
66243 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
66245         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66246         sys/sdt-config.h.
66248 2012-10-02  Roland McGrath  <roland@hack.frob.com>
66250         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66251         Make 'mapoff' field ElfW(Off) rather than off_t.
66253 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
66255         * nscd/Makefile: Remove nscd-cflags and all its users.
66256         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66257         (CFLAGS-nonlib): Add compiler flags for nscd modules.
66259         [BZ #10631]
66260         * malloc.c (malloc_printerr): Clarify error message.
66262 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
66264         [BZ #14648]
66265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66266         Set bit_FMA_Usable if FMA is supported.
66267         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66268         macro.
66269         (bit_FMA4_Usable): Updated.
66270         (index_FMA_Usable): New macro.
66271         (CPUID_FMA): Likewise.
66272         (HAS_FMA): Defined with bit_FMA_Usable.
66274 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66276         * bits/types.h (__swblk_t): Type removed.
66277         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66278         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66279         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66280         (__SWBLK_T_TYPE): Likewise.
66281         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66282         (__SWBLK_T_TYPE): Likewise.
66283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66284         (__SWBLK_T_TYPE): Likewise.
66285         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66286         (__SWBLK_T_TYPE): Likewise.
66288 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
66289             Honza Horak <hhorak@redhat.com>
66291         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66292         (xdr_mapname): Use YPMAXMAP as maxsize.
66293         (xdr_peername): Use YPMAXPEER as maxsize.
66294         (xdr_keydat): Use YPAXRECORD as maxsize.
66295         (xdr_valdat): Use YPMAXRECORD as maxsize.
66297 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66299         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66301         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66302         * csu/init-first.c: ... here.
66303         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66304         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66305         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66306         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66307         * sysdeps/i386/init-first.c: File removed.
66308         * sysdeps/sh/init-first.c: File removed.
66310 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
66312         [BZ #14645]
66313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66314         if x * y might underflow to zero and z is zero.
66315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66316         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66317         * math/libm-test.inc (min_subnorm_value): New variable.
66318         (fma_test): Add more tests.
66319         (fma_test_towardzero): Likewise.
66320         (fma_test_downward): Likewise.
66321         (fma_test_upward): Likewise.
66322         (initialize): Set min_subnorm_value.
66324 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
66326         [BZ #14638]
66327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66328         0 + 0.
66329         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66330         mode for addition resulting in exact zero.
66331         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66332         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66333         exact 0 + 0.
66334         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66335         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66336         * math/libm-test.inc (fma_test): Add more tests.
66337         (fma_test_towardzero): New function.
66338         (fma_test_downward): Likewise.
66339         (fma_test_upward): Likewise.
66340         (main): Call the new functions.
66342 2012-09-28  David S. Miller  <davem@davemloft.net>
66344         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66346 2012-09-28  Roland McGrath  <roland@hack.frob.com>
66348         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66349         instead of SIGALRM.
66351         * sysdeps/gnu/_G_config.h: Moved to ...
66352         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66353         * sysdeps/mach/hurd/_G_config.h: Moved to ...
66354         * sysdeps/generic/_G_config.h: ... here.
66356         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
66358         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66360         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66361         Conditionalize target on [libnss_test1.so-version].
66363         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66365         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66366         (elfobjdir): Move out of conditionals.
66368         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66369         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66370         (__nss_lookup_function): Conditionalize label remove_from_tree on
66371         [!DO_STATIC_NSS || SHARED], matching its only use.
66373 2012-09-28  David S. Miller  <davem@davemloft.net>
66375         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66376         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66377         file.
66378         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66379         sysdep_routines.
66380         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66381         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66382         when HWCAP_SPARC_CRYPTO is present.
66384 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66386         * io/tst-mknodat.c: Create a FIFO instead of a socket.
66388 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
66390         [BZ #6530]
66391         * stdio-common/vfprintf.c (process_string_arg): Revert
66392         2000-07-22 change.
66394 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
66396         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66397         for testcase.
66398         * stdio-common/tst-sprintf.c: Include <locale.h>
66399         (main): Test sprintf's handling of incomplete multibyte
66400         characters.
66402 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
66404         * elf/dl-runtime.c (VERSYMIDX): Removed.
66405         * elf/dl-version.c (VERSYMIDX): Likewise.
66406         * elf/do-rel.h (VERSYMIDX): Likewise.
66407         (VALIDX): Likewise.
66408         * elf/dynamic-link.h (VERSYMIDX): Likewise.
66409         * elf/rtld.c (VALIDX): Likewise.
66410         (ADDRIDX): Likewise.
66411         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66412         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66413         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66414         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66415         (VALIDX): Likewise.
66416         (ADDRIDX): Likewise.
66418 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66420         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66422 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
66424         [BZ #11438]
66425         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66426         to global scope.
66427         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66428         addresses are in the same scope as 192.0.2/24.
66429         * posix/gai.conf: Document new scope table defaults.
66431 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66433         [BZ #5298]
66434         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66435         for ftell.  Compute offsets from write pointers instead.
66436         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66438 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66440         [BZ #14543]
66441         * libio/Makefile (tests): New test case tst-fseek.
66442         * libio/tst-fseek.c: New test case to verify that fseek/ftell
66443         combination works in wide mode.
66444         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66445         state when the external buffer state changes.
66447 2012-09-27  David S. Miller  <davem@davemloft.net>
66449         [BZ #14376]
66450         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66451         pass reloc->r_addend in as the 'high' argument to
66452         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66456 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66458         * rt/tst-aio2.c: Include <pthread.h>.
66459         * rt/tst-aio3.c: Likewise.
66461 2012-09-27  Steve Ellcey  <sellcey@mips.com>
66463         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66465 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
66467         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66468         contents on [SHARED].
66470 2012-09-26  Marek Polacek  <polacek@redhat.com>
66472         [BZ #14530]
66473         [BZ #13741]
66474         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66475         for C++ and GCC <4.3 as well as for non GCC compilers.
66477 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66481 2012-09-25  Roland McGrath  <roland@hack.frob.com>
66483         * Makefile.in (all, install): Declare with .PHONY.
66484         Reported by Michael Hope <michael.hope@linaro.org>.
66486 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66488         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66489         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66490         system header.
66491         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66492         Likewise.
66493         (sydep_routines): Add the new and the internal functions.
66494         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66495         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66497         (GLIBC_2.17): Add the new function.
66498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66499         (GLIBC_2.17): Likewise.
66500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66501         (GLIBC_2.17): Likewise.
66502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66503         (GLIBC_2.17): Likewise.
66504         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66506 2012-09-25  Alan Modra  <amodra@gmail.com>
66508         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66509         Add release barrier before setting once_control to say
66510         initialisation is done.  Add hints on lwarx.  Use macro in
66511         place of isync.
66512         (clear_once_control): Add release barrier.
66514 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66516         [BZ #13629]
66517         * math/s_clog.c (__clog): Handle more values close to |z| = 1
66518         specially.
66519         * math/s_clog10.c (__clog10): Likewise.
66520         * math/s_clog10f.c (__clog10f): Likewise.
66521         * math/s_clog10l.c (__clog10l): Likewise.
66522         * math/s_clogf.c (__clogf): Likewise.
66523         * math/s_clogl.c (__clogl): Likewise.
66524         * math/Makefile (libm-calls): Add x2y2m1.
66525         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66526         (__x2y2m1): Likewise.
66527         (__x2y2m1l): Likewise.
66528         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66529         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66530         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66531         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66532         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66533         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66534         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66535         * sysdeps/i386/fpu/libm-test-ulps: Update.
66536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66538         [BZ #14621]
66539         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66540         int as type of variable DEPTH.
66541         (glob): Use size_t instead of int as type of variables NEWCOUNT
66542         and OLD_PATHC.
66544 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66546         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66547         Add s_sincosf-sse2.
66548         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66549         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66550         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66551         macros for using routine as __sincosf_ia32.
66552         Use macro for function declaration and weak_alias.
66553         * sysdeps/i386/fpu/libm-test-ulps: Update.
66555         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66558         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66559         subnormal argument.
66560         * math/s_cexpf.c (__cexpf): Likewise.
66561         * math/s_csinf.c (__csinf): Likewise.
66562         * math/s_csinhf.c (__csinhf): Likewise.
66563         * math/s_ctanf.c (__ctanf): Likewise.
66564         * math/s_ctanhf.c (__ctanhf): Likewise.
66565         * math/s_ccosh.c (__ccoshf): Likewise.
66566         * math/s_cexp.c (__cexpl): Likewise.
66567         * math/s_csin.c (__csin): Likewise.
66568         * math/s_csinh.c (__csinh): Likewise.
66569         * math/s_ctan.c (__ctan): Likewise.
66570         * math/s_ctanh.c (ctanh): Likewise.
66571         * math/s_ccoshl.c (__ccoshl): Likewise.
66572         * math/s_cexpl.c (__cexpl): Likewise.
66573         * math/s_csinl.c (__csinl): Likewise.
66574         * math/s_csinhl.c (__csinhl): Likewise.
66575         * math/s_ctanl.c (__ctanl): Likewise.
66576         * math/s_ctanhl.c (__ctanhl): Likewise.
66578 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66580         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66581         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66582         (_IO_off_t): Define to __off_t, not _G_off_t.
66583         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66584         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66585         (_IO_wint_t): Define to wint_t, not _G_wint_t.
66586         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66587         type of __dummy and __dummy2 fields.
66588         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66589         (_G_ssize_t): Likewise.
66590         (_G_off_t): Likewise.
66591         (_G_pid_t): Likewise.
66592         (_G_uid_t): Likewise.
66593         (_G_wchar_t): Likewise.
66594         (_G_wint_t): Likewise.
66595         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66596         (_G_ssize_t): Likewise.
66597         (_G_off_t): Likewise.
66598         (_G_pid_t): Likewise.
66599         (_G_uid_t): Likewise.
66600         (_G_wchar_t): Likewise.
66601         (_G_wint_t): Likewise.
66602         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66603         (_G_ssize_t): Likewise.
66604         (_G_off_t): Likewise.
66605         (_G_pid_t): Likewise.
66606         (_G_uid_t): Likewise.
66607         (_G_wchar_t): Likewise.
66608         (_G_wint_t): Likewise.
66610 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66612         * malloc/arena.c: Include malloc-sysdep.h.
66613         (shrink_heap): Use check_may_shrink_heap to decide if madvise
66614         is sufficient to shrink the heap or an unmap is needed.
66615         * sysdeps/generic/malloc-sysdep.h: New file.  Define
66616         new function check_may_shrink_heap.
66617         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
66618         new function check_may_shrink_heap.
66620 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66622         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66623         comments.
66625 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
66627         * catgets/test-gencat.sh: Add "set -e".
66628         * elf/tst-pathopt.sh: Likewise.
66629         * grp/tst_fgetgrent.sh: Likewise.
66630         * iconvdata/run-iconv-test.sh: Likewise.
66631         * intl/tst-gettext.sh: Likewise.
66632         * intl/tst-gettext2.sh: Likewise.
66633         * intl/tst-gettext4.sh: Likewise.
66634         * intl/tst-gettext6.sh: Likewise.
66635         * intl/tst-translit.sh: Likewise.
66636         * io/ftwtest-sh: Likewise.
66637         * libio/test-freopen.sh: Likewise.
66638         * malloc/tst-mtrace.sh: Likewise.
66639         * posix/globtest.sh: Likewise.
66640         * posix/tst-getconf.sh: Likewise.
66641         * posix/wordexp-tst.sh: Likewise.
66642         * stdio-common/tst-printf.sh: Likewise.
66643         * stdio-common/tst-unbputc.sh: Likewise.
66644         * stdlib/tst-fmtmsg.sh: Likewise.
66645         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66646         * catgets/Makefile: Do not specify -e option when running
66647         testsuite shell scripts.
66648         * elf/Makefile: Likewise.
66649         * grp/Makefile: Likewise.
66650         * iconvdata/Makefile: Likewise.
66651         * intl/Makefile: Likewise.
66652         * io/Makefile: Likewise.
66653         * libio/Makefile: Likewise.
66654         * malloc/Makefile: Likewise.
66655         * posix/Makefile: Likewise.
66656         * stdio-common/Makefile: Likewise.
66657         * stdlib/Makefile: Likewise.
66658         * sysdeps/x86_64/Makefile: Likewise.
66660         * io/ftwtest-sh: Add copyright header.
66661         * posix/globtest.sh: Likewise.
66662         * posix/tst-getconf.sh: Likewise.
66663         * posix/wordexp-tst.sh: Likewise.
66664         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66666 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
66668         [BZ #13679]
66669         * Makeconfig (+link): Defined as $(+link-static) if
66670         $(build-shared) isn't yes.
66671         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66672         isn't yes.
66673         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66675         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66677         [BZ #14562]
66678         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66679         new chunk size with MALLOC_ALIGN_MASK.
66681 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
66683         [BZ #5044]
66684         * stdio-common/printf_fphex.c: Include <stdbool.h> and
66685         <rounding-mode.h>.
66686         (__printf_fphex): Determine rounding using get_rounding_mode and
66687         round_away.
66688         * stdio-common/tst-printf-round.c (struct hex_test): New
66689         structure.
66690         (hex_tests): New variable.
66691         (test_hex_in_one_mode): New function.
66692         (do_test): Also run tests for hex float output.
66694 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
66696         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66697         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66698         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66699         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66700         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66701         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66702         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66703         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66705 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
66707         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66708         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66709         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66710         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66712 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
66714         [BZ #14579]
66715         * elf/rtld.c (dl_main): Limit the check for self loading to normal
66716         mode only.
66717         * elf/tst-rtld-load-self.sh: New test.
66718         * elf/Makefile: Run it.
66720 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
66722         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66723         (tst-writev-ENV): Remove.
66724         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66726 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
66728         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66730 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
66732         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66733         unconditional.
66734         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66735         Likewise.
66736         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66737         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66738         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66739         Likewise.
66741 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
66743         [BZ #14587]
66744         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66745         * config.make.in (have-cpp-asm-debuginfo): Removed.
66746         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66747         * configure: Regenerated.
66749 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
66751         [BZ #5044]
66752         * stdio-common/printf_fp.c: Include <stdbool.h> and
66753         <rounding-mode.h>.
66754         (___printf_fp): Determine rounding using get_rounding_mode and
66755         round_away.
66756         * stdio-common/tst-printf-round.c: New file.
66757         * stdio-common/Makefile (tests): Add tst-printf-round.
66758         (link-libm): New variable.
66759         ($(objpfx)tst-printf-round): Depend in $(link-libm).
66761 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
66763         [BZ #14576]
66764         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66765         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66766         Likewise.
66767         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66768         Likewise.
66770 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
66772         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66773         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66774         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66775         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66777 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
66779         [BZ #14518]
66780         * include/rounding-mode.h: New file.
66781         * sysdeps/generic/get-rounding-mode.h: Likewise.
66782         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66783         * stdlib/strtod_l.c: Include <rounding-mode.h>.
66784         (MAX_VALUE): New macro.
66785         (MIN_VALUE): Likewise.
66786         (overflow_value): New function.
66787         (underflow_value): Likewise.
66788         (round_and_return): Use overflow_value and underflow_value to
66789         determine return values in overflow and underflow cases.  Use
66790         round_away to determine rounding depending on rounding mode.
66791         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66792         determine return values in overflow and underflow cases.
66793         * stdlib/tst-strtod-round.c: Include <fenv.h>.
66794         (struct test_results): New structure.
66795         (struct test): Use struct test_results to store expected results
66796         for all rounding modes.
66797         (TEST): Include expected results for all rounding modes.
66798         (test_in_one_mode): New function.
66799         (do_test): Use test_in_one_mode to compute and check results.
66800         Check results for all rounding modes.
66801         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66802         $(link-libm).
66804 2012-12-09  Allan McRae  <allan@archlinux.org>
66806         * sysdeps/i386/fpu/libm-test-ulps: Update
66808 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
66810         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66811         (_G_int32_t): Likewise.
66812         (_G_uint16_t): Likewise.
66813         (_G_uint32_t): Likewise.
66814         (_G_HAVE_BOOL): Likewise.
66815         (_G_HAVE_ATEXIT): Likewise.
66816         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66817         (_G_HAVE_IO_FILE_OPEN): Likewise.
66818         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66819         (_G_int32_t): Likewise.
66820         (_G_uint16_t): Likewise.
66821         (_G_uint32_t): Likewise.
66822         (_G_HAVE_BOOL): Likewise.
66823         (_G_HAVE_ATEXIT): Likewise.
66824         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66825         (_G_HAVE_IO_FILE_OPEN): Likewise.
66826         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66827         (_G_int32_t): Likewise.
66828         (_G_uint16_t): Likewise.
66829         (_G_uint32_t): Likewise.
66830         (_G_HAVE_BOOL): Likewise.
66831         (_G_HAVE_ATEXIT): Likewise.
66832         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66833         (_G_HAVE_IO_FILE_OPEN): Likewise.
66835 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
66837         * csu/libc-tls.c: Update copyright years.
66839 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
66841         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66842         [!_G_USING_THUNKS]: Remove conditional code.
66843         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66844         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66846         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66847         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66848         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66849         (_G_VTABLE_LABEL_PREFIX): Likewise.
66850         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66851         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66852         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66853         (_G_VTABLE_LABEL_PREFIX): Likewise.
66854         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66855         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66856         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66857         (_G_VTABLE_LABEL_PREFIX): Likewise.
66858         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66860 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
66862         * libio/Makefile: Include ../Makeconfig before tests.
66863         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66864         only if $(build-shared) is yes.
66866         * iconv/gconv_db.c: Update copyright years.
66868 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66870         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66871         unwind info if defined PIC. Fix special cases description.
66872         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66874         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66875         DP_HI_MASK entry.
66876         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66878 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
66880         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66882         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66883         is NULL.
66885         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66886         (LDLIBS-tst-chk4): This.
66887         (LDFLAGS-tst-chk5): Renamed to ...
66888         (LDLIBS-tst-chk5): This.
66889         (LDFLAGS-tst-chk6): Renamed to ...
66890         (LDLIBS-tst-chk6): This.
66891         (LDFLAGS-tst-lfschk4): Renamed to ...
66892         (LDLIBS-tst-lfschk4): This.
66893         (LDFLAGS-tst-lfschk5): Renamed to ...
66894         (LDLIBS-tst-lfschk5): This.
66895         (LDFLAGS-tst-lfschk6): Renamed to ...
66896         (LDLIBS-tst-lfschk6): This.
66898         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66899         on $(common-objpfx)soversions.mk.
66901 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66903         [BZ #10014]
66904         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66905         example host name.
66907 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66909         * malloc/arena.c (arena_get_retry): New function that gets
66910         another arena for the caller to try its request on.
66911         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66912         current arena cannot fulfill the request.
66913         (__libc_memalign): Likewise.
66914         (__libc_memalign): Likewise.
66915         (__libc_pvalloc): Likewise.
66916         (__libc_calloc): Likewise.
66918 2012-09-05  John Tobey  <john.tobey@gmail.com>
66920         [BZ #13542]
66921         * manual/arith.texi (Operations on Complex): Fix description
66922         of carg branch cut.
66924 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66926         [BZ #10014]
66927         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66928         host name.
66930         [BZ #10038]
66931         * manual/memory.texi (Memory): Make order of menu items match
66932         order of sections.
66934 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66936         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66937         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66938         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66940 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66942         * csu/libc-tls.c (static_dtv): Renamed to ...
66943         (_dl_static_dtv): This.  Make it global.
66944         (_dl_initial_dtv): Removed.
66945         (__libc_setup_tls): Updated.
66946         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66947         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66948         DL_INITIAL_DTV.
66950 2012-09-06  Petr Machata  <pmachata@redhat.com>
66952         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66953         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66954         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66955         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66957 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66959         [BZ #14545]
66960         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66961         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66962         freeing dtv[-1].
66964 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66966         [BZ #14544]
66967         * Makeconfig (link-static-before-libc): Replace $(+prector)
66968         with $(+prectorT).
66969         (link-static-after-libc): Replace $(+postctor) with
66970         $(+postctorT).
66971         (link-bounded): Replace $(+prector)/$(+postctor) with
66972         $(+prectorT)/$(+postctorT).
66973         (+prectorT): New macro.
66974         (+postctorT): Likewise.
66976 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66978         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66979         (round_str): Handle values above the maximum for IBM long double
66980         as inexact.
66981         * stdlib/tst-strtod-round.c (tests): Regenerated.
66983 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66985         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66986         assembler flag.
66987         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66988         zarch_nohighgprs around the zarch optimized routines.
66989         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66990         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66991         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66992         for zarch.
66994 2012-09-05  David S. Miller  <davem@davemloft.net>
66996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66998         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66999         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
67000         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
67001         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67002         entries.
67004 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67006         * malloc/arena.c: Fold copyright years.
67007         * malloc/mcheck.c, malloc/memusage.c: Likewise.
67009 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67011         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
67013 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67015         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
67017 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67019         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
67020         change internal state upon failure.
67022 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67024         * malloc/mcheck.c (mcheck_check_all): Fix typo.
67025         * malloc/memusage.c (mmap): Likewise.
67026         (mmap64, mremap): Likewise.  Adjust name in comment.
67028 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
67030         * libio/fileops.c: Fix typos in comments.
67031         * libio/oldfileops.c: Likewise.
67032         * libio/wfileops.c: Likewise.
67034 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
67036         [BZ #1349]
67037         * malloc/Makefile (tests): Add tst-malloc-usable test case.
67038         (tst-malloc-usable-ENV): Set environment for test case.
67039         * malloc/hooks.c (malloc_check_get_size): New function to get
67040         requested size.
67041         * malloc/malloc.c (musable): Use malloc_check_get_size.
67042         * malloc/tst-malloc-usable.c: New test case.
67044 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67046         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
67048 2012-09-05  Allan McRae  <allan@archlinux.org>
67050         [BZ #13966]
67051         * configure.in (CXX_SYSINCLUDES): Use compiler output to
67052         determine header location.
67053         * configure: Regenerated.
67055 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67057         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
67058         float format.
67059         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
67060         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
67061         format.
67062         (test): Regenerate.
67064 2012-09-04  David S. Miller  <davem@davemloft.net>
67066         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
67067         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
67068         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
67070 2012-09-04  Florian Weimer  <fweimer@redhat.com>
67072         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
67073         failures.
67075         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
67077 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
67079         [BZ #9914]
67080         * libio/iogetdelim.c: Include <limits.h>.
67081         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
67082         + len + 1 would overflow.
67084 2012-09-03  Andreas Jaeger  <aj@suse.de>
67086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67087         * sysdeps/i386/fpu/libm-test-ulps: Update.
67089 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67091         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67092         Add s_sinf-sse2, s_conf-sse2.
67094         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
67095         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
67096         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
67097         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
67099         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67100         for using routine as __sinf_ia32.
67101         Use macro for function declaration and weak_alias.
67102         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
67103         for using routine as __cosf_ia32.
67104         Use macro for function declaration and weak_alias.
67106         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
67107         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
67109         * sysdeps/x86_64/fpu/s_sinf.S: New file.
67110         * sysdeps/x86_64/fpu/s_cosf.S: New file.
67111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67113         * math/libm-test.inc (cos_test): Add more test cases.
67114         (sin_test): Likewise.
67115         (sincos_test): Likewise.
67117 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67120         (IFUNC_RESOLVE): Make pointers to the specialized implementations
67121         hidden.
67122         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67124 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
67126         [BZ #14538]
67127         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67128         first element of the GOT.
67129         (elf_machine_load_address): Return the difference between
67130         the runtime address of _DYNAMIC and elf_machine_dynamic ().
67132 2012-09-01  Allan McRae  <allan@archlinux.org>
67134         [BZ #13412]
67135         * configure.in (AWK): Require gawk version 3.0 or later.
67136         * configure: Regenerated.
67138 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
67140         * sysdeps/unix/sysv/linux/kernel-features.h
67141         (__ASSUME_POSIX_CPU_TIMERS): Remove.
67142         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67143         [__NR_clock_getres]: Make code unconditional.
67144         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67145         (clock_getcpuclockid): Remove code left unreachable by removal of
67146         conditionals.
67147         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67148         code unconditional.
67149         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67150         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67151         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67152         Make code unconditional.
67153         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67154         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67155         * sysdeps/unix/sysv/linux/clock_settime.c
67156         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67157         conditional code.
67158         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67159         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67161 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
67163         [BZ #14476]
67164         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67165         scripts/test-installation.pl.
67167         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67168         and $ld_so_version if it is set.
67170 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67172         [BZ #14516]
67173         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67174         failure if reading from procfs failed.
67175         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67177 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67179         * sysdeps/unix/sysv/linux/kernel-features.h
67180         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67181         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67182         Remove conditional code.
67183         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67184         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67185         Remove conditional code.
67186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67187         * sysdeps/unix/sysv/linux/i386/fxstat.c
67188         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67190         * sysdeps/unix/sysv/linux/i386/fxstatat.c
67191         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67193         * sysdeps/unix/sysv/linux/i386/lxstat.c
67194         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67196         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67197         Remove conditional code.
67198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67199         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67200         Remove conditional code.
67201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67202         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67203         <kernel-features.h>.
67204         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67205         Remove.
67206         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67207         Remove conditional code.
67208         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67209         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67210         Remove conditional.
67212 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
67214         [BZ #5400]
67215         * NEWS: Add fixed bug number.
67217 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67219         [BZ #14519]
67220         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67221         underflowing exponent in case of negative sign.
67222         * stdlib/tst-strtod-round-data: Add more tests.
67223         * stdlib/tst-strtod-round.c (tests): Regenerated.
67225         [BZ #3479]
67226         * stdlib/strtod_l.c (NDIG): Remove.
67227         (HEXNDIG): Likewise.
67228         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67229         smallest representable value.
67230         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67231         lie within an exact representation of 1/2 ulp of the result.
67232         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67233         unconditionally.
67234         (TENS_P9_IDX): Define unconditionally.
67235         (TENS_P9_SIZE): Likewise.
67236         (TENS_P10_IDX): Likewise.
67237         (TENS_P10_SIZE): Likewise.
67238         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67239         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67240         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67241         entries for 10^2^13 and 10^2^14.
67242         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67243         (TENS_P13_IDX): Define.
67244         (TENS_P13_SIZE): Likewise.
67245         (TENS_P14_IDX): Likewise.
67246         (TENS_P14_SIZE): Likewise.
67247         (_fpioconst_pow10): Change array size to
67248         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
67249         unconditional.
67250         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67251         1024]: Add entries for 10^2^13 and 10^2^14.
67252         [LAST_POW10 > _LAST_POW10]: Remove #error.
67253         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67254         (_fpioconst_pow10): Change array size to
67255         FPIOCONST_POW10_ARRAY_SIZE.
67256         * stdlib/gen-fpioconst.c: New file.
67257         * stdlib/gen-tst-strtod-round.c: Likewise.
67258         * stdlib/tst-strtod-round-data: Likewise.
67259         * stdlib/tst-strtod-round.c: Likewise.
67260         * stdlib/Makefile (tests): Add tst-strtod-round.
67262         [BZ #14459]
67263         * stdlib/strtod_l.c: Include <stdint.h>.
67264         (NDEBUG): Do not define.
67265         (round_and_return): Change EXPONENT parameter to type intmax_t.
67266         Rearrange calculations to avoid internal overflow possibilities.
67267         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67268         Rearrange calculations to avoid internal overflow possibilities.
67269         Assert that number fits inside MPNSIZE limbs.
67270         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67271         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
67272         calculations and add assertions to avoid internal overflow
67273         possibilities.  Add casts to avoid signed/unsigned operations.
67274         * stdlib/tst-strtod-overflow.c: New file.
67275         * stdlib/Makefile (tests): Add tst-strtod-overflow.
67277 2012-08-25  Marek Polacek  <polacek@redhat.com>
67279         * time/time.h: Fix some typos in comments.
67281 2012-08-23  Roland McGrath  <roland@hack.frob.com>
67283         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67284         * posix/tst-rfc3484-2.c: Likewise.
67285         * posix/tst-rfc3484-3.c: Likewise.
67287 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
67289         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67290         (EF_ARM_ABI_FLOAT_HARD): Likewise.
67292 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
67294         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67295         #include of fxstatat64.c.
67297 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67299         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67300         * shadow/getspent_r.c: Likewise.
67301         * shadow/getspnam.c: Likewise.
67302         * shadow/getspnam_r.c: Likewise.
67303         * gshadow/getsgent.c: Likewise.
67304         * gshadow/getsgent_r.c: Likewise.
67305         * gshadow/getsgnam.c: Likewise.
67306         * gshadow/getsgnam_r.c: Likewise.
67307         * inet/getnetbyad.c: Likewise.
67308         * inet/getnetbyad_r.c: Likewise.
67309         * inet/getnetbynm.c: Likewise.
67310         * inet/getnetbynm_r.c: Likewise.
67311         * inet/getnetent.c: Likewise.
67312         * inet/getnetent_r.c: Likewise.
67313         * inet/getproto.c: Likewise.
67314         * inet/getproto_r.c: Likewise.
67315         * inet/getprtent.c: Likewise.
67316         * inet/getprtent_r.c: Likewise.
67317         * inet/getprtname.c: Likewise.
67318         * inet/getprtname_r.c: Likewise.
67319         * inet/getrpcbyname.c: Likewise.
67320         * inet/getrpcbyname_r.c: Likewise.
67321         * inet/getrpcbynumber.c: Likewise.
67322         * inet/getrpcbynumber_r.c: Likewise.
67323         * inet/getrpcent.c: Likewise.
67324         * inet/getrpcent_r.c: Likewise.
67325         * inet/getaliasent.c: Likewise.
67326         * inet/getaliasent_r.c: Likewise.
67327         * inet/getaliasname.c: Likewise.
67328         * inet/getaliasname_r.c: Likewise.
67329         * nscd/getgrgid_r.c: Likewise.
67330         * nscd/getgrnam_r.c: Likewise.
67331         * nscd/gethstbyad_r.c: Likewise.
67332         * nscd/gethstbynm3_r.c: Likewise.
67333         * nscd/getpwnam_r.c: Likewise.
67334         * nscd/getpwuid_r.c: Likewise.
67335         * nscd/getsrvbynm_r.c: Likewise.
67336         * nscd/getsrvbypt_r.c: Likewise.
67337         * nscd/gai.c: Likewise.
67339         * configure.in (build_nscd): New substituted variable, set
67340         by --disable-build-nscd and defaults to $use_nscd.
67341         * configure: Regenerated.
67342         * config.make.in (build-nscd): New substituted variable.
67343         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67344         Change conditional to require [$(build-nscd) = yes] as well.
67345         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67347         [BZ# 13696]
67348         * configure.in (use_nscd): New substituted variable, set by
67349         --disable-nscd.  If enabled, define USE_NSCD.
67350         * configure: Regenerated.
67351         * config.h.in: Add USE_NSCD.
67352         * config.make.in (use-nscd): New substituted variable.
67353         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67354         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67355         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67356         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67357         (CFLAGS-getgrnam_r.c): Likewise.
67358         (CFLAGS-initgroups.c): Likewise.
67359         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67360         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67361         Variables removed.
67362         * inet/getnetgrent_r.c
67363         (nscd_setnetgrent): New function, broken out of ...
67364         (setnetgrent): ... here.  Call it.
67365         (innetgr): Conditionalize nscd bits on [USE_NSCD].
67366         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67367         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67368         * nscd/Makefile (routines, aux): Move definitions after include of
67369         Makeconfig.  Conditionalize on [$(use-nscd) != no].
67370         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67371         Conditionalize on [USE_NSCD].
67372         (is_nscd, nscd_init_cb): Likewise.
67373         (nss_load_library): Conditionalize init callback on [USE_NSCD].
67374         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67375         * nss/nss_db/db-init.c: Likewise.
67376         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67377         [USE_NSCD].
67378         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67379         (make_request): Use it.
67380         (cache_valid_p): New function.
67381         (__check_pf): Use it.
67382         * NEWS: Add item for --disable-nscd.
67384 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
67386         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67387         to support sed >= 4.2.1-20-ga9bf076.
67388         * configure: Regenerated.
67390 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67392         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67393         Conditionalize whole body on [IREL].
67395 2012-08-22  Jeff Law <law@redhat.com>
67397         [BZ #14505]
67398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67399         if the family is PF_UNSPEC.
67401 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
67403         * Makerules (lib-version): Rename from V.
67404         (install-lib-nosubdir): Change V to lib-version.
67406 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
67408         [BZ #14252]
67409         * powerpc32/power6/wcschr.c: New file.
67410         * powerpc32/power6/wcscpy.c: New file.
67411         * powerpc32/power6/wcsrchr.c: New file.
67412         * powerpc64/power6/wcschr.c: New file.
67413         * powerpc64/power6/wcscpy.c: New file.
67414         * powerpc64/power6/wcsrchr.c: New file.
67416 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67418         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67419         (two_way_short_needle): Use it.
67420         * string/strstr.c (AVAILABLE1_USES_J): Define.
67421         * string/strcasestr.c: Likewise.
67423         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67424         array references.
67425         * string/strcasestr.c (TOLOWER): Make side-effect safe.
67427         [BZ #11607]
67428         * NEWS: Add an entry.
67429         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67430         define their defaults.
67431         (two_way_short_needle): Detect end-of-string on-the-fly.
67432         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67433         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67434         * string/bug-strcasestr1.c: New test.
67435         * string/Makefile: Run it.
67437 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67439         [BZ #11607]
67440         * string/str-two-way.h (two_way_short_needle): Optimize matching of
67441         the first character.
67443 2012-08-21  Roland McGrath  <roland@hack.frob.com>
67445         * csu/elf-init.c (__libc_csu_irel): Function removed.
67446         * csu/libc-start.c (apply_irel): New function.
67447         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67449 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
67451         * sysdeps/unix/sysv/linux/kernel-features.h
67452         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67453         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67454         <kernel-features.h>.
67455         [__NR_fadvise64_64]: Make code unconditional.
67456         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67457         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67458         !__NR_fadvise64_64)]: Likewise.
67459         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67460         !__NR_fadvise64_64))]: Likewise.
67461         [__NR_fadvise64]: Make code unconditional.
67462         [!__NR_fadvise64]: Remove conditional code.
67463         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67464         <kernel-features.h>.
67465         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67466         unconditional.
67467         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67468         conditional code.
67469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67470         not include <kernel-features.h>.
67471         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67472         unconditional.
67473         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67474         conditional code.
67475         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67476         include <kernel-features.h>.
67477         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67478         unconditional.
67479         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67480         conditional code.
67482 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67484         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67485         slight instruction rearrangements per scrollpipe analysis.
67486         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67488 2012-08-20  Roland McGrath  <roland@hack.frob.com>
67490         * manual/syslog.texi (syslog; vsyslog, closelog):
67491         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67492         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67494         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67495         DSOCAPS to match condition on defining it.
67497 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
67499         * sysdeps/unix/sysv/linux/kernel-features.h
67500         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67502         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67503         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67505         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67506         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67508         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67509         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67511         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67512         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67514         * sysdeps/unix/sysv/linux/kernel-features.h
67515         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67516         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67517         unconditional.
67518         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67519         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67520         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67521         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67522         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67523         Make code unconditional.
67524         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67525         (__mmap64) [!__NR_mmap2]: Likewise.
67526         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67527         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67528         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67529         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67530         [__NR_mmap2]: Make code unconditional.
67531         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67532         (__mmap64) [!__NR_mmap2]: Likewise.
67534 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67536         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67538 2012-08-18  Andreas Jaeger  <aj@suse.de>
67540         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67542 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67544         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67545         * include/unistd.h (__have_sock_cloexec): Likewise.
67546         (__have_pipe2): Likewise.
67547         (__have_dup3): Likewise.
67549 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67551         [BZ #9685]
67552         * include/unistd.h (__have_pipe2): Change define into an extern int.
67553         (__have_dup3): Likewise.
67554         * socket/have_sock_cloexec.c: Include fcntl.h.
67555         (__have_pipe2): New variable.
67556         (__have_dup3): Likewise.
67558 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
67560         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67562 2012-08-17  Marek Polacek  <polacek@redhat.com>
67564         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67565         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67567 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67569         * configure.in: Add AC_SUBST for sysheaders.
67570         * configure: Regenerated.
67571         * config.make.in (sysheaders): New substituted variable.
67573         * sysdeps/unix/mkfifo.c: Moved ...
67574         * sysdeps/posix/mkfifo.c: ... here.
67575         * sysdeps/unix/mkfifoat.c: Moved ...
67576         * sysdeps/posix/mkfifoat.c: ... here.
67578         * sysdeps/unix/utime.c: Moved ...
67579         * sysdeps/posix/utime.c: ... here.
67581         * sysdeps/unix/time.c: Moved ...
67582         * sysdeps/posix/time.c: ... here.
67583         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67584         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67586         * sysdeps/unix/nice.c: Moved ...
67587         * sysdeps/posix/nice.c: ... here.
67589         * sysdeps/unix/alarm.c: Moved ...
67590         * sysdeps/posix/alarm.c: ... here.
67592         * intl/Makefile ($(codeset_mo)): Depend on the input file.
67594 2012-08-17  Jeff Law <law@redhat.com>
67596         * intl/Makefile (codeset_mo): New variable.
67597         ($(codeset_mo)): New target.
67598         (tst-codeset.out): Depend on that.  Remove explicit rule.
67599         (tst-gettext3.out, tst-gettext5.out): Likewise.
67600         (LOCPATH-ENV, tst-codeset-ENV): New variables.
67601         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67602         * intl/tst-codeset.sh: Remove.
67603         * intl/tst-gettext3.sh: Likewise.
67604         * intl/tst-gettext5.sh: Likewise.
67606 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67608         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
67609         * sysdeps/unix/syscalls.list: ... here.
67611         * sysdeps/posix/getaddrinfo.c
67612         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67613         (gaiconf_init, gaiconf_reload): Use them.
67614         [!_STATBUF_ST_NSEC]
67615         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67616         Define using time_t rather than struct timespec.
67618         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67619         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67620         Macros removed.
67621         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67622         [!NO_THREADS].
67623         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67624         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67625         Likewise.
67627         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67628         __libc_cleanup_push argument.
67630         * bits/param.h: New file.
67631         * misc/sys/param.h: New file.
67632         * include/sys/param.h: New file.
67633         * misc/Makefile (headers): Add bits/param.h.
67634         * sysdeps/generic/sys/param.h: File removed.
67635         * sysdeps/unix/sysv/linux/bits/param.h: New file.
67636         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67637         * sysdeps/mach/hurd/bits/param.h: New file.
67638         * sysdeps/mach/hurd/sys/param.h: File removed.
67640         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67641         last change.
67643         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67644         [_IO_MTSAFE_IO].
67645         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67646         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67647         New macros.
67649         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67650         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67651         rather than -D_IO_MTSAFE_IO conditionally.
67652         * stdio-common/Makefile (CPPFLAGS): Likewise.
67653         * wcsmbs/Makefile (CPPFLAGS): Likewise.
67654         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67655         Use $(libio-mtsafe).
67656         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67657         of -D_IO_MTSAFE_IO.
67658         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67659         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67660         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67661         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67662         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67663         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67664         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67665         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67666         (CFLAGS-fread_u_chk.c): Likewise.
67667         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67668         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67669         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67670         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67671         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67672         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67673         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67674         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67675         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67677         * libio/Makefile: Test [$(libc-reentrant) = yes]
67678         instead of [$(filter %REENTRANT, $(defines)) nonempty].
67680         * Makeconfig
67681         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67682         * sysdeps/pthread/configure: File removed.
67683         * sysdeps/pthread/Makeconfig: New file.
67684         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67685         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67687 2012-08-16  Gary Benson  <gbenson@redhat.com>
67689         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67690         unmapping the first object in a namespace.
67692 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67694         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67695         (__internal_setnetgrent): ... this.  Add internal_function to
67696         definition.  Add libc_hidden_def.
67697         (setnetgrent): Update caller.
67698         (internal_endnetgrent): Renamed to ...
67699         (__internal_endnetgrent): ... this.  Add internal_function to
67700         definition.  Add libc_hidden_def.
67701         (endnetgrent): Update caller.
67702         (internal_getnetgrent_r): Renamed to ...
67703         (__internal_getnetgrent_r): ... this.  Add internal_function to
67704         definition.  Add libc_hidden_def.
67705         (__getnetgrent_r): Update caller.
67706         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
67708 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67710         * stdlib/longlong.h: Update from GCC.
67712 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67714         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67715         on _QL, which is set by umul_ppmm but never used.
67716         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67717         variables, which are set by GMP macros but never used.
67718         * stdio-common/_itowa.c (_itowa): Likewise.
67719         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67720         * stdlib/mod_1.c (mpn_mod_1): Likewise.
67722 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
67724         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67725         struct La_sh_regs is not constant.
67726         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67727         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67728         and struct La_sparc64_regs are not constant.
67730 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67732         * sysdeps/unix/sysv/linux/kernel-features.h
67733         (__ASSUME_POSIX_TIMERS): Remove.
67734         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67735         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67736         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67737         Make code unconditional.
67738         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67739         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67740         Make code unconditional.
67741         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67742         * sysdeps/unix/sysv/linux/clock_nanosleep.c
67743         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67744         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67745         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67746         Make code unconditional.
67747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67748         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67749         (__libc_missing_posix_timers): Remove.
67751 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67753         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67754         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67756         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67758         * elf/dl-sym.c: Include <stdlib.h>.
67760         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67761         constants, which avoids warnings in 32-bit builds.
67763         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67764         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67766         * misc/lseek.c: File moved to ...
67767         * io/lseek.c: ... here.
67769         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67771         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67772         shifting LEN more than 31 bits at once.
67774 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67776         [BZ #14195]
67777         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67778         segmentation fault for a case of two empty input strings.
67779         * string/test-strncasecmp.c (check1): Renamed to...
67780         (bz12205): ...this.
67781         (bz14195): Add new testcase for two empty input strings and N > 0.
67782         (test_main): Call new testcase, adapt for renamed function.
67784 2012-08-15  Andreas Jaeger  <aj@suse.de>
67786         [BZ #14090]
67787         * crypt/md5test2.c: New test, based on test supplied by Serge
67788         Belyshev <belyshev@depni.sinp.msu.ru>.
67789         * crypt/Makefile (xtests): Add md5test-giant..
67790         * crypt/Makefile ($(objpfx)md5test-giant): Add.
67792 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
67794         [BZ #14090]
67795         * crypt/md5.c (md5_process_block): Don't assume the buffer
67796         length is less than 2**32.
67797         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67798         length is less than 2**64.
67800 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67802         * string/str-two-way.h: Include <sys/param.h>.
67803         (MAX): Macro removed.
67805         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67806         Move #define and #undef of memmove to just before and after
67807         including <string.h>.
67809         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67810         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67811         and after including <string.h>.  Move declarations of
67812         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67813         to before #include "string/memmove.c".
67815         * include/dirent.h: Declare __getdirentries.
67817         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67818         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67820 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
67822         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67823         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67824         * sysdeps/i386/configure: Regenerated.
67825         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67826         STABS_CURRENT_FILE, and STABS_FUN.
67827         (END): Remove call to STABS_FUN_END.
67828         (STABS_CURRENT_FILE1): Delete.
67829         (STABS_CURRENT_FILE): Likewise.
67830         (STABS_FUN): Likewise.
67831         (STABS_FUN_END): Likewise.
67832         (STABS_FUN2): Likewise.
67833         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67834         * sysdeps/x86_64/configure: Regenerated.
67836 2012-08-14  Roland McGrath  <roland@hack.frob.com>
67838         * elf/dl-open.c: Include <atomic.h>.
67839         * elf/dl-lookup.c: Likewise.
67841 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
67843         * sysdeps/unix/sysv/linux/kernel-features.h
67844         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67845         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67846         unconditionally.
67847         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67848         unconditionally.
67849         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67850         condition on __ASSUME_CLONE_THREAD_FLAGS.
67852 2012-08-14  Andreas Jaeger  <aj@suse.de>
67854         * sysdeps/i386/fpu/libm-test-ulps: Update.
67856 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
67858         * include/atomic.h (atomic_exchange_and_add): Split into ...
67859         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67860         New atomic macros.
67862 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
67864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67866 2012-08-13  Jeff Law <law@redhat.com>
67868         * manual/stdio.texi (snprintf): Clarify handling of the trailing
67869         null byte in the output string.
67871 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
67873         * sysdeps/unix/sysv/linux/kernel-features.h
67874         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67875         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67876         (__ASSUME_ARG_MAX_STACK_BASED): Define.
67877         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67878         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67879         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
67880         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67882 2012-08-09  Jeff Law <law@redhat.com>
67884         [BZ #13939]
67885         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67886         When avoid_arena is set, don't retry in the that arena.  Pick the
67887         next one, whatever it might be.
67888         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67889         (arena_lock): Pass in new parameter to arena_get2.
67890         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67891         arena_get2.
67892         (__libc_malloc): Unify retrying after main arena failure with
67893         __libc_memalign version.
67894         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67896 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
67898         [BZ #14166]
67899         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67900         to __redirect_strstr.
67901         (__strstr_sse42): Use typeof __redirect_strstr.
67902         (__strstr_ia32): Likewise.
67903         (__libc_strstr): New prototype.
67904         (strstr): Renamed to ...
67905         (__libc_strstr): This.
67906         (strstr): New strong alias of __libc_strstr.
67907         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67908         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67909         __redirect_time.
67910         Include <time.h>.
67911         (__libc_time): New prototype.
67912         (time_ifunc): Replace time with __libc_time.
67913         (time): New strong alias and hidden definition of __libc_time.
67914         (__GI_time): Remove strong alias.
67915         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67916         Include <stddef.h>.
67917         (memmove): Redefined to __redirect_memmove.
67918         (__memmove_sse2): Use typeof __redirect_memmove.
67919         (__memmove_ssse3): Likewise.
67920         (__memmove_ssse3_back): Likewise.
67921         (__libc_memmove): New prototype.
67922         (memmove): Renamed to ...
67923         (__libc_memmove): This.
67924         (memmove): New strong alias of __libc_memmove.
67926 2012-08-08  Mark Salter  <msalter@redhat.com>
67928         * elf/elf.h
67929         (R_MN10300_TLS_GD): Define.
67930         (R_MN10300_TLS_LD): Likewise.
67931         (R_MN10300_TLS_LDO): Likewise.
67932         (R_MN10300_TLS_GOTIE): Likewise.
67933         (R_MN10300_TLS_IE): Likewise.
67934         (R_MN10300_TLS_LE): Likewise.
67935         (R_MN10300_TLS_DTPMOD): Likewise.
67936         (R_MN10300_TLS_DTPOFF): Likewise.
67937         (R_MN10300_TLS_TPOFF): Likewise.
67938         (R_MN10300_SYM_DIFF): Likewise.
67939         (R_MN10300_ALIGN): Likewise.
67940         (R_MN10300_NUM): Update.
67942 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67944         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67945         Remove.
67947 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67949         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67951         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67952         sysdeps/unix -> sysdeps/posix move.
67953         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67955 2012-08-07      Allan McRae     <allan@archlinux.org>
67957         [BZ #14303]
67958         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67959         (SUNOS_CPP): Likewise.
67960         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67961         not found.
67962         (open_input): Call CPP using execvp.
67964 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67966         * sysdeps/unix/sysv/linux/kernel-features.h
67967         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67968         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67969         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67970         (__ASSUME_WAITID_SYSCALL): Likewise.
67971         * sysdeps/unix/sysv/linux/dl-execstack.c
67972         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67973         code unconditional.
67974         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67975         conditional code.
67976         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67977         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67978         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67979         code.
67980         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67981         unconditional.
67982         [__ASSUME_WAITID_SYSCALL]: Likewise.
67983         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67985 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67987         * sysdeps/unix/closedir.c: Renamed to ...
67988         * sysdeps/posix/closedir.c: ... here.
67989         * sysdeps/unix/dirfd.c: Renamed to ...
67990         * sysdeps/posix/dirfd.c: ... here.
67991         * sysdeps/unix/dirstream.h: Renamed to ...
67992         * sysdeps/posix/dirstream.h: ... here.
67993         * sysdeps/unix/fdopendir.c: Renamed to ...
67994         * sysdeps/posix/fdopendir.c: ... here.
67995         * sysdeps/unix/opendir.c: Renamed to ...
67996         * sysdeps/posix/opendir.c: ... here.
67997         * sysdeps/unix/readdir.c: Renamed to ...
67998         * sysdeps/posix/readdir.c: ... here.
67999         * sysdeps/unix/readdir_r.c: Renamed to ...
68000         * sysdeps/posix/readdir_r.c: ... here.
68001         * sysdeps/unix/rewinddir.c: Renamed to ...
68002         * sysdeps/posix/rewinddir.c: ... here.
68003         * sysdeps/unix/seekdir.c: Renamed to ...
68004         * sysdeps/posix/seekdir.c: ... here.
68005         * sysdeps/unix/telldir.c: Renamed to ...
68006         * sysdeps/posix/telldir.c: ... here.
68007         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
68008         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
68009         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
68010         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
68012         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
68013         * bits/fcntl.h: ... here.
68015         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
68016         not 0.
68017         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
68018         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
68019         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
68020         (struct flock): Move l_start, l_len to the beginning.
68021         Use __pid_t for l_pid.
68022         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
68023         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
68024         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
68025         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
68026         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
68027         [__USE_LARGEFILE64] (struct flock64): New type.
68028         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
68030         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
68031         * bits/dirent.h: ... here.
68033         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
68034         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
68036 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
68038         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68039         Change from 2.6.0 to 2.6.16.
68040         * sysdeps/unix/sysv/linux/configure: Regenerated.
68041         * sysdeps/unix/sysv/linux/kernel-features.h
68042         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
68043         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
68044         version.
68045         (__ASSUME_UTIMES): Likewise.
68046         (__ASSUME_CLONE_STOPPED): Remove.
68047         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
68048         architectures, not kernel version.
68049         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
68050         (__ASSUME_NO_CLONE_DETACHED): Likewise.
68051         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
68052         (__ASSUME_WAITID_SYSCALL): Likewise.
68053         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
68054         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
68055         * README: State 2.6.16 as minimum Linux kernel version.  Do not
68056         refer to older versions.
68058 2012-08-06  Roland McGrath  <roland@hack.frob.com>
68060         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
68061         Define alphasort64 as an alias.
68062         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
68063         Define versionsort64 as an alias.
68064         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
68065         Define scandir64 as an alias.
68066         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
68067         Define scandirat64 as an alias.
68068         * dirent/alphasort64.c (alphasort64):
68069         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
68070         * dirent/versionsort64.c: Likewise.
68071         * dirent/scandir64.c: Likewise.
68072         * dirent/scandirat64.c: Likewise.
68073         * sysdeps/wordsize-64/alphasort.c: File removed.
68074         * sysdeps/wordsize-64/alphasort64.c: File removed.
68075         * sysdeps/wordsize-64/scandir.c: File removed.
68076         * sysdeps/wordsize-64/scandir64.c: File removed.
68077         * sysdeps/wordsize-64/scandirat.c: File removed.
68078         * sysdeps/wordsize-64/scandirat64.c: File removed.
68079         * sysdeps/wordsize-64/versionsort.c: File removed.
68080         * sysdeps/wordsize-64/versionsort64.c: File removed.
68081         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
68082         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
68083         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
68084         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
68085         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
68086         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
68087         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
68088         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
68090         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
68091         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68092         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
68093         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68094         [defined __arch64__ || defined __sparcv9]
68095         (__INO_T_MATCHES_INO64_T): New macro.
68096         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68097         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
68098         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
68099         * sysdeps/unix/sysv/linux/bits/dirent.h
68100         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
68101         (_DIRENT_MATCHES_DIRENT64): New macro.
68103         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
68104         Define lockf64 as an alias.
68105         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
68106         Define fseeko64 as an alias.
68107         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
68108         Define ftello64 as an alias.
68109         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
68110         Define _IO_fgetpos64 and fgetpos64 as aliases.
68111         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
68112         Define _IO_fsetpos64 and fsetpos64 as aliases.
68113         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68114         Conditionalize body on this.
68115         * libio/fseeko64.c: Likewise.
68116         * libio/ftello64.c: Likewise.
68117         * libio/iofgetpos64.c: Likewise.
68118         * libio/iofsetpos64.c: Likewise.
68119         * sysdeps/wordsize-64/lockf.c: File removed.
68120         * sysdeps/wordsize-64/lockf64.c: File removed.
68121         * sysdeps/wordsize-64/fseeko.c: File removed.
68122         * sysdeps/wordsize-64/fseeko64.c: File removed.
68123         * sysdeps/wordsize-64/ftello.c: File removed.
68124         * sysdeps/wordsize-64/ftello64.c: File removed.
68125         * sysdeps/wordsize-64/iofgetpos.c: File removed.
68126         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68127         * sysdeps/wordsize-64/iofsetpos.c: File removed.
68128         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68129         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68130         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68131         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68132         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68133         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68134         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68135         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68136         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68137         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68138         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68140         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68141         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68142         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68143         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68144         [defined __arch64__ || defined __sparcv9]
68145         (__OFF_T_MATCHES_OFF64_T): New macro.
68146         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68147         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68148         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68149         (__OFF_T_MATCHES_OFF64_T): New macro.
68151 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68153         * stdlib/secure-getenv.c (__secure_getenv): Replace
68154         GLIBC_2_16 with GLIBC_2_17.
68156 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68158         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68159         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68161 2012-08-03  David S. Miller  <davem@davemloft.net>
68163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68165 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68167         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68168         Remove.
68169         (__ASSUME_CORRECT_SI_PID): Likewise.
68170         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68171         (__ASSUME_TMPFS_NAME): Likewise.
68172         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68173         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68174         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68175         (HAVE_AUX_SECURE): Make definition unconditional.
68176         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68177         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68179 2012-08-03  Roland McGrath  <roland@hack.frob.com>
68181         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68182         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68183         * sysdeps/mach/hurd/eloop-threshold.h: New file.
68184         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68185         __eloop_threshold instead of SYMLOOP_MAX.
68187         * sysdeps/generic/eloop-threshold.h: New file.
68188         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68189         of MAXSYMLINKS.
68190         * elf/chroot_canon.c (chroot_canon): Likewise.
68192 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68194         [BZ #13717]
68195         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68196         Change to 2.6.0 everywhere.
68197         * sysdeps/unix/sysv/linux/configure: Regenerated.
68198         * sysdeps/unix/sysv/linux/kernel-features.h
68199         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68200         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68201         kernel versions.
68202         (__ASSUME_POSIX_TIMERS): Define unconditionally.
68203         (__ASSUME_FUTEX_REQUEUE): Remove.
68204         (__ASSUME_STATFS64): Define unconditionally.
68205         (__ASSUME_AT_SECURE): Likewise.
68206         (__ASSUME_CORRECT_SI_PID): Likewise.
68207         (__ASSUME_TGKILL): Define without depending on kernel version for
68208         i386.
68209         (__ASSUME_UTIMES): Likewise.
68210         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68211         kernel version.
68212         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68213         (__ASSUME_TMPFS_NAME): Likewise.
68214         * README: Update reference to Linux kernel versions.
68216 2012-08-02  Marek Polacek  <polacek@redhat.com>
68218         [BZ# 14150]
68219         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
68220         libc_cv_asm_type_prefix with %.
68221         * configure: Regenerated.
68222         * include/libc-symbols.h: Remove comment about
68223         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68224         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68225         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68226         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68227         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68228         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68229         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68230         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68231         * elf/tst-unique2mod1.c: Likewise.
68232         * elf/tst-unique1mod2.c: Likewise.
68233         * elf/tst-unique1mod1.c: Likewise.
68234         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68235         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68236         Replace ASM_TYPE_DIRECTIVE with .type.
68237         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68238         * sysdeps/i386/sysdep.h: Likewise.
68239         * sysdeps/x86_64/sysdep.h: Likewise.
68240         * sysdeps/sh/sysdep.h: Likewise.
68241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68242         Do not define ASM_TYPE_DIRECTIVE.
68243         * sysdeps/powerpc/sysdep.h: Likewise.
68244         * sysdeps/powerpc/powerpc32/sysdep.h:
68245         Replace ASM_TYPE_DIRECTIVE with .type.
68246         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68247         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68248         * sysdeps/i386/fpu/e_powf.S: Likewise.
68249         * sysdeps/i386/fpu/e_expl.S: Likewise.
68250         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68251         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68252         * sysdeps/i386/fpu/e_pow.S: Likewise.
68253         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68254         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68255         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68256         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68257         * sysdeps/i386/fpu/e_log2.S: Likewise.
68258         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68259         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68260         * sysdeps/i386/fpu/e_powl.S: Likewise.
68261         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68262         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68263         * sysdeps/i386/fpu/e_logl.S: Likewise.
68264         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68265         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68266         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68267         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68268         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68269         * sysdeps/i386/fpu/e_log.S: Likewise.
68270         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68271         * sysdeps/i386/fpu/e_logf.S: Likewise.
68272         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68273         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68274         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68275         * sysdeps/i386/fpu/e_log10.S: Likewise.
68276         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68277         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68278         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68279         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68280         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68281         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68282         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68283         * sysdeps/i386/i686/strtok.S: Likewise.
68284         * sysdeps/i386/i386-mcount.S: Likewise.
68285         * sysdeps/i386/strtok.S: Likewise.
68286         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68287         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68288         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68289         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68290         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68291         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68292         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68293         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68294         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68295         * sysdeps/x86_64/_mcount.S: Likewise.
68296         * sysdeps/x86_64/strtok.S: Likewise.
68297         * sysdeps/sh/_mcount.S: Likewise.
68299 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68301         * libio/iofopen.c: Include <fcntl.h>.
68302         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68303         (_IO_fopen64, fopen64): Define as aliases.
68304         * libio/iofopen64.c: Include <fcntl.h>.
68305         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68306         Conditionalize body on this.
68307         * sysdeps/wordsize-64/iofopen.c: File removed.
68308         * sysdeps/wordsize-64/iofopen64.c: File removed.
68310 2012-08-01  Marek Polacek  <polacek@redhat.com>
68312         * libc/Makeconfig: Use elf in place of binfmt-subdir.
68313         Use dlfcn directly instead of a variable.
68314         (binfmt-subdir): Do not define.
68315         (dlfcn): Likewise.
68317 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
68319         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68320         Remove all definitions.
68321         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68322         <kernel-features.h>.
68323         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68324         (miss_F_GETOWN_EX): Remove all definitions.
68325         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68326         macro definition.
68327         [!__ASSUME_FCNTL64]: Remove conditional code.
68328         [__ASSUME_FCNTL64]: Make code unconditional.
68329         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68330         <kernel-features.h>.
68331         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68332         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68333         (lockf64) [__NR_fcntl64]: Make code unconditional.
68334         (lockf64) [__ASSUME_FCNTL64]: Likewise.
68336         * sysdeps/unix/sysv/linux/kernel-features.h
68337         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68338         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68339         Make code unconditional.
68340         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68341         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68343         [__NR_vfork]: Make code unconditional.
68344         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68345         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68347         [__NR_vfork]: Make code unconditional.
68348         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68349         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68351 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68353         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68354         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68356         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68357         Define mkstemp64 as an alias.
68358         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68359         Define mkstemps64 as an alias.
68360         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68361         Define mkostemp64 as an alias.
68362         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68363         Define mkostemps64 as an alias.
68364         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68365         Conditionalize body on this.
68366         * misc/mkostemp64.c: Likewise.
68367         * misc/mkostemps64.c: Likewise.
68368         * misc/mkstemps64.c: Likewise.
68369         * sysdeps/wordsize-64/mkstemp64.c: File removed.
68370         * sysdeps/wordsize-64/mkostemp64.c: File removed.
68371         * sysdeps/wordsize-64/mkostemp.c: File removed.
68372         * sysdeps/wordsize-64/mkstemp.c: File removed.
68373         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68374         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68375         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68376         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68378         [BZ #14138]
68379         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68380         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68381         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68382         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68384         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68385         compat_symbol macros from <shlib-compat.h> rather than the underlying
68386         default_symbol_version and symbol_version macros, so that DEFAULT
68387         lines in shlib-versions are respected.
68388         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68390 2012-08-01  Florian Weimer  <fweimer@redhat.com>
68392         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68393         Declare with warn_unused_result.
68394         (setgid, setregid, setegid, setresgid): Likewise.
68395         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68396         Likewise.
68397         * WUR-REPORT: Remove set*id functions.
68399 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
68401         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68403 2012-07-31  Roland McGrath  <roland@hack.frob.com>
68405         [BZ #10191]
68406         * include/sys/socket.h (__libc_accept, __libc_accept4):
68407         Add attribute_hidden.
68408         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68410         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68411         use of PTR_MANGLE.
68412         * inet/getnetgrent_r.c (setup): Likewise.
68414         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68416 2012-07-31  David S. Miller  <davem@davemloft.net>
68418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68420 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
68422         [BZ #13629]
68423         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68424         value between 1.0 and 2.0 and smaller part has absolute value less
68425         than 1.0.
68426         * math/s_clog10.c (__clog10): Likewise.
68427         * math/s_clog10f.c (__clog10f): Likewise.
68428         * math/s_clog10l.c (__clog10l): Likewise.
68429         * math/s_clogf.c (__clogf): Likewise.
68430         * math/s_clogl.c (__clogl): Likewise.
68431         * math/libm-test.inc (clog_test): Add more tests.
68432         (clog10_test): Likewise.
68433         * sysdeps/i386/fpu/libm-test-ulps: Update.
68434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68436 2012-07-31  Florian Weimer  <fweimer@redhat.com>
68438         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68439         Exit with zero in case no suitable GID is found, and write a
68440         message to standard error.
68442 2012-07-30  Roland McGrath  <roland@hack.frob.com>
68444         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68445         rather than to 1.
68446         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68447         (MAXPATHLEN): Removed.
68448         (NOGROUP, NODEV): New macros.
68449         (setbit, clrbit, isset, isclr): New macros.
68450         (howmany, roundup, powerof2): New macros.
68451         (DEV_BSIZE): New macro.
68453         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68454         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68456         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68457         definition on [!__NO_LONG_DOUBLE_MATH].
68459         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68460         PTR_MANGLE and PTR_DEMANGLE.
68462         * socket/accept4.c (accept4): Rename to __libc_accept4.
68463         Define accept4 as a weak alias.
68465         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68466         on [_DIRENT_HAVE_D_TYPE].
68467         * io/ftw.c (ftw_dir): Likewise.
68469         * io/xmknod.c (__xmknod): Don't check PATH for being null.
68471         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68473         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68474         Use the BSD numbers rather than the arbitrary ones we had.
68475         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68476         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68477         (SIGXCPU, SIGXFSZ): New macros.
68478         (_NSIG): Now 32.
68480         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68481         initializer on [_LIBC_REENTRANT].
68483         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68484         definitions inside [_POSIX_MAPPED_FILES].
68486         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68488         * dirent/opendir.c: Include <fcntl.h>.
68490         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68491         (__libc_getspecific): Likewise.
68492         (__libc_key_create): Likewise.
68494         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68495         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68496         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68497         (tmpfile64): Define as alias.
68498         * sysdeps/wordsize-64/tmpfile.c: File removed.
68499         * sysdeps/wordsize-64/tmpfile64.c: File removed.
68500         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68501         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68503         * stdio-common/vfscanf.c: Include <stdbool.h>.
68504         * nss/makedb.c: Likewise.
68505         * stdio-common/_i18n_number.h: Likewise.
68506         * argp/argp-help.c: Likewise.
68507         * posix/wordexp.c: Likewise.
68508         * sysdeps/posix/spawni.c: Likewise.
68509         * nss/nss_files/files-initgroups.c: Likewise.
68510         * stdio-common/reg-modifier.c: Include <stdlib.h>.
68511         * nss/nss_files/files-initgroups.c: Likewise.
68512         * nss/nss_db/db-netgrp.c: Likewise.
68513         * nss/nss_db/db-initgroups.c: Likewise.
68514         * io/fchmodat.c: Include <sys/stat.h>.
68516         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68517         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68519         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68520         [HAVE_MMAP].
68522         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68523         Add multiple inclusion protection.
68525 2012-07-27  David S. Miller  <davem@davemloft.net>
68527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68529 2012-07-27  Gary Benson  <gbenson@redhat.com>
68531         [BZ #14298]
68532         * elf/rtld.c: Include <stap-probe.h>.
68533         (dl_main): Added static probes "init_start" and "init_complete".
68534         * elf/dl-load.c: Include <stap-probe.h>.
68535         (lose): Take new parameter "nsid".
68536         Added static probe "map_failed".
68537         (_dl_map_object_from_fd): Pass namespace id to lose.
68538         Added static probe "map_start".
68539         (open_verify): Pass namespace id to lose.
68540         * elf/dl-open.c: Include <stap-probe.h>.
68541         (dl_open_worker) Added static probes "map_complete", "reloc_start"
68542         and "reloc_complete".
68543         * elf/dl-close.c: Include <stap-probe.h>.
68544         (_dl_close_worker): Added static probes "unmap_start" and
68545         "unmap_complete".
68546         * elf/rtld-debugger-interface.txt: New file documenting the above.
68548 2012-07-26  Roland McGrath  <roland@hack.frob.com>
68550         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68551         rather than a string variable.
68552         * sunrpc/rpc_main.c (h_output): Likewise.
68553         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68555 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
68557         * inet/check_native.c: New file.
68559 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
68561         [BZ #13629]
68562         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68563         if larger part has absolute value 1.0.
68564         * math/s_clog10.c (__clog10): Likewise.
68565         * math/s_clog10f.c (__clog10f): Likewise.
68566         * math/s_clog10l.c (__clog10l): Likewise.
68567         * math/s_clogf.c (__clogf): Likewise.
68568         * math/s_clogl.c (__clogl): Likewise.
68569         * math/libm-test.inc (clog_test): Add more tests.
68570         (clog10_test): Likewise.
68571         * sysdeps/i386/fpu/libm-test-ulps: Update.
68572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68574         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68575         (pltexit): Likewise.
68576         (La_regs): Likewise.
68577         (La_retval): Likewise.
68578         (int_retval): Likewise.
68579         Update #error for removed macros to refer only to definitions in
68580         tst-audit.h.
68581         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68582         macro.
68583         (pltexit): Likewise.
68584         (La_regs): Likewise.
68585         (La_retval): Likewise.
68586         (int_retval): Likewise.
68587         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68588         macro.
68589         (pltexit): Likewise.
68590         (La_regs): Likewise.
68591         (La_retval): Likewise.
68592         (int_retval): Likewise.
68593         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68594         macro.
68595         (pltexit): Likewise.
68596         (La_regs): Likewise.
68597         (La_retval): Likewise.
68598         (int_retval): Likewise.
68599         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68600         macro.
68601         (pltexit): Likewise.
68602         (La_regs): Likewise.
68603         (La_retval): Likewise.
68604         (int_retval): Likewise.
68605         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68606         macro.
68607         (pltexit): Likewise.
68608         (La_regs): Likewise.
68609         (La_retval): Likewise.
68610         (int_retval): Likewise.
68611         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68612         macro.
68613         (pltexit): Likewise.
68614         (La_regs): Likewise.
68615         (La_retval): Likewise.
68616         (int_retval): Likewise.
68617         * sysdeps/generic/tst-audit.h: Update comment to refer only to
68618         macro definitions in tst-audit.h.
68619         * sysdeps/i386/tst-audit.h: New file.
68620         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68621         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68622         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68623         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68624         * sysdeps/sh/tst-audit.h: Likewise.
68625         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68626         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68627         * sysdeps/x86_64/tst-audit.h: Likewise.
68629 2012-07-26  Andreas Jaeger  <aj@suse.de>
68631         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68632         ptrace.
68634         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68635         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68636         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68637         PTRACE_O_MASK.
68638         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68639         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68640         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68642         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68643         value.
68645         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68646         _sigsys.
68647         (si_call_addr, si_syscall, si_arch): Define new macro.
68648         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68649         _sigsys.
68650         (si_call_addr, si_syscall, si_arch): Define new marcro.
68651         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68652         _sigsys.
68653         (si_call_addr, si_syscall, si_arch): Define new macro.
68654         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68655         _sigsys.
68656         (si_call_addr, si_syscall, si_arch): Define new macro.
68658 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68660         [BZ #13717]
68661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68662         Change to 2.4.21 where previously 2.4.1.
68663         * sysdeps/unix/sysv/linux/configure: Regenerated.
68664         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68665         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68666         Linux kernel version.
68667         (__ASSUME_STD_AUXV): Remove.
68668         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68669         kernel version.
68670         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68671         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68672         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68673         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68674         (__ASSUME_NETLINK_SUPPORT): Likewise.
68675         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68676         (__no_netlink_support): Remove conditional definition.
68677         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68678         Remove.
68679         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68680         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68681         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68682         (if_nameindex_ioctl): Remove.
68683         (if_nameindex_netlink): Do not handle __no_netlink_support.
68684         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68685         code.
68686         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68687         Remove conditional code.
68688         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68689         code.
68690         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68691         unconditional.
68692         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68693         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68694         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68695         Remove.
68696         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68697         [!__ASSUME_STD_AUXV]: Remove conditional code.
68698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68699         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68700         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68702         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68703         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68704         code.
68705         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68707         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68708         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68709         conditional code.
68710         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68712         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68713         code.
68714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68715         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68716         conditional code.
68717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68718         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68719         code unconditional.
68720         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68721         conditional code.
68722         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68723         unconditional.
68724         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68725         conditional code.
68726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68727         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68728         unconditional.
68729         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68730         conditional code.
68731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68732         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68733         code unconditional.
68734         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68735         conditional code.
68736         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68737         unconditional.
68738         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68739         conditional code.
68740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68741         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68742         code unconditional.
68743         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68744         conditional code.
68745         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68746         unconditional.
68747         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68748         conditional code.
68750 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
68752         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68753         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68754         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68755         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68756         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68757         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68758         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68759         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68760         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68761         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68762         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68763         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68764         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68765         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68766         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68767         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68768         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68769         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68770         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68771         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68772         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68773         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68774         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68776 2012-07-25  Florian Weimer  <fweimer@redhat.com>
68778         * Versions.def: Add GLIBC_2.17.
68779         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68780         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68781         Introduce __libc_secure_getenv.
68782         * stdlib/Versions (2.17): Add secure_getenv
68783         (GLIBC_PRIVATE): Add __libc_secure_getenv.
68784         * stdlib/secure-getenv.c: Rename __secure_getenv to
68785         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
68786         symbol __secure_getenv for GLIBC_2.0.
68787         * stdlib/tst-secure-getenv.c: New.
68788         * stdlib/Makefile (tests): Add testcase.
68789         * manual/startup.texi (Environment Access): Document
68790         secure_getenv.
68791         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68792         __libc_secure_getenv.
68793         * inet/ruserpass.c (ruserpass): Likewise.
68794         * malloc/mtrace.c (mtrace): Likewise.
68795         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68796         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68797         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68798         * sysdeps/posix/tempname.c: Likewise.  Evaluate
68799         HAVE_SECURE_GETENV.
68800         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68801         __secure_getenv to __libc_secure_getenv.
68802         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68804         Likewise.
68805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68806         Likewise.
68807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68815 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68817         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68818         (struct La_i86_retval): Likewise.
68819         (struct La_x86_64_regs): Likewise.
68820         (struct La_x86_64_retval): Likewise.
68821         (struct La_x32_regs): Likewise.
68822         (struct La_x32_retval): Likewise.
68823         (struct La_ppc32_regs): Likewise.
68824         (struct La_ppc32_retval): Likewise.
68825         (struct La_ppc64_regs): Likewise.
68826         (struct La_ppc64_retval): Likewise.
68827         (struct La_sh_regs): Likewise.
68828         (struct La_sh_retval): Likewise.
68829         (struct La_s390_32_regs): Likewise.
68830         (struct La_s390_32_retval): Likewise.
68831         (struct La_s390_64_regs): Likewise.
68832         (struct La_s390_64_retval): Likewise.
68833         (struct La_sparc32_regs): Likewise.
68834         (struct La_sparc32_retval): Likewise.
68835         (struct La_sparc64_regs): Likewise.
68836         (struct La_sparc64_retval): Likewise.
68837         (struct audit_ifaces): Remove architecture-specific pltenter and
68838         pltexit members.
68839         * sysdeps/i386/ldsodefs.h: New file.
68840         * sysdeps/powerpc/ldsodefs.h: Likewise.
68841         * sysdeps/s390/ldsodefs.h: Likewise.
68842         * sysdeps/sh/ldsodefs.h: Likewise.
68843         * sysdeps/sparc/ldsodefs.h: Likewise.
68844         * sysdeps/x86_64/ldsodefs.h: Likewise.
68846 2012-07-25  Marek Polacek  <polacek@redhat.com>
68848         [BZ #6808]
68849         * math/libm-test.inc (yn_test): Add another test.
68850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68851         to ERANGE when the result is +-Inf.
68852         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68853         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68854         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68855         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68857 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
68859         * conform/data/time.h-data (NULL): Use macro-constant.  Require
68860         equal to 0.
68861         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
68862         clock_t.
68863         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
68865 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
68867         * configure.in <sysdeps resolving>: Correct printing
68868         Implies_before.
68869         * configure: Regenerate.
68871 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
68873         * math/w_ilogb.c: Include <limits.h>.
68874         * math/w_ilogbl.c: Likewise.
68876 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68878         * manual/lang.texi (__va_copy): Document primarily as ISO C99
68879         va_copy.  Document allowing for unavailable va_copy only as
68880         pre-C99 compatibility.
68881         * manual/string.texi (Copying and Concatenation): Use va_copy
68882         instead of __va_copy in concat example.
68884 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
68886         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68887         (__sendto): Use create_address_port.  Initialize APORT and deallocate
68888         it if not null.
68890         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68891         with O_NOLINK passed to __file_name_lookup.
68893         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68894         with O_NOLINK passed to __file_name_lookup.
68896         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68897         negative N or less than NGIDS.
68899         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68900         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68901         enough.  Use memcpy instead of strncpy.
68903 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68905         * elf/Makefile (check-data): Remove.
68906         (localplt.data): New vpath directive.
68907         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68908         instead of $(check-data).
68909         * scripts/data/localplt-generic.data: Move to ...
68910         * sysdeps/generic/localplt.data: ... here.
68911         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68912         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68913         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68915         ... here.
68916         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68918         ... here.
68919         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68921         ... here.
68922         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68924         ... here.
68925         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68927         ... here.
68928         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68930         ... here.
68932 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68934         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68935         PPC32 and PPC64 files.
68936         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68937         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68939 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68941         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68942         __makecontext_ret to ...
68943         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68944         ... here and call exit if uc_link is NULL.  New file.
68945         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68946         __makecontext_ret.S.
68947         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68948         __makecontext_ret to ...
68949         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68950         ... here and call exit if uc_link is NULL.  New file.
68951         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68952         __makecontext_ret.S.
68954 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68956         * elf/elf.h (R_390_IRELATIVE): New definition.
68957         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68958         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68959         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68960         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68961         (elf_machine_lazy_rel): Likewise.
68962         * sysdeps/s390/dl-irel.h: New file.
68963         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68964         * sysdeps/s390/s390-64/memset.S: New asm code.
68965         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68966         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68967         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68968         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68969         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68970         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68971         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68972         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68973         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68974         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68975         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68976         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68977         * sysdeps/s390/s390-32/memset.S: New asm code.
68978         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68980 2012-07-17  Marek Polacek  <polacek@redhat.com>
68982         [BZ #14349]
68983         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68984         * sysdeps/s390/s390-64/configure.in: Likewise.
68985         * sysdeps/sparc/configure.in: Likewise.
68986         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68987         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68988         * sysdeps/i386/configure.in: Likewise.
68989         * sysdeps/x86_64/configure.in: Likewise.
68990         * sysdeps/sh/configure.in: Likewise.
68991         * sysdeps/s390/s390-32/configure: Regenerated.
68992         * sysdeps/s390/s390-64/configure: Likewise.
68993         * sysdeps/x86_64/configure: Likewise.
68994         * sysdeps/sh/configure: Likewise.
68995         * sysdeps/powerpc/powerpc64/configure: Likewise.
68996         * sysdeps/powerpc/powerpc32/configure: Likewise.
68997         * sysdeps/sparc/configure: Likewise.
68998         * sysdeps/i386/configure: Likewise.
69000         * elf/dl-open.c: Comment fixes.
69002 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
69004         * Makefile [CXX] (check-data): Remove.
69005         [CXX] (c++-types.data): New vpath directive.
69006         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
69007         vpath.  Do not allow for C++ type data being missing.
69008         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
69009         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
69010         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
69011         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
69012         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
69013         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
69014         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
69015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
69016         ... here.
69017         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
69018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
69019         ... here.
69020         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
69021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
69022         ... here.
69023         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
69024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
69025         ... here.
69026         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
69027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
69028         ... here.
69029         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
69030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
69031         ... here.
69032         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
69033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
69034         ... here.
69035         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
69036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
69038         * elf/tls-macros.h (TLS_LE): Move architecture-specific
69039         definitions to architecture-specific files.
69040         (TLS_IE): Likewise.
69041         (TLS_LD): Likewise.
69042         (TLS_GD): Likewise.
69043         * sysdeps/i386/tls-macros.h: New file.
69044         * sysdeps/powerpc/tls-macros.h: Likewise.
69045         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
69046         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
69047         * sysdeps/sh/tls-macros.h: Likewise.
69048         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
69049         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
69050         * sysdeps/x86_64/tls-macros.h: Likewise.
69052 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
69054         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
69055         zero value for regular exit case.
69057         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
69058         (__start_context): Preserve zero value for regular exit case.
69060 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
69061             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69063         * manual/setjmp.texi (setcontext): Clarify normal process
69064         termination when uc_link is the null pointer.
69065         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
69066         exit call.
69068 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
69070         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
69071         preprocessor.  Test for each exception mask separately.
69073 2012-07-16  Andreas Jaeger  <aj@suse.de>
69075         * po/ru.po: Update from translation team.
69077 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
69079         * conform/data/string.h-data (NULL): Use macro-constant.  Require
69080         equal to 0.
69081         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69082         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69083         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
69084         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
69085         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69087 2012-07-13  Andreas Jaeger  <aj@suse.de>
69089         * po/fr.po: Update from translation team.
69091 2012-07-12  Marek Polacek  <polacek@redhat.com>
69093         [BZ #14173]
69094         * math/libm-test.inc (yn_test): Add test for BZ #14173.
69095         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
69096         loop condition.
69098 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
69100         [BZ #13717]
69101         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69102         Change to 2.4.1 where previously 2.4.0.
69103         * sysdeps/unix/sysv/linux/configure: Regenerated.
69104         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
69105         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
69106         version.
69107         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
69108         (__ASSUME_AT_CLKTCK): Remove.
69109         (__ASSUME_AT_PAGESIZE): Likewise.
69110         (__ASSUME_AT_XID): Likewise.
69111         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
69112         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
69113         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69114         unconditionally.
69115         (HAVE_AUX_PAGESIZE): Likewise.
69116         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69117         [__ASSUME_AT_CLKTCK]: Make code unconditional.
69118         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69120 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
69122         [BZ #14307]
69123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69124         the temporary buffer used to invoke __gethostbyname2_r,
69125         __gethostbyaddr_r and gethostbyname4_r to make room for struct
69126         host_data / struct gaih_addrtuple.
69127         * resolv/nss_dns/dns-host.c (global scope): Move definition of
69128         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69129         header file nss/nsswitch.h.
69130         * nss/nsswitch.h (global scope): Add definition of implementation
69131         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69132         resolv/nss_dns/dns-host.c).
69134 2012-07-11  Andreas Jaeger  <aj@suse.de>
69136         * po/fr.po: Update from translation team.
69138         * po/sv.po: Update from translation team
69139         * po/fr.po: Another update from translation team.
69141 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69143         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69144         for subnormals or multiply small sinh result by itself.
69145         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69148 2012-07-11  David S. Miller  <davem@davemloft.net>
69150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69152 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
69154         [BZ #14347]
69155         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69156         (INTERNAL_MARK): Shift it here.
69158 2012-07-10  Marek Polacek  <polacek@redhat.com>
69160         [BZ #14151]
69161         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
69162         libc_cv_asm_global_directive with .globl.
69163         * configure: Regenerated.
69164         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69165         with .globl.
69166         * sysdeps/i386/configure: Regenerated.
69167         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69168         with .globl.
69169         * sysdeps/x86_64/configure: Regenerated.
69170         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69171         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69172         * elf/tst-unique2mod2.c: Likewise.
69173         * elf/tst-unique2mod1.c: Likewise.
69174         * elf/tst-unique1mod2.c: Likewise.
69175         * elf/tst-unique1mod1.c: Likewise.
69176         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69177         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69178         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69179         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69180         * sysdeps/mach/sysdep.h: Likewise.
69181         * sysdeps/i386/sysdep.h: Likewise.
69182         * sysdeps/i386/i386-mcount.S: Likewise.
69183         * sysdeps/x86_64/_mcount.S: Likewise.
69184         * sysdeps/x86_64/sysdep.h: Likewise.
69185         * sysdeps/sh/_mcount.S: Likewise.
69186         * sysdeps/sh/sysdep.h: Likewise.
69187         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69188         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69189         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69190         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69191         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69192         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69193         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69194         * locale/localeinfo.h: Likewise.
69195         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69196         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69198 2012-07-09  Roland McGrath  <roland@hack.frob.com>
69200         [BZ #14336]
69201         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69202         system".
69203         * manual/message.texi (The Uniforum approach): Likewise.
69204         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69205         (glibc iconv Implementation): Likewise.
69207 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
69209         [BZ #14337]
69210         * math/s_clog.c (__clog): Avoid scaling a value down where that
69211         could result in underflow.
69212         * math/s_clog10.c (__clog10): Likewise.
69213         * math/s_clog10f.c (__clog10f): Likewise.
69214         * math/s_clog10l.c (__clog10l): Likewise.
69215         * math/s_clogf.c (__clogf): Likewise.
69216         * math/s_clogl.c (__clogl): Likewise.
69217         * math/libm-test.inc (clog_test): Add more tests.
69218         (clog10_test): Likewise.
69219         * sysdeps/i386/fpu/libm-test-ulps: Update.
69220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69222 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
69224         [BZ #14283]
69225         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69226         by 7 not 8 to examine high bit of fractional part.
69228         [BZ #14042]
69229         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69230         for call to __mcount_internal.
69231         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69232         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69233         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69235 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
69237         [BZ #14154]
69238         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69239         approximation for values within 0x1p-13f of an odd multiple of
69240         pi/4.
69241         * math/libm-test.inc (tan_test): Do not allow spurious underflow
69242         exception.  Add more tests.
69243         * sysdeps/i386/fpu/libm-test-ulps: Update.
69245         [BZ #6778]
69246         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69247         inputs and return -1 for them.  Do not check for +Inf in case not
69248         reachable for +Inf.
69249         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69250         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69251         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69252         and return -1 for them.  Do not check for +Inf in case not
69253         reachable for +Inf.
69254         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69255         define.
69256         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69257         and return -1 for them.  Do not check for +Inf in case not
69258         reachable for +Inf.
69259         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
69260         spurious underflow.
69261         * sysdeps/i386/fpu/libm-test-ulps: Update.
69262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69264 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
69266         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69268 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
69270         [BZ #14157]
69271         [BZ #14331]
69272         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69273         could result in spurious underflow.  Scale down values above
69274         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69275         * math/s_csqrtf.c (__csqrtf): Likewise.
69276         * math/s_csqrtl.c (__csqrtl): Likewise.
69277         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
69278         spurious underflow.
69279         * sysdeps/i386/fpu/libm-test-ulps: Update.
69280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69282 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
69284         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69285         xopen-msg.sed.
69286         * catgets/xopen-msg.awk: New file.
69287         * catgets/xopen-msg.sed: Removed.
69289         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69290         po2text.sed.
69291         * intl/po2test.awk: New file.
69292         * intl/po2test.sed: Removed.
69294 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
69296         [BZ #14328]
69297         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69298         or multiply small sinh result by itself.
69299         * math/s_ctanf.c (__ctanf): Likewise.
69300         * math/s_ctanh.c (__ctanh): Likewise.
69301         * math/s_ctanhf.c (__ctanhf): Likewise.
69302         * math/s_ctanhl.c (__ctanhl): Likewise.
69303         * math/s_ctanl.c (__ctanl): Likewise.
69304         * math/libm-test.inc (ctan_test_tonearest): New function.
69305         (ctan_test_towardzero): Likewise.
69306         (ctan_test_downward): Likewise.
69307         (ctan_test_upward): Likewise.
69308         (ctanh_test_tonearest): Likewise.
69309         (ctanh_test_towardzero): Likewise.
69310         (ctanh_test_downward): Likewise.
69311         (ctanh_test_upward): Likewise.
69312         (main): Call these new functions.
69313         * sysdeps/i386/fpu/libm-test-ulps: Update.
69314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69316 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
69318         * .gitignore: Delete /ports entry.
69320 2012-07-03  Andreas Jaeger  <aj@suse.de>
69322         * po/bg.po: Update from translation team.
69323         * po/cs.po: Likewise.
69324         * po/de.po: Likewise.
69325         * po/hr.po: Likewise.
69326         * po/nl.pl: Likewise.
69327         * po/pl.po: Likewise.
69328         * po/vi.po: Likewise.
69330 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
69332         * Makeconfig [!+link] (+link-before-libc): New variable.
69333         [!+link] (+link-after-libc): Likewise.
69334         [!+link] (+link-tests): Likewise.
69335         [!+link] (+link): Define in terms of $(+link-before-libc) and
69336         $(+link-after-libc).
69337         [!+link-static] (+link-static-before-libc): New variable.
69338         [!+link-static] (+link-static-after-libc): Likewise.
69339         [!+link-static] (+link-static-tests): Likewise.
69340         [!+link-static] (+link-static): Define in terms of
69341         $(+link-static-before-libc) and $(+link-static-after-libc).
69342         [build-shared] (link-libc-before-gnulib): New variable.
69343         [build-shared] (link-libc-tests): Likewise.
69344         [build-shared] (link-libc): Define in terms of
69345         $(link-libc-before-gnulib).
69346         [!build-shared] (link-libc-tests): New variable.
69347         (link-libc-static-tests): New variable.
69348         [!gnulib] (gnulib-arch): New variable.
69349         [!gnulib] (gnulib-tests): Likewise.
69350         [!gnulib] (static-gnulib-arch): Likewise.
69351         [!gnulib] (static-gnulib-tests): Likewise.
69352         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
69353         Define with "=" instead of ":=".
69354         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
69355         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
69356         * Rules (binaries-all-notests): New variable.
69357         (binaries-all-tests): Likewise.
69358         (binaries-static-notests): Likewise.
69359         (binaries-static-tests): Likewise.
69360         (binaries-all): Define using $(binaries-all-notests) and
69361         $(binaries-all-tests).
69362         (binaries-static): Define using $(binaries-static-notests) and
69363         $(binaries-static-tests).
69364         (binaries-shared-tests): New variable.
69365         (binaries-shared-notests): Likewise.
69366         (binaries-shared): Remove variable.
69367         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69368         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69369         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69370         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69371         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69372         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69373         * elf/Makefile (sln-modules): New variable.
69374         (extra-objs): Add $(sln-modules:=.o).
69375         (ldconfig-modules): Add static-stubs.
69376         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69377         * elf/static-stubs.c: New file.
69379         [BZ #14283]
69380         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69381         by 7 not 8 to examine high bit of fractional part.  Use volatile
69382         variables when splitting into final array of floats if
69383         __FLT_EVAL_METHOD__ != 0.
69384         * math/libm-test.inc (cos_test): Add another test.
69385         (sin_test): Likewise.
69386         * sysdeps/i386/fpu/libm-test-ulps: Update.
69388         [BZ #14273]
69389         * math/libm-test.inc (cosh_test): Add more tests.
69391         * version.h (RELEASE): Set to "development".
69392         (VERSION): Set to "2.16.90".
69394 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
69396         * NEWS: Update copyright. Remove last-updated date.
69397         Mention math library bug fixes and timezone data changes.
69398         * README: Mention GNU/Hurd, x32, and HPPA support status.
69400 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
69402         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69404 2012-06-27  Andreas Jaeger  <aj@suse.de>
69406         * manual/contrib.texi (Contributors): Add Samuel Thibault.
69408 2012-06-25  Andreas Jaeger  <aj@suse.de>
69410         * sysdeps/s390/fpu/libm-test-ulps: Update.
69412 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
69413             Thomas Schwinge  <thomas@codesourcery.com>
69415         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69416         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69417         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69418         fanotify_mark.
69420 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
69422         * sysdeps/mach/start.c: Remove file.
69423         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69424         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69425         * sysdeps/sh/init-first.c: Likewise.
69427         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69428         registers for frame unwinding purposes, add CFI directives.
69429         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69430         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69431         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69432         Likewise.
69434         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69435         __fortify_fail returning.
69436         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69438         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69439         sysdeps/sh/____longjmp_chk.S.
69440         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69441         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69442         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69443         (gen-as-const-headers): Append sigaltstack-offsets.sym.
69445         * sysdeps/sh/abort-instr.h: New file.
69446         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69447         process in case exit returns.
69449         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69450         initialize the GOT register before use.
69452         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69453         calculation of ARGC > 4.
69455         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69456         meaningful names to some local labels.
69458 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69459             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69461         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69462         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69463         (__arch_compare_and_exchange_val_16_acq): Likewise.
69464         (__arch_compare_and_exchange_val_32_acq): Likewise.
69465         (atomic_exchange_and_add): Fix gUSA sequence.
69466         (atomic_add): Likewise.
69467         (atomic_add_negative): Likewise.
69468         (atomic_add_zero): Likewise.
69469         (atomic_bit_test_set): Likewise.
69471 2012-06-22  Andreas Schwab  <schwab@redhat.com>
69473         [BZ #13579]
69474         * include/link.h (struct link_map): Add l_free_initfini.
69475         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69476         l_initfini.
69477         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69478         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69479         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69480         set.
69482 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
69484         * configure.in: Use AC_LANG_SOURCE.
69485         * configure: Regenerate.
69487 2012-06-22  Roland McGrath  <roland@hack.frob.com>
69489         * configure.in (libc_cv_localstatedir): New substituted variable.
69490         * configure: Regenerated.
69491         * config.make.in (localstatedir): New variable, substituted from
69492         libc_cv_localstatedir.
69493         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69494         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69495         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69496         * sysdeps/gnu/configure: Regenerated.
69498 2012-06-21  Jeff Law  <law@redhat.com>
69500         [BZ #14277]
69501         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69502         free.  Simplify list management for _LIBC case.
69504 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
69506         [BZ #14273]
69507         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69508         Clear sign bit of 64-bit integer value before comparing against
69509         overflow value.
69511         * sysdeps/mach/configure: Regenerated.
69513 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
69515         [BZ #14278]
69516         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69518 2012-06-21  Jeff Law  <law@redhat.com>
69520         [BZ #13882]
69521         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
69522         uint16_t for elements in the "seen" array to avoid char overflows.
69523         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69524         * elf/dl-open.c (dl_open_worker): Likewise.
69526 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
69528         * scripts/list-sources.sh: Scan PORTS for translations.
69529         * po/libc.pot: Regenerated.
69531 2012-06-21  Andreas Jaeger  <aj@suse.de>
69533         [BZ #12194]
69534         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69535         warning.
69536         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69537         * bits/byteswap-16.h (__bswap_16): Likewise.
69538         * bits/byteswap.h (__bswap_constant_16): Likewise.
69540 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
69542         [BZ #14117]
69543         * sysdeps/i386/fpu_control.h: Removed.
69544         * sysdeps/x86_64/fpu_control.h: Moved to ...
69545         * sysdeps/x86/fpu_control.h: Here.
69547         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69548         (_FPU_SETCW): Likewise.
69550 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
69552         [BZ #14117]
69553         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69554         * sysdeps/x86/fpu/bits/mathinline.h: This.
69555         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69557         [BZ #14050]
69558         [BZ #14117]
69559         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69560         functions if __x86_64__ is defined.
69562 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
69564         * string/endian.h: Add !__ASSEMBLER__ condition for including
69565         conversion interfaces.
69567 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
69569         [BZ #14241]
69570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69571         of ABS(x) in calculating zero to negative powers other than odd
69572         integers.
69573         * math/libm-test.inc (pow_test): Add more tests.
69575 2012-06-15  Andreas Jaeger  <aj@suse.de>
69577         * manual/contrib.texi (Contributors): Update entry of Liubov
69578         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69579         Machado Filho.
69581 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
69583         * string/string.h: Add __wur to GNU version of strerror_r.
69585 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
69587         [BZ #14229]
69588         * string/Makefile (tests): Add tst-strtok_r.
69589         * string/tst-strtok_r.c: New file.
69590         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69591         RAX_LP/RDX_LP on SAVE_PTR.
69593 2012-06-14  Roland McGrath  <roland@hack.frob.com>
69595         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69597 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
69599         * libm_test.inc (csqrt_test): Allow more spurious underflow
69600         exceptions.
69601         (j0_test): Likewise.
69602         (j1_test): Likewise.
69603         (y0_test): Likewise.
69604         (y1_test): Likewise.
69606 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
69608         * po/Makefile (libc.pot): Use UTF-8 charset.
69610 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
69612         [BZ #14210]
69613         Suppress sign-conversion warning from FD_SET.
69614         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69615         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69616         not unsigned long int.
69617         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69619 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
69621         [BZ #14050]
69622         [BZ #14117]
69623         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69624         __extern_always_inline instead of __extern_inline.
69625         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69626         (__signbit): Likewise.
69627         (__signbitl): Support C++ namespace.
69628         (lrintf): New inline function.
69629         (lrint): Likewise.
69630         (llrintf): Likewise.
69631         (llrint): Likewise.
69632         (fmaxf): Likewise.
69633         (fmax): Likewise.
69634         (fminf): Likewise.
69635         (fmin): Likewise.
69636         (rint): Likewise.
69637         (rintf): Likewise.
69638         (ceil): Likewise.
69639         (ceilf): Likewise.
69640         (floor): Likewise.
69641         (floorf): Likewise.
69642         (nearbyint): Likewise.
69643         (nearbyintf): Likewise.
69645 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
69647         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69648         non-default versions.
69650 2012-06-11  Roland McGrath  <roland@hack.frob.com>
69652         [BZ #14218]
69653         * manual/argp.texi (Argp): Reword argp_parse description slightly.
69655 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
69657         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69658         (FE_UPWARD, FE_DOWNWARD): Don't define.
69659         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69660         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69662         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69663         reading it.
69664         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69665         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69667 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69669         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69671         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69672         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69674 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
69676         [BZ #14117]
69677         * sysdeps/i386/fpu/bits/fenv.h: Removed.
69678         * sysdeps/i386/fpu/Implies: New file.
69679         * sysdeps/x86_64/fpu/Implies: Likewise.
69680         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69681         * sysdeps/x86/fpu/bits/fenv.h: This.
69683         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69684         __SSE_MATH__.
69686 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69688         [BZ #14134]
69689         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69690         character 0xffff that matches the last element of the
69691         conversion table.
69693 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69695         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69696         fmodl commit.
69698 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69700         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69701         values higher than 25.6283.
69703 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69705         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69706         subnormal exponent extraction and add some __builtin_expect.
69707         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69708         Fix for subnormal mantissa calculation.
69710 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
69712         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69713         cpu2 is -1 and errno is not ENOSYS.
69715 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
69717         [BZ #14117]
69718         * sysdeps/i386/i486/bits/string.h: Renamed to ...
69719         * sysdeps/x86/bits/string.h: This.
69720         * sysdeps/x86_64/bits/string.h: Removed.
69722         * sysdeps/i386/i486/bits/string.h: Define inline functions only
69723         if not compiling for x86-64, but compiling for >= i486.
69725         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69726         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69728         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69729         New macro from Linux kernel 3.4.0.
69730         (FP_XSTATE_MAGIC2): Likewise.
69731         (FP_XSTATE_MAGIC2_SIZE): Likewise.
69732         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69733         (struct _fpx_sw_bytes): New struct.
69734         (struct _xsave_hdr): Likewise.
69735         (struct _ymmh_state): Likewise.
69736         (struct _xstate): Likewise.
69738         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69739         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69740         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69741         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69742         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69743         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69745         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69746         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69747         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69748         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69749         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69750         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69752 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69754         [BZ #13743]
69755         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69756         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69757         (sysdep_headers): Include sys/platform/ppc.h.
69758         * sysdeps/powerpc/test-gettimebase.c: Test for
69759         __ppc_get_timebase() to catch future ISA opcode/insn changes.
69760         * manual/Makefile (appendices): Include platform.texi.
69761         * manual/contrib.texi (Contributors): Update @node pointers.
69762         * manual/maint.texi (Maintenance): Likewise.
69763         (Platform): New node.
69764         * manual/platform.texi: New file.  Document the new features.
69766 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69767             Jakub Jelinek  <jakub@redhat.com>
69769         [BZ #14188]
69770         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69771         where __builtin_expect is unavailable.
69773 2012-06-03  David S. Miller  <davem@davemloft.net>
69775         * stdlib/longlong.h: Updated from GCC.
69777 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
69779         [BZ #14042]
69780         * sysdeps/powerpc/powerpc32/mcount.c: New file.
69781         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69782         __mcount_internal.
69783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69784         (GLIBC_2.16): Likewise.
69786 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69788         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69790 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69793         (default-abi): New variable.
69794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69795         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69796         variable.
69797         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69798         Likewise.
69799         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69800         Likewise.
69801         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69802         Likewise.
69804         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69805         definition.  Document in comment.
69807 2012-06-01  David S. Miller  <davem@davemloft.net>
69809         * stdlib/longlong.h: Updated from GCC.
69811 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69813         [BZ #14117]
69814         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69815         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69816         sys/debugreg.h sys/io.h here.
69817         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69818         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69819         sys/io.h.
69820         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69821         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69822         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69823         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69824         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69825         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69827         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69828         Define only if __x86_64__ is defined.
69830 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69832         [BZ #14048]
69833         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69834         Use int64_t for variable i.
69835         * math/libm-test.inc (fmod_test): Add more tests.
69837         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69838         z computation is not scheduled after fetestexcept.
69839         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69840         Use math_force_eval instead of asm to ensure calculation scheduled
69841         before exception test.
69842         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69843         Ensure a1 + u.d computation is not scheduled after fetestexcept.
69845 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
69847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69848         computation is not scheduled after fetestexcept.
69850 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69852         [BZ #14117]
69853         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69854         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69856 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69858         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69859         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69861 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69863         [BZ #14117]
69864         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69865         <bits/wordsize.h>.
69866         (__WCHAR_MIN): Support __WORDSIZE == 64.
69867         (__WCHAR_MAX): Likewise.
69869         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69870         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69872         [BZ #14183]
69873         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69874         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69876         [BZ #14117]
69877         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69878         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69880         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69881         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69883         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69884         Defined to 1 if __x86_64__ isn't defined.
69885         (_STAT_VER_LINUX_OLD): New.
69886         (st_atime): Remove duplicate.
69887         (st_mtime): Likewise.
69888         (st_ctime): Likewise.
69890 2012-05-31  David S. Miller  <davem@davemloft.net>
69892         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69893         entries.
69895 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
69897         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69898         gen-libm-test.pl.
69900         [BZ #14132]
69901         * elf/dl-reloc.c: Include <_itoa.h>.
69902         (_dl_reloc_bad_type): Remove use of INTUSE.
69903         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69904         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69905         * stdio-common/psiginfo.c (psiginfo): Likewise.
69906         * stdio-common/psignal.c (psignal): Likewise.
69907         * string/strsignal.c (strsignal): Likewise.
69908         * include/signal.h (_sys_siglist): Declare hidden proto.
69909         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69910         INTVARDEF with libc_hidden_data_def.
69911         * stdio-common/itoa-udigits.c: Likewise.
69912         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69913         (_itoa_lower_digits_internal): Remove declaration.
69914         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69915         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69916         (_sys_sigabbrev_internal): Remove aliases.
69917         (_sys_siglist): Define hidden alias.
69919 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69921         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69922         bits/sysctl.h.
69924 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69926         [BZ #14117]
69927         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69928         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69930         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69931         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69932         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69933         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69934         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69935         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69937         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69938         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69939         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69941         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69942         with __addr.
69943         (insw): Likewise.
69944         (insl): Likewise.
69945         (outsb): Likewise.
69946         (outsw): Likewise.
69947         (outsl): Likewise.
69949         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69950         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69951         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69953         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69954         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69955         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69956         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69957         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69958         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69960         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69961         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69963         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69964         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69966         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69967         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69968         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69970         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69971         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69972         to ...
69973         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69975         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69976         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69977         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69979         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69980         for x86-64.
69981         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69983 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69985         * math/math.h (M_El): Use two more decimal places.
69986         (M_LOG2El): Likewise.
69987         (M_LOG10El): Likewise.
69988         (M_LN2l): Likewise.
69989         (M_LN10l): Likewise.
69990         (M_PIl): Likewise.
69991         (M_PI_2l): Likewise.
69992         (M_PI_4l): Likewise.
69993         (M_1_PIl): Likewise.
69994         (M_2_PIl): Likewise.
69995         (M_2_SQRTPIl): Likewise.
69996         (M_SQRT2l): Likewise.
69997         (M_SQRT1_2l): Likewise.
69999 2012-05-31  David S. Miller  <davem@davemloft.net>
70001         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
70002         values between float registers.
70003         * sysdeps/sparc/sparc64/memset.S: Likewise.
70004         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70006 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
70008         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
70009         -D_FORTIFY_SOURCE=1.
70010         (CPPFLAGS-tst-longjmp_chk.c): Define.
70011         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
70012         (CPPFLAGS-tst-longjmp_chk2.c): Define.
70013         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
70014         CFLAGS-tst-wchar-h.c.
70016 2012-05-31  Marek Polacek  <polacek@redhat.com>
70018         [BZ #14132]
70019         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
70020         __endmntent_internal): Remove declaration.
70021         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
70022         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
70023         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
70025 2012-05-30  David S. Miller  <davem@davemloft.net>
70027         * sysdeps/sparc/sparc32/soft-fp/q_util.c
70028         (___Q_simulate_exceptions): Use real FP ops rather than writing
70029         into the %fsr.
70030         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
70031         Likewise.
70033 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70035         [BZ #14117]
70036         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
70037         * sysdeps/x86/bits/xtitypes.h: This.
70039         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
70040         * sysdeps/x86/bits/wordsize.h: This.
70042         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
70043         * sysdeps/x86/bits/huge_vall.h: This.
70045         * sysdeps/i386/bits/select.h: Removed.
70046         * sysdeps/x86_64/bits/select.h: Renamed to ...
70047         * sysdeps/x86/bits/select.h: This.
70049         * sysdeps/i386/bits/setjmp.h: Removed.
70050         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
70051         * sysdeps/x86/bits/setjmp.h: This.
70053         * sysdeps/i386/bits/mathdef.h: Removed.
70054         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
70055         * sysdeps/x86/bits/mathdef.h: This.
70057 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
70059         [BZ #14132]
70060         * include/sys/socket.h (__connect_internal)
70061         (__libc_sa_len_internal): Remove declaration.
70062         (__connect, __libc_sa_len): Declare hidden_proto.
70063         (SA_LEN): Remove use of INTUSE.
70064         * socket/connect.c: Add libc_hidden_def.
70065         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
70066         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
70067         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
70068         alias.
70069         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
70070         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
70071         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
70072         of adding _internal alias.
70074 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70076         [BZ #14117]
70077         * sysdeps/i386/bits/link.h: Removed.
70078         * sysdeps/i386/bits/linkmap.h: Likewise.
70079         * sysdeps/x86_64/bits/link.h: Renamed to ...
70080         * sysdeps/x86/bits/link.h: This.
70081         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
70082         * sysdeps/x86/bits/linkmap.h: This.
70084         * sysdeps/i386/bits/endian.h: Removed.
70085         * sysdeps/x86_64/bits/endian.h: Renamed to ...
70086         * sysdeps/x86/bits/endian.h: This.
70088         * sysdeps/i386/bits/byteswap.h: Removed.
70089         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70090         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
70091         * sysdeps/x86/bits/byteswap.h: This.
70092         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
70093         * sysdeps/x86/bits/byteswap-16.h: This.
70094         * sysdeps/i386/Implies: Add x86.
70095         * sysdeps/x86_64/Implies: Likewise.
70097 2012-05-30  David S. Miller  <davem@davemloft.net>
70099         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
70100         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
70101         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
70102         (FP_TRAPPING_EXCEPTIONS): Define.
70103         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
70104         (FP_TRAPPING_EXCEPTIONS): Define.
70105         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
70106         subnormals only when inexact has been signalled or underflow
70107         exceptions are enabled.
70108         (_FP_PACK_CANONICAL): Likewise.
70110 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70112         [BZ #14183]
70113         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70114         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70116 2012-05-30  Richard Henderson  <rth@twiddle.net>
70118         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70119         with #ifndef NOT_IN_libc.
70121         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
70122         marked to avoid plt entry.
70124 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70126         [BZ #14112]
70127         * Makeconfig (default-abi): New macro.
70128         (abi-includes): Likewise.
70129         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
70130         $(abi-$(default-abi)-lib-soname) for soname if defined.
70131         ($(common-objpfx)gnu/lib-names.stmp): Generate from
70132         abi-variants.
70133         * Makefile (installed-stubs): Likewise.
70134         * include/stubs-biarch.h: Removed.
70135         * scripts/lib-names.awk: Only handle one library at a time.
70136         * scripts/soversions.awk: Remove WORDSIZE support.
70137         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70138         entries.
70139         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70140         Removed.
70141         (syscall-list-default-condition): Likewise.
70142         (syscall-list-default-condition): Likewise.
70143         (syscall-list-includes): Likewise.
70144         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70145         syscall-list-* with abi-*.  Handle undefined abi-variants.
70146         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70147         * sysdeps/unix/sysv/linux/i386/Implies: New file.
70148         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70149         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70150         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70151         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70152         Removed.
70153         (syscall-list-32-options): Likewise.
70154         (syscall-list-32-condition): Likewise.
70155         (syscall-list-64-options): Likewise.
70156         (syscall-list-64-condition): Likewise.
70157         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70158         macro.
70159         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70160         Renamed to ...
70161         (abi-*): This.
70162         (abi-64-ld-soname): New macro.
70163         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70164         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70165         Renamed to ...
70166         (abi-*): This.
70167         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70168         * sysdeps/x86_64/x32/shlib-versions: Likewise.
70170 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
70172         * sysdeps/unix/sysv/linux/kernel-features.h
70173         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70174         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70175         include <kernel-features.h>.
70176         [!__NR_ftruncate64]: Remove conditional code.
70177         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70178         [__NR_ftruncate64]: Make code unconditional.
70179         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70180         * sysdeps/unix/sysv/linux/truncate64.c: Do not
70181         include <kernel-features.h>.
70182         [!__NR_ftruncate64]: Remove conditional code.
70183         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70184         [__NR_ftruncate64]: Make code unconditional.
70185         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70187         include <kernel-features.h>.
70188         [!__NR_ftruncate64]: Remove conditional code.
70189         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70190         [__NR_ftruncate64]: Make code unconditional.
70191         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70193         include <kernel-features.h>.
70194         [!__NR_ftruncate64]: Remove conditional code.
70195         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70196         [__NR_ftruncate64]: Make code unconditional.
70197         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70199         * configure.in (libc_cv_fpie): Weaken to a compile test using
70200         LIBC_TRY_CC_OPTION.
70201         * configure: Regenerated.
70203 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70209         Refreshed.
70210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70216         Refreshed.
70218 2012-05-27  David S. Miller  <davem@davemloft.net>
70220         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70221         (___Q_zero): New.
70222         (__Q_simulate_exceptions): Return void.  Change to simulate
70223         exceptions by writing into the %fsr.
70224         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70225         (__Qp_handle_exceptions): Likewise.
70226         (numbers): Delete.
70227         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70228         __Qp_handle_exceptions.
70229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70230         __Qp_handle_exceptions.
70231         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70232         as unused and give dummy FP_RND_NEAREST initializer.
70233         (FP_INHIBIT_RESULTS): Define.
70234         (___Q_simulate_exceptions): Update declaration.
70235         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70236         formatting.
70237         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70238         as unused and give dummy FP_RND_NEAREST initializer.
70239         (__Qp_handle_exceptions): Update declaration.
70240         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70241         formatting.
70243 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
70245         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70246         the temporary FPU control word.
70247         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70248         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70249         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70250         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70251         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70252         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70253         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70254         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70255         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70256         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70257         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70259 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70261         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70262         fields.
70264 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
70266         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70267         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70268         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70269         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70270         Likewise.
70271         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70272         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70273         Likewise.
70275 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
70277         * po/h.po: Update from translation team.
70279 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
70281         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70283         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70284         handling of denormals.
70285         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70286         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70287         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70288         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70289         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70291         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70292         Likewise.
70294 2012-05-26  Marek Polacek  <polacek@redhat.com>
70296         [BZ #14152]
70297         * math/libm-test.inc (fma_test): Don't always expect underflow
70298         exception.
70300 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70302         [BZ #12416]
70303         * elf/tst-execstack.c: Include stackinfo.h.
70304         (do_test): Adjust test case to ensure that pthread_getattr_np
70305         behaviour remains the same after marking stack executable.
70307 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70309         * sysdeps/unix/sysv/linux/kernel-features.h
70310         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70311         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70312         kernel-features.h.
70313         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70314         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70315         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70316         kernel-features.h.
70317         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70318         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70320 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
70322         * configure.in: Define the default includes to being none.
70323         * configure: Regenerated.
70325 2012-05-25  Roland McGrath  <roland@hack.frob.com>
70327         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70328         * sysdeps/x86_64/setjmp.S: Likewise.
70329         * sysdeps/i386/bsd-setjmp.S: Likewise.
70330         * sysdeps/i386/bsd-_setjmp.S: Likewise.
70331         * sysdeps/i386/setjmp.S: Likewise.
70332         * sysdeps/i386/__longjmp.S: Likewise.
70333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70334         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70336         * include/stap-probe.h: New file.
70337         * configure.in: Handle --enable-systemtap.
70338         * configure: Regenerated.
70339         * config.h.in (USE_STAP_PROBE): New #undef.
70340         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70341         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70342         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70344 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70346         [BZ #13717]
70347         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70348         to 2.4.0 where earlier.
70349         * sysdeps/unix/sysv/linux/configure: Regenerated.
70350         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
70359         [__ASSUME_32BITUIDS]: Make code unconditional.
70360         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70361         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70362         <kernel-features.h>.
70363         [__ASSUME_32BITUIDS]: Make code unconditional.
70364         [!__ASSUME_32BITUIDS]: Remove conditional code.
70365         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70366         <kernel-features.h>.
70367         [__ASSUME_32BITUIDS]: Make code unconditional.
70368         [!__ASSUME_32BITUIDS]: Remove conditional code.
70369         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70370         <kernel-features.h>.
70371         [__ASSUME_32BITUIDS]: Make code unconditional.
70372         [!__ASSUME_32BITUIDS]: Remove conditional code.
70373         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70374         <kernel-features.h>.
70375         [__ASSUME_32BITUIDS]: Make code unconditional.
70376         [!__ASSUME_32BITUIDS]: Remove conditional code.
70377         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70378         <kernel-features.h>.
70379         [__ASSUME_32BITUIDS]: Make code unconditional.
70380         [!__ASSUME_32BITUIDS]: Remove conditional code.
70381         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70382         <kernel-features.h>.
70383         [__ASSUME_32BITUIDS]: Make code unconditional.
70384         [!__ASSUME_32BITUIDS]: Remove conditional code.
70385         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70386         <kernel-features.h>.
70387         [__ASSUME_32BITUIDS]: Make code unconditional.
70388         [!__ASSUME_32BITUIDS]: Remove conditional code.
70389         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70390         <kernel-features.h>.
70391         [__ASSUME_32BITUIDS]: Make code unconditional.
70392         [!__ASSUME_32BITUIDS]: Remove conditional code.
70393         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70394         <kernel-features.h>.
70395         [__ASSUME_32BITUIDS]: Make code unconditional.
70396         [!__ASSUME_32BITUIDS]: Remove conditional code.
70397         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70398         <kernel-features.h>.
70399         [__ASSUME_32BITUIDS]: Make code unconditional.
70400         [!__ASSUME_32BITUIDS]: Remove conditional code.
70401         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70402         <kernel-features.h>.
70403         [__NR_setresgid] (__setresgid): Do not declare.
70404         [__ASSUME_32BITUIDS]: Make code unconditional.
70405         [!__ASSUME_32BITUIDS]: Remove conditional code.
70406         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70407         <kernel-features.h>.
70408         [__NR_setresuid] (__setresuid): Do not declare.
70409         [__ASSUME_32BITUIDS]: Make code unconditional.
70410         [!__ASSUME_32BITUIDS]: Remove conditional code.
70411         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70412         <kernel-features.h>.
70413         [__ASSUME_32BITUIDS]: Make code unconditional.
70414         [!__ASSUME_32BITUIDS]: Remove conditional code.
70415         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70416         <kernel-features.h>.
70417         [__ASSUME_32BITUIDS]: Make code unconditional.
70418         [!__ASSUME_32BITUIDS]: Remove conditional code.
70419         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70420         <kernel-features.h>.
70421         [__ASSUME_32BITUIDS]: Make code unconditional.
70422         [!__ASSUME_32BITUIDS]: Remove conditional code.
70423         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70424         <kernel-features.h>.
70425         [__ASSUME_32BITUIDS]: Make code unconditional.
70426         [!__ASSUME_32BITUIDS]: Remove conditional code.
70427         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70428         <kernel-features.h>.
70429         [__ASSUME_32BITUIDS]: Make code unconditional.
70430         [!__ASSUME_32BITUIDS]: Remove conditional code.
70431         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70432         <kernel-features.h>.
70433         [__ASSUME_32BITUIDS]: Make code unconditional.
70434         [!__ASSUME_32BITUIDS]: Remove conditional code.
70435         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70436         <kernel-features.h>.
70437         [__ASSUME_32BITUIDS]: Make code unconditional.
70438         [!__ASSUME_32BITUIDS]: Remove conditional code.
70439         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70440         <kernel-features.h>.
70441         [__ASSUME_32BITUIDS]: Make code unconditional.
70442         [!__ASSUME_32BITUIDS]: Remove conditional code.
70443         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70444         <kernel-features.h>.
70445         [__ASSUME_32BITUIDS]: Make code unconditional.
70446         [!__ASSUME_32BITUIDS]: Remove conditional code.
70447         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70448         <kernel-features.h>.
70449         [__ASSUME_32BITUIDS]: Make code unconditional.
70450         [!__ASSUME_32BITUIDS]: Remove conditional code.
70451         * sysdeps/unix/sysv/linux/kernel-features.h
70452         (__ASSUME_SETRESUID_SYSCALL): Remove.
70453         (__ASSUME_SETRESGID_SYSCALL): Likewise.
70454         (__ASSUME_32BITUIDS): Likewise.
70455         (__ASSUME_LDT_WORKS): Likewise.
70456         (__ASSUME_O_DIRECTORY): Likewise.
70457         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70458         architecture but not kernel version.
70459         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70460         (__ASSUME_MMAP2_SYSCALL): Likewise.
70461         (__ASSUME_STAT64_SYSCALL): Likewise.
70462         (__ASSUME_IPC64): Likewise.
70463         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70464         <kernel-features.h>.
70465         [__ASSUME_32BITUIDS]: Make code unconditional.
70466         [!__ASSUME_32BITUIDS]: Remove conditional code.
70467         * sysdeps/unix/sysv/linux/opendir.c: Do not include
70468         <kernel-features.h>.
70469         [__ASSUME_O_DIRECTORY]: Make code unconditional.
70470         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70471         132096]: Remove conditional code.
70472         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70473         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70474         <kernel-features.h>.
70475         [__ASSUME_32BITUIDS]: Make code unconditional.
70476         [!__ASSUME_32BITUIDS]: Remove conditional code.
70477         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70478         <kernel-features.h>.
70479         [__ASSUME_32BITUIDS]: Make code unconditional.
70480         [!__ASSUME_32BITUIDS]: Remove conditional code.
70481         * sysdeps/unix/sysv/linux/setegid.c: Do not include
70482         <kernel-features.h>.
70483         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70484         unconditional.
70485         (__setresgid): Do not declare.
70486         [__ASSUME_32BITUIDS]: Make code unconditional.
70487         [!__ASSUME_32BITUIDS]: Remove conditional code.
70488         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70489         <kernel-features.h>.
70490         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70491         unconditional.
70492         (__setresuid): Do not declare.
70493         [__ASSUME_32BITUIDS]: Make code unconditional.
70494         [!__ASSUME_32BITUIDS]: Remove conditional code.
70495         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70496         <kernel-features.h>.
70497         [__ASSUME_32BITUIDS]: Make code unconditional.
70498         [!__ASSUME_32BITUIDS]: Remove conditional code.
70499         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70500         <kernel-features.h>.
70501         [__ASSUME_32BITUIDS]: Make code unconditional.
70502         [!__ASSUME_32BITUIDS]: Remove conditional code.
70504 2012-05-25  Richard Henderson  <rth@twiddle.net>
70506         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70507         dl_hwcap to ifunc resolver.
70508         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70509         elf_ifunc_invoke.
70510         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70511         dl_hwcap to ifunc resolver.
70512         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70514 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70516         [BZ #14153]
70517         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70518         for |x| <= 2**-26, not 2**-57.
70519         * math/libm-test.inc (acos_test): Do not allow spurious underflow
70520         exception.
70522 2012-05-24  Jeff Law  <law@redhat.com>
70524         * stdio-common/Makefile (tests): Add bug25.
70525         * stdio-common/bug25.c: New test.
70527 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70529         [BZ #13576]
70530         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70531         multiple of MALLOC_ALIGNMENT in size.
70532         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70534 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70536         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70537         Require >= 256.
70538         (FILENAME_MAX): Use macro-int-constant.
70539         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
70540         (_IOFBF): Use macro-int-constant.
70541         (_IOLBF): Likewise.
70542         (_IONBF): Likewise.
70543         (SEEK_CUR): Likewise.
70544         (SEEK_END): Likewise.
70545         (SEEK_SET): Likewise.
70546         (TMP_MAX): Likewise.
70547         (EOF): Use macro-int-constant.  Require < 0.
70548         (NULL): Use macro-constant.  Require == 0.
70549         (stdin): Require type to be FILE *.
70550         (stdout): Likewise.
70551         (stderr): Likewise.
70552         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70553         macro-int-constant.
70554         (EXIT_SUCCESS): Likewise.
70555         (NULL): Use macro-constant.  Require == 0.
70556         (RAND_MAX): Use macro-int-constant.
70557         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70558         [C99-based standards] (strtof): Require function.
70559         [C99-based standards] (strtold): Likewise.
70560         [C99-based standards] (strtoll): Likewise.
70561         [C99-based standards] (strtoull): Likewise.
70562         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70563         [ISO || ISO99 || ISO11] (limits.h): Likewise.
70564         [ISO || ISO99 || ISO11] (math.h): Likewise.
70565         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70566         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70567         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70569 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
70571         [BZ #14132]
70572         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70573         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70574         * intl/dgettext.c (DCGETTEXT): Likewise.
70575         * intl/gettext.c (DCGETTEXT): Likewise.
70576         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70577         * posix/regex_internal.h (gettext): Likewise.
70578         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70579         Remove declaration.
70580         * include/argz.h (__argz_count_internal)
70581         (__argz_stringify_internal): Remove declaration.
70582         (__argz_count, __argz_stringify): Declare hidden proto.
70583         * intl/dcgettext.c: Remove use of INTDEF.
70584         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70585         * string/argz-stringify.c: Likewise.
70586         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70587         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70588         Declare hidden proto.
70589         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70590         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70591         Declare hidden proto.
70592         * include/stdio.h (__asprintf_internal): Don't declare.
70593         (__asprintf): Don't define as macro.  Declare hidden proto.
70594         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70595         (__fsetlocking): Declare hidden proto.
70596         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70597         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70598         hidden proto.
70599         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70600         (_IO_setlinebuf): Remove use of INTUSE.
70601         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70602         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70603         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70604         Remove declaration.
70605         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70606         (_IO_do_flush): Remove use of INTUSE.
70607         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70608         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70609         (_IO_adjust_column, _IO_least_wmarker)
70610         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70611         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70612         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70613         (_IO_default_doallocate, _IO_wdefault_doallocate)
70614         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70615         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70616         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70617         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70618         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70619         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70620         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70621         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70622         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70623         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70624         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70625         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70626         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70627         proto.
70628         (_IO_flush_all_internal, _IO_adjust_column_internal)
70629         (_IO_default_uflow_internal, _IO_default_finish_internal)
70630         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70631         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70632         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70633         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70634         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70635         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70636         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70637         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70638         (_IO_file_close_internal, _IO_file_close_it_internal)
70639         (_IO_file_underflow_internal, _IO_file_overflow_internal)
70640         (_IO_file_init_internal, _IO_file_attach_internal)
70641         (_IO_file_fopen_internal, _IO_file_read_internal)
70642         (_IO_file_sync_internal, _IO_file_seek_internal)
70643         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70644         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70645         (_IO_str_underflow_internal, _IO_str_overflow_internal)
70646         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70647         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70648         (_IO_list_all_internal, _IO_link_in_internal)
70649         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70650         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70651         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70652         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70653         (_IO_do_write_internal, _IO_padn_internal)
70654         (_IO_getline_info_internal, _IO_getline_internal)
70655         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70656         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70657         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70658         (_IO_vfscanf_internal, _IO_vfprintf_internal)
70659         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70660         (_IO_init_internal, _IO_un_link_internal): Don't declare.
70661         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70662         with libc_hidden_ver, remove use of INTUSE.
70663         * libio/genops.c: Likewise.
70664         * libio/freopen.c: Likewise.
70665         * libio/freopen64.c: Likewise.
70666         * libio/iofclose.c: Likewise.
70667         * libio/iofdopen.c: Likewise.
70668         * libio/iofflush.c: Likewise.
70669         * libio/iofflush_u.c: Likewise.
70670         * libio/iofgets.c: Likewise.
70671         * libio/iofgets_u.c: Likewise.
70672         * libio/iofopen.c: Likewise.
70673         * libio/iofopncook.c: Likewise.
70674         * libio/iofread.c: Likewise.
70675         * libio/iofread_u.c: Likewise.
70676         * libio/ioftell.c: Likewise.
70677         * libio/iofwrite.c: Likewise.
70678         * libio/iogetline.c: Likewise.
70679         * libio/iogets.c: Likewise.
70680         * libio/iogetwline.c: Likewise.
70681         * libio/iopadn.c: Likewise.
70682         * libio/iopopen.c: Likewise.
70683         * libio/ioseekoff.c: Likewise.
70684         * libio/ioseekpos.c: Likewise.
70685         * libio/iosetbuffer.c: Likewise.
70686         * libio/iosetvbuf.c: Likewise.
70687         * libio/ioungetc.c: Likewise.
70688         * libio/ioungetwc.c: Likewise.
70689         * libio/iovdprintf.c: Likewise.
70690         * libio/iovsprintf.c: Likewise.
70691         * libio/iovsscanf.c: Likewise.
70692         * libio/memstream.c: Likewise.
70693         * libio/obprintf.c: Likewise.
70694         * libio/oldfileops.c: Likewise.
70695         * libio/oldiofclose.c: Likewise.
70696         * libio/oldiofdopen.c: Likewise.
70697         * libio/oldiofopen.c: Likewise.
70698         * libio/oldiopopen.c: Likewise.
70699         * libio/oldstdfiles.c: Likewise.
70700         * libio/putc.c: Likewise.
70701         * libio/setbuf.c: Likewise.
70702         * libio/setlinebuf.c: Likewise.
70703         * libio/stdfiles.c: Likewise.
70704         * libio/strops.c: Likewise.
70705         * libio/vasprintf.c: Likewise.
70706         * libio/vscanf.c: Likewise.
70707         * libio/vsnprintf.c: Likewise.
70708         * libio/vswprintf.c: Likewise.
70709         * libio/wfiledoalloc.c: Likewise.
70710         * libio/wfileops.c: Likewise.
70711         * libio/wgenops.c: Likewise.
70712         * libio/wmemstream.c: Likewise.
70713         * libio/wstrops.c: Likewise.
70714         * libio/__fpurge.c: Likewise.
70715         * libio/__fsetlocking.c: Likewise.
70716         * assert/assert.c: Likewise.
70717         * debug/fgets_chk.c: Likewise.
70718         * debug/fgets_u_chk.c: Likewise.
70719         * debug/fread_chk.c: Likewise.
70720         * debug/fread_u_chk.c: Likewise.
70721         * debug/gets_chk.c: Likewise.
70722         * debug/obprintf_chk.c: Likewise.
70723         * debug/vasprintf_chk.c: Likewise.
70724         * debug/vdprintf_chk.c: Likewise.
70725         * debug/vsnprintf_chk.c: Likewise.
70726         * debug/vsprintf_chk.c: Likewise.
70727         * malloc/mtrace.c: Likewise.
70728         * misc/error.c: Likewise.
70729         * misc/syslog.c: Likewise.
70730         * stdio-common/asprintf.c: Likewise.
70731         * stdio-common/fxprintf.c: Likewise.
70732         * stdio-common/getw.c: Likewise.
70733         * stdio-common/isoc99_fscanf.c: Likewise.
70734         * stdio-common/isoc99_scanf.c: Likewise.
70735         * stdio-common/isoc99_vfscanf.c: Likewise.
70736         * stdio-common/isoc99_vscanf.c: Likewise.
70737         * stdio-common/isoc99_vsscanf.c: Likewise.
70738         * stdio-common/printf-prs.c: Likewise.
70739         * stdio-common/printf_fp.c: Likewise.
70740         * stdio-common/printf_fphex.c: Likewise.
70741         * stdio-common/printf_size.c: Likewise.
70742         * stdio-common/putw.c: Likewise.
70743         * stdio-common/scanf.c: Likewise.
70744         * stdio-common/sprintf.c: Likewise.
70745         * stdio-common/tmpfile.c: Likewise.
70746         * stdio-common/vfprintf.c: Likewise.
70747         * stdio-common/vfscanf.c: Likewise.
70748         * stdlib/strfmon_l.c: Likewise.
70749         * sunrpc/openchild.c: Likewise.
70750         * sunrpc/xdr_stdio.c: Likewise.
70751         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70752         * sysdeps/mach/hurd/tmpfile.c: Likewise.
70754 2012-05-24  Roland McGrath  <roland@hack.frob.com>
70756         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70758         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70759         in the third column, to generate for the shared library an IFUNC
70760         that uses _dl_vdso_vsym.
70761         * Makerules (COMPILE.c, compile-stdin.c): New variables.
70762         * Makeconfig (object-suffixes-noshared): New variable.
70764         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70765         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70766         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70767         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70769         [BZ #14132]
70770         * include/sys/time.h (__gettimeofday): Remove macro.
70771         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70772         * time/gettimeofday.c (__gettimeofday): Remove #undef.
70773         Remove INTDEF.
70774         (__gettimeofday): Add libc_hidden_def.
70775         (gettimeofday): Add libc_hidden_weak.
70776         * sysdeps/mach/gettimeofday.c: Likewise.
70777         * sysdeps/posix/gettimeofday.c: Likewise.
70778         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70779         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70780         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70781         (__gettimeofday_internal): Remove strong_alias.
70782         (__gettimeofday): Add libc_hidden_def.
70783         (gettimeofday): Add libc_hidden_weak.
70784         * sysdeps/unix/syscalls.list (gettimeofday):
70785         Remove __gettimeofday_internal alias.
70787 2012-05-24  Daniel Jacobowitz  <drow@false.org>
70788             H.J. Lu  <hongjiu.lu@intel.com>
70790         [BZ #12495]
70791         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70792         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70793         (largebin_index_32_big): New.
70794         (largebin_index): Use it for 16-byte alignment.
70795         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
70796         correction with front_misalign.
70798 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70802         Likewise.
70803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70804         Likewise.
70805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70806         Likewise.
70807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70808         Likewise.
70809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70810         Likewise.
70811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70812         Likewise.
70813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70814         Likewise.
70815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70816         Likewise.
70817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70818         Likewise.
70819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70820         Likewise.
70821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70822         Likewise.
70823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70824         Likewise.
70826         * scripts/data/c++-types-x32-linux-gnu.data: New file.
70827         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70829 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70831         [BZ #10846]
70832         [BZ #14036]
70833         * math/libm-test.inc (exp_test): Add test from bug 14036.
70834         (pow_test): Add test from bug 10846.
70836         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70837         and other flags.
70838         (special_function): Do not include flags in test name.
70839         (parse_args): Likewise.
70840         * sysdeps/i386/fpu/libm-test-ulps: Update.
70841         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70842         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70843         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70846         * math/gen-libm-test.pl (%beautify): Add entries for underflow
70847         exceptions.
70848         * math/libm-test.inc ("Philosophy"): Update comment about
70849         exception testing.
70850         (UNDERFLOW_EXCEPTION): New macro.
70851         (UNDERFLOW_EXCEPTION_OK): Likewise.
70852         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70853         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70854         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70855         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70856         (INVALID_EXCEPTION_OK): Update value.
70857         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70858         (OVERFLOW_EXCEPTION_OK): Likewise.
70859         (IGNORE_ZERO_INF_SIGN): Likewise.
70860         (test_exceptions): Handle underflow exceptions.
70861         (acos_test): Update for underflow exception expectations.
70862         (cexp_test): Likewise.
70863         (clog_test): Likewise.
70864         (clog10_test): Likewise.
70865         (csqrt_test): Likewise.
70866         (ctan_test): Likewise.
70867         (ctanh_test): Likewise.
70868         (exp_test): Likewise.
70869         (exp10_test): Likewise.
70870         (exp2_test): Likewise.
70871         (expm1_test): Likewise.
70872         (fma_test): Likewise.
70873         (j0_test): Likewise.
70874         (jn_test): Likewise.
70875         (nexttoward_test): Likewise.
70876         (pow_test): Likewise.
70877         (scalbn_test): Likewise.
70878         (scalbln_test): Likewise.
70879         (tan_test): Likewise.
70880         (y1_test): Likewise.
70881         * sysdeps/i386/fpu/libm-test-ulps: Update.
70882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70884 2012-05-23  David S. Miller  <davem@davemloft.net>
70886         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70887         (__libc_sigaction): Remove unused local variables.
70889 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70891         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70893 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
70895         mktime: avoid signed integer overflow
70896         * time/mktime.c (__mktime_internal): Do not mishandle the case
70897         where diff == INT_MIN.
70899         mktime: simplify computation of average
70900         * time/mktime.c (ranged_convert): Use new time_t_avg function
70901         instead of rolling our own (probably-slower) code.
70903         mktime: do not assume signed right shift propagates sign bit
70904         * time/mktime.c (isdst_differ): New static function.
70905         (__mktime_internal): No need to normalize tm_isdst now.
70906         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70907         tm_isdst values.
70909         mktime: merge another wrapv change from gnulib
70910         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70911         from some compilers.
70913         mktime: remove incorrect attempt at unusual arithmetics
70914         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70915         The code didn't really work on such machines anyway.
70916         (TYPE_MINIMUM): Assume two's complement.
70917         (twos_complement_arithmetic): Verify that long_int and time_t
70918         are two's complement (or unsigned, in the latter case).
70920         mktime: check signed shifts on long_int and time_t, too
70921         * time/mktime.c (SHR): Check that shifts work as desired
70922         on the types long_int and time_t too, as SHR is used on
70923         such types.
70925         mktime: do not assume 'long' is wide enough
70926         * time/mktime.c (verify): Move decl up.
70927         (long_int): New type.
70928         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70929         to remove assumption in the code that 'long' is wide enough to
70930         store year values.  This assumption is not true on x32 and on
70931         some non-glibc platforms.
70933         mktime: merge wrapv change from gnulib
70934         * time/mktime.c (WRAPV): New macro.
70935         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70936         (guess_time_tm, __mktime_internal): Do not assume that signed
70937         integer overflow wraps around; modern compilers generate code
70938         where this assumption is no longer valid.
70940 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70942         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70943         Replace "jmp L(pseudo_end)" with "ret".
70944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70945         Likewise.
70947 2012-05-23  Andreas Jaeger  <aj@suse.de>
70949         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70950         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70952 2012-05-23  Andreas Jaeger  <aj@suse.de>
70953             Maximilian Attems  <max@stro.at>
70955         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70956         New macros.
70958 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70960         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70961         code so that pseudo_end is just ret and the stack pointer is
70962         correct also for static library in error case.
70964 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70966         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70967         move to syscalls.list.
70968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70973         * manual/install.texi (Running make install): Do not mention Linux
70974         kernel version for which pt_chown is not needed.
70975         (Linux): Do not mention problems with nscd with 2.0 kernels.
70976         * INSTALL: Regenerated.
70978 2012-05-23  Andreas Jaeger  <aj@suse.de>
70980         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70981         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70982         macro.
70983         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70984         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70985         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70986         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70987         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70988         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70989         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70991         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70993         * sysdeps/unix/sysv/linux/bits/in.h
70994         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70996 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70998         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70999         (PREPARE_VERSION): Just use assert instead, it will be elided
71000         under [NDEBUG] anyway.
71002 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71004         * sysdeps/unix/sysv/linux/Makefile: Include
71005         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
71006         (sysdep_routines): Remove sysctl.
71007         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
71008         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
71009         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
71010         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
71011         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
71013 2012-05-22  Andreas Jaeger  <aj@suse.de>
71015         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
71016         that pseudo_end is just ret and the stack pointer is correct also
71017         for static library in error case.
71019 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
71021         [BZ #14122]
71022         * nss/nsswitch.c (defconfig_entries): New variable.
71023         (__nss_database_lookup): Don't leak defconfig entries.
71024         (nss_parse_service_list): Don't leak on error paths.
71025         (free_database_entries): New function.
71026         (free_defconfig): New function.
71027         (free_mem): Move common code to free_database_entries.
71029 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71031         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
71032         Add arch_prctl.
71033         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
71035         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
71036         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
71037         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
71038         New macro.
71039         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
71040         (INTERNAL_SYSCALL_TYPES): Likewise.
71041         (LOAD_ARGS_TYPES_[1-6]): Likewise.
71042         (LOAD_REGS_TYPES_[1-6]): Likewise.
71043         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
71044         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
71046 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71048         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
71049         copysignl for GLIBC_2_0.
71050         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
71051         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
71052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
71053         logbl for GLIBC_2_0.
71054         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
71055         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
71057 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71059         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
71060         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71062         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
71063         Use "neg %eax".
71065         * time/mktime.c: Update copyright years.
71067 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
71069         mktime: merge comment-quoting-style change from gnulib
71070         * time/mktime.c: Quote 'like this' in comments.
71071         The GNU coding standards suggest that we no longer quote `like this',
71072         as "`" and "'" are typically rendered asymmetrically nowadays.
71073         The typical gnulib style is to quote 'like this' when quoting
71074         code, and "like this" when quoting English.
71076         * time/mktime.c (compile-command): Add "-I.".
71078         mktime: merge mktime-internal.h change from gnulib
71079         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
71081         mktime: merge time_r change from gnulib
71082         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
71084         mktime: merge DEBUG change from gnulib
71085         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
71086         case system <time.h> has a #define.
71088         mktime: merge <sys/types.h> change from gnulib
71089         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
71090         since <time.t> is now guaranteed to define time_t.
71092         mktime: merge HAVE_CONFIG_H change from gnulib
71093         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
71095 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71098         Use "neg %eax".
71100         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
71101         __rlim_t cast.
71102         (struct rusage): Use anonymous union to pad each field to
71103         __syscall_slong_t.
71105 2012-05-21  David S. Miller  <davem@davemloft.net>
71107         * Makefules (o-iterator): Remove .s cases.
71108         (compile-command.s): Delete.
71109         (COMPILE.s): Delete.
71110         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
71112 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
71114         * configure.in (libc_cv_predef_stack_protector): Only consider
71115         "foobar" and "__stack_chk_fail" lines in libc_undefs.
71116         * configure: Regenerated.
71118 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71120         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71121         New macro.  Use R*LP on int and pointer.
71122         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71123         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71124         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71125         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71127         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71128         [__WORDSIZE_TIME64_COMPAT32] instead of
71129         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71130         (struct utmp): Likewise.
71131         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71132         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71133         Renamed to ...
71134         (__WORDSIZE_TIME64_COMPAT32): This.
71135         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71136         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71137         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71138         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71139         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71140         (__WORDSIZE_TIME64_COMPAT32): New macro.
71142 2012-05-21  Andreas Jaeger  <aj@suse.de>
71144         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71145         only if [SHARED]. Add prototype for __wcschr_ia32.
71147 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71149         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71150         of %rbp unmolested in the jmp_buf while mangling the low bits.
71151         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71152         unmolested high bits of %rbp while demangling the low bits.
71153         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71155 2012-05-21  Andreas Jaeger  <aj@suse.de>
71157         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71158         * sunrpc/svc_simple.c: Use it for registerrpc.
71159         * sunrpc/xcrypt.c: Use it for passwd2des.
71161         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71163 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71165         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71166         Don't define if [__SYSCALL_WORDSIZE != 32].
71167         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71168         New macro.
71170 2012-05-21  Bruno Haible  <bruno@clisp.org>
71171             Andreas Jaeger  <aj@suse.de>
71173         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71174         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71175         inptr and inend for must_buffer_ch.
71176         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71177         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71178         * stdio-common/Makefile (tests): Remove bug15.
71179         (bug15-ENV): Remove macro.
71180         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71181         anymore.
71183 2012-05-19  Andreas Jaeger  <aj@suse.de>
71184             Roland McGrath  <roland@hack.frob.com>
71186         * manual/contrib.texi: Completely rewritten. It contains now an
71187         alphabetical list of contributors and their contributions.
71189 2012-05-21  Richard Henderson  <rth@twiddle.net>
71191         * misc/getauxval.c (__getauxval): Use unsigned long int.
71192         * misc/sys/auxv.h: Include <sys/cdefs.h>.
71193         (getauxval): Use unsigned long int.
71195 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71197         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71199 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71201         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71202         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71203         __alignof__ (long double).
71205 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71209 2012-05-20  Richard Henderson  <rth@twiddle.net>
71211         * misc/getauxval.c: New file.
71212         * misc/sys/auxv.h: New file.
71213         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71214         (routines): Add getauxval.
71215         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71216         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71217         * elf/dl-sysdep.c (_dl_auxv): Remove.
71218         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71219         * elf/dl-support.c (_dl_auxv): New variable.
71220         (_dl_aux_init): Initialize it.
71221         * manual/startup.texi (Auxiliary Vector): New node.
71222         * sysdeps/generic/bits/hwcap.h: New file.
71223         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71224         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
71225         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71226         * sysdeps/sparc/sysdep.h: ... here.  Include it.
71227         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71228         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71230         Update.
71231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71234         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71240 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71244 2012-05-19  David S. Miller  <davem@davemloft.net>
71246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71248 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71250         [BZ #14123]
71251         * math/s_ccosh.c: Include <float.h>
71252         (__ccosh): Avoid internal overflow calculating sinh and cosh
71253         values before multiplying by sin and cos values.
71254         * math/s_ccoshf.c: Likewise.
71255         * math/s_ccoshl.c: Likewise.
71256         * math/s_csin.c: Likewise.
71257         * math/s_csinf.c: Likewise.
71258         * math/s_csinl.c: Likewise.
71259         * math/s_csinh.c: Likewise.
71260         * math/s_csinhf.c: Likewise.
71261         * math/s_csinhl.c: Likewise.
71262         * math/libm-test.inc (ccos_test): Add more tests.
71263         (ccosh_test): Likewise.
71264         (csin_test): Likewise.
71265         (csinh_test): Likewise.
71266         * sysdeps/i386/fpu/libm-test-ulps: Update.
71267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71269 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
71271         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71272         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71274         * sysdeps/x86_64/x32/_itoa.h: Add comment.
71276 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71278         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71279         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71280         * sysdeps/powerpc/soft-fp/Versions: Likewise.
71281         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71282         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71283         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71284         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71285         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71286         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71287         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71288         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71289         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71290         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71291         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71292         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71293         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71294         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71295         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71296         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71297         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71298         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71299         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71300         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71301         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71302         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71303         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71304         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71305         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71306         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71307         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71308         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71310 2012-05-18  Andreas Jaeger  <aj@suse.de>
71312         * csu/.gitignore: Delete.
71314 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71316         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71317         (timex): Use __syscall_slong_t.
71319 2012-05-18  Andreas Jaeger  <aj@suse.de>
71320             Carlos O'Donell  <carlos_odonell@mentor.com>
71322         * manual/install.texi (Configuring and compiling): Update
71323         description about files modified in the source directory.
71324         * INSTALL: Regenerated.
71326 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71328         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71329         value.  Use "or" to set return value to -1.
71330         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71331         negate return value.
71333 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71335         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71336         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71337         failure if the compiler has Graphite support disabled.
71338         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71339         Likewise.
71340         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71341         (CFLAGS-memmove.c): Likewise.
71342         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71343         Likewise.
71345 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71347         * sysdeps/x86_64/x32/_itoa.h: New file.
71349         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71350         getdents system call only if kernel and user dirents have the
71351         same d_ino and d_off.
71353         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71354         LLONG_MAX != LONG_MAX.
71355         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71356         (_fitoa_word): Likewise.
71358         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71359         years.
71360         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71361         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71362         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71364         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71365         include <bits/wordsize.h>.  Check __x86_64__ instead of
71366         __WORDSIZE.
71367         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71368         if __x86_64__ is defined.  Use anonymous union on fpstate.
71370         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71371         anonymous union.
71373 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
71375         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71376         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71377         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71378         Refer to _rtld_local_ro instead of _rtld_global_ro.
71379         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71380         Likewise.
71381         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71382         Likewise.
71383         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71384         Likewise.
71385         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71386         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71387         of _rtld_global, and rtld_progname instead of _dl_argv[0].
71389         [BZ #10882]
71390         * sysdeps/powerpc/powerpc32/dl-machine.c
71391         (__elf_machine_runtime_setup) [PROF]: Don't reference
71392         _dl_prof_resolve.
71394 2012-05-18  Andreas Jaeger  <aj@suse.de>
71396         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71397         function only available for GCCs before 3.4 since GCC 3.4
71398         introduced a builtin.
71399         (lrint): Likewise.
71400         (llrintf): Likewise.
71401         (llrint): Likewise.
71402         (fmaxf): Likewise.
71403         (fmax): Likewise.
71404         (fminf): Likewise.
71405         (fmin): Likewise.
71406         (rint): Likewise.
71407         (rintf): Likewise.
71408         (nearbyint): Likewise.
71409         (nearbyintf): Likewise.
71410         (ceil): Likewise.
71411         (ceilf): Likewise.
71412         (floor): Likewise.
71413         (floorf): Likewise.
71415 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71417         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71418         on both fields and cast pointer to __syscall_ulong_t.
71420         * bits/types.h (__fsword_t): New type.
71421         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71422         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71423         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71424         (__FSWORD_T_TYPE): Likewise.
71425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71426         (__FSWORD_T_TYPE): Likewise.
71427         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71428         (__FSWORD_T_TYPE): Likewise.
71429         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71430         (__FSWORD_T_TYPE): Likewise.
71431         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71432         __SWORD_TYPE with __fsword_t.
71433         (statfs64): Likewise.
71435 2012-05-17  David S. Miller  <davem@davemloft.net>
71437         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71439 2012-05-17  Andreas Jaeger  <aj@suse.de>
71441         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71442         warning.
71444 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71446         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71448 2012-05-17  Andreas Jaeger  <aj@suse.de>
71450         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71451         when it is used.
71453 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71455         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71457 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71459         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71460         * sysdeps/x86_64/tst-mallocalign1.c: New file.
71462 2012-05-17  Andreas Jaeger  <aj@suse.de>
71463             Carlos O'Donell  <carlos_odonell@mentor.com>
71465         [BZ #14059]
71466         * sysdeps/x86_64/multiarch/init-arch.h
71467         (bit_YMM_Usable): Rename to...
71468         (bit_AVX_Usable): ... this.
71469         (bit_FMA4_Usable): New macro.
71470         (bit_XMM_state): New macro.
71471         (bit_YMM_state): New macro.
71472         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71473         [__ASSEMBLER__] (index_AVX_Usable): ... this.
71474         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71475         (CPUID_OSXSAVE): New macro.
71476         (CPUID_AVX): New macro.
71477         (CPUID_FMA4): New macro.
71478         (index_YMM_Usable): Rename to...
71479         (index_AVX_Usable): ... this.
71480         (HAS_AVX): Use HAS_ARCH_FEATURE.
71481         (HAS_FMA4): Likewise.
71482         (HAS_YMM_USABLE): Remove.
71483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71484         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71485         are present.
71486         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71487         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71488         * sysdeps/x86_64/multiarch/Makefile: Likewise.
71489         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71490         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71492 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71494         * math/libm-test.c: Support platforms without multiple rounding modes.
71495         * math/bug-nextafter.c: Support platforms without FP exceptions.
71496         * math/bug-nexttoward.c: Likewise.
71497         * math/test-fenv.c: Likewise.
71498         * math/test-misc.c: Likewise.
71499         * stdlib/bug-getcontext.c: Likewise.
71501 2012-05-17  Andreas Jaeger  <aj@suse.de>
71503         * manual/examples/search.c (critter_cmp): Change signature to
71504         avoid warnings.
71505         * manual/string.texi (Collation Functions): Likewise.
71507 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71509         * bits/types.h: Fold copyright years.
71510         * bits/typesizes.h: Likewise.
71511         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71512         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71513         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71514         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71515         * time/time.h: Likewise.
71517 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
71519         [BZ #208]
71520         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71521         in instead of returning them.  Return void.
71522         (__libc_mallinfo): Accumulate over all arenas.
71523         (__malloc_stats): Adjust for change in int_mallinfo interface.
71525 2012-05-16  Roland McGrath  <roland@hack.frob.com>
71527         [BZ #10375]
71528         * configure.in (NM): Add AC_CHECK_TOOL for it.
71529         (libc_extra_cflags): New substituted variable.
71530         Check for -fstack-protector being used implicitly.
71531         * configure: Regenerated.
71532         * config.make.in (config-extra-cflags): New variable,
71533         gets @libc_extra_cflags@.
71534         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71536         [BZ #10375]
71537         * configure.in: Check for _FORTIFY_SOURCE being predefined.
71538         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71539         * configure: Regenerated.
71540         * config.make.in (CPPUNDEFS): New substituted variable.
71541         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71542         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71543         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71545 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71547         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71548         (mq_attr): Use __syscall_slong_t.
71550 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71552         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71553         Check __x86_64__ instead of __WORDSIZE.
71554         (_STAT_VER_LINUX): Likewise.
71555         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
71556         __syscall_ulong_t and __syscall_slong_t.
71557         (stat64): Likewise.
71559 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71561         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71563 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71565         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71567 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71569         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71570         __syscall_ulong_t.
71572         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71573         include <bits/wordsize.h>.  Check __x86_64__ instead of
71574         __WORDSIZE.
71575         (greg_t): Use "__extension__ long long int" if __x86_64__ is
71576         defined.
71577         (mcontext_t): Replace "unsigned long" with "unsigned long long".
71579         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71580         include <bits/wordsize.h>.  Check __x86_64__ instead of
71581         __WORDSIZE.
71582         (user_regs_struct): Use "__extension__ unsigned long long"
71583         instead of "unsigned long" if __x86_64__ is defined.
71584         (user): Likewise.  Pad after pointer field if __ILP32__ is
71585         defined.
71587 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
71589         * configure.in (makeinfo): Require version 4.5 or later.  Allow
71590         versions 5 to 9.
71591         * configure: Regenerated.
71592         * manual/install.texi (texinfo): Increase version requirement to
71593         4.5 or later.
71594         * INSTALL: Regenerated.
71596         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71598 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71600         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71602         * sysdeps/x86_64/x32/ffs.c: New file.
71604         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71605         __syscall_ulong_t.
71606         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71607         defined.  Use __syscall_ulong_t.
71608         (shminfo): Use __syscall_ulong_t.
71609         (shm_info): Likewise.
71611         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71612         __syscall_ulong_t.
71614         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71615         <bits/wordsize.h>.
71616         (msgqnum_t): Use __syscall_ulong_t.
71617         (msglen_t): Likewise.
71618         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
71619         __syscall_ulong_t.
71621         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71622         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71624         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71626         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71627         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71629         * sysvipc/sys/msg.h (msgbuf): Replace long int with
71630         __syscall_slong_t.
71632         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71633         include <bits/wordsize.h>.  Check __x86_64__ instead of
71634         __WORDSIZE.
71636         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71637         "unsigned long long int" if __x86_64__ is defined.
71638         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71640         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71641         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71642         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71644         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71645         <stdint.h>.
71646         (GET_PC): Cast to uintptr_t first.
71647         (GET_FRAME): Likewise.
71648         (GET_STACK): Likewise.
71650         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71651         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71652         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71653         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71654         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71655         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71656         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71657         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71658         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71659         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71660         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71661         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71662         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71663         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71664         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71665         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71666         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71667         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71668         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71669         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71670         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71671         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71672         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71673         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71674         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71675         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71676         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71677         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71678         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71680 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
71682         * Makerules (+depfiles): Also collect depfiles from .oS in
71683         $(extra-objs).
71684         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71685         .oS, $(libnldbl-routines)).
71687         * Makerules (native-compile-mkdep-flags): Define.
71688         * sunrpc/Makefile (extra-objs): Add $(addprefix
71689         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71690         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71691         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
71692         calling $(make-target-directory).
71694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71696         * bits/types.h (__snseconds_t): Removed.
71697         * time/time.h (struct timespec): Replace __snseconds_t with
71698         __syscall_slong_t.
71699         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71700         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71701         Likewise.
71702         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71703         (__SNSECONDS_T_TYPE): Likewise.
71704         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71705         (__SNSECONDS_T_TYPE): Likewise.
71706         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71707         (__SNSECONDS_T_TYPE): Likewise.
71709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71711         * sysdeps/mach/hurd/bits/typesizes.h
71712         (__SYSCALL_SLONG_TYPE): New macro.
71713         (__SYSCALL_ULONG_TYPE): Likewise.
71715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71717         * bits/types.h (__syscall_slong_t): New type.
71718         (__syscall_ulong_t): Likewise.
71720         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71721         (__SYSCALL_ULONG_TYPE): Likewise.
71722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71723         (__SYSCALL_SLONG_TYPE): Likewise.
71724         (__SYSCALL_ULONG_TYPE): Likewise.
71725         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71726         (__SYSCALL_SLONG_TYPE): Likewise.
71727         (__SYSCALL_ULONG_TYPE): Likewise.
71728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71729         (__SYSCALL_SLONG_TYPE): Likewise.
71730         (__SYSCALL_ULONG_TYPE): Likewise.
71732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71734         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71735         Add sigaltstack-offsets.sym.
71736         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71737         <sigaltstack-offsets.h>.
71738         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
71739         longjmp_msg pointer.
71740         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
71741         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71742         signal stack.
71743         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71745 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71747         * elf/stackguard-macros.h: Remove file.
71748         * sysdeps/generic/stackguard-macros.h: New file.
71749         * sysdeps/i386/stackguard-macros.h: Likewise.
71750         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71751         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71752         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71753         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71754         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71755         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71756         * sysdeps/x86_64/stackguard-macros.h: Likewise.
71757         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71758         <elf/stackguard-macros.h>.
71760         [BZ #14109]
71761         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71762         __aligned__ in attribute.
71763         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71764         (gregset_t): Likewise.
71766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71768         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71769         * sysdeps/x86_64/64/Implies-after: Here.  New file.
71770         * sysdeps/x86_64/x32/Implies-after: New file.
71772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71774         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71775         and access return value for _dl_profile_fixup.  Use R10_LP to
71776         load frame size.
71778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71780         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71784         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71785         * sysdeps/x86_64/x32/sysdep.h: New file.
71787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71789         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71790         * sysdeps/x86_64/setjmp.S: Likewise.
71792 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71794         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71795         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71796         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71797         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71798         remove unused global constant.
71800 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
71802         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71803         include of <not-cancel.h>.
71805 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71807         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71809 2012-05-15  Jeff Law  <law@redhat.com>
71810             Andreas Jaeger  <aj@suse.de>
71812         [BZ #13594]
71813         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71814         out from...
71815         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71816         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71817         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71818         code changing __hst_map_handle.map.
71820 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71822         * configure.in (sysnames): Look for Implies-before and Implies-after
71823         files.
71824         * configure: Regenerated.
71826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71828         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71829         8-byte data alignment with LP_SIZE alignment.
71831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71833         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71834         into R10_LP.
71836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71838         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71842         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71843         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71844         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71845         Likewise.
71846         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71850         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71851         (stackinfo_sub_sp): Likewise.
71853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71855         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71856         RAX_LP.
71858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71860         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71861         into R*_LP.
71863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71865         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71866         sizes into R*_LP.
71868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71870         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71874         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71875         into R11_LP and load __x86_64_shared_cache_size_half into
71876         R8_LP.
71878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71880         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71881         R8_LP.
71883 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71886         logb for POWER7.
71887         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71888         logbf for POWER7.
71889         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71890         logbl for POWER7.
71891         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71892         powerpc32/power7/fpu/s_logb.c via #include.
71893         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71894         powerpc32/power7/fpu/s_logbf.c via #include.
71895         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71896         powerpc32/power7/fpu/s_logbl.c via #include.
71898 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71900         * README.libm: Remove file.
71902 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71904         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71905         count for x32.  Use R*_LP and omit operand-size suffix.
71907 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71909         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71910         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71911         * sysdeps/x86_64/x32/shlib-versions: New file.
71913 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71915         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71916         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71917         Use _dl_fatal_printf instead.
71919 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71921         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71922         set if not set by the user.  Do not allow for being unset.
71923         * sysdeps/unix/sysv/linux/configure: Regenerated.
71925 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71927         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71928         the `q' suffix from lea and replace .quad with ASM_ADDR.
71930 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71932         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71933         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71934         instead of $17.
71935         (PTR_DEMANGLE): Likewise.
71937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71939         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71940         (LP_OP): Likewise.
71941         (ASM_ADDR): Likewise.
71942         (RAX_LP): Likewise.
71943         (RBP_LP): Likewise.
71944         (RBX_LP): Likewise.
71945         (RCX_LP): Likewise.
71946         (RDI_LP): Likewise.
71947         (RSI_LP): Likewise.
71948         (RSP_LP): Likewise.
71949         (R8_LP): Likewise.
71950         (R9_LP): Likewise.
71951         (R10_LP): Likewise.
71952         (R10_LP): Likewise.
71953         (R11_LP): Likewise.
71954         (R12_LP): Likewise.
71955         (R13_LP): Likewise.
71956         (R14_LP): Likewise.
71957         (R15_LP): Likewise.
71959 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71961         * sysdeps/x86_64/x32/dl-machine.h: New file.
71963 2012-05-14  Andreas Jaeger  <aj@suse.de>
71965         * manual/Makefile (subdir): Remove export of subdir.
71966         (all): Remove target.
71967         (.PHONY): Remove all from list.
71968         (mkinstalldirs): Remove.
71969         (.PHONY): Remove installdirs from list.
71970         ($(inst_infodir)/libc.info): Use make-target-directory.
71971         (installdirs): Remove.
71972         (subdir_%): Remove.
71973         (glibc-targets): Remove.
71974         (lib): Remove.
71975         (stubs): Remove.
71976         ($(objpfx)stubs ../po/manual.pot): Remove.
71977         ($(objpfx)stamp%): Remove.
71978         (make-target-directory): Remove.
71979         (subdir_install): Remove.
71980         (routines): Remove.
71981         (aux): Remove.
71982         (sources): Remove.
71983         (objects): Remove.
71984         (headers): Remove.
71986         [BZ #13750]
71987         * manual/.gitignore: Remove, it's not needed anymore.
71988         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71989         all files in it.
71990         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71991         directory.
71992         (texis): Renamed to $(objpfx)texis.
71993         (texis-path): New, contains path to generated files.
71994         (chapters.%): Use texis-path for complete path, add extra argument
71995         libc-texinfo.sh.
71996         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71997         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71998         (summary,texi, stamp-summary): Use complete path of
71999         files. Generate files in build dir.
72000         (dir-add.texi): Build in build dir.
72001         (libm-err.texi,stamp-libm-err): Likewise.
72002         (version.texi, stamp-version): Likewise.
72003         (.%c.texi): Likewise.
72004         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
72005         (mostlyclean): Remove target.
72006         (realclean): Remove target.
72007         (generated): Add new variable with contents from mostlyclean and
72008         realclean, remove entries duplicated in common-mostlyclean, add
72009         stamp-libm-err and stamp-version.
72010         (generated-dirs): Add libc directory.
72011         ($(inst_infodir)/libc.info): Install files from build dir.
72013         * manual/install.texi (Configuring and compiling): Adjust since
72014         the info files are not part of the tar ball anymore.
72016 2012-05-14  Andreas Jaeger  <aj@suse.de>
72018         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
72019         variable.
72021 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
72023         [BZ #13717]
72024         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72025         to 2.2.0 where earlier.
72026         * sysdeps/unix/sysv/linux/configure: Regenerated.
72027         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
72028         Remove conditional code.
72029         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
72030         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
72031         Remove conditional code.
72032         [!__NR_lchown]: Likewise.
72033         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72034         [__NR_lchown]: Likewise.
72035         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
72036         comment referencing __ASSUME_LCHOWN_SYSCALL.
72037         * sysdeps/unix/sysv/linux/i386/sigaction.c
72038         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72039         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72040         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
72041         Remove conditional code.
72042         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
72043         (__protocol_available): Remove #if 0 code.
72044         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
72045         conditional code.
72046         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
72047         * sysdeps/unix/sysv/linux/kernel-features.h
72048         (__ASSUME_GETCWD_SYSCALL): Don't define.
72049         (__ASSUME_REALTIME_SIGNALS): Likewise.
72050         (__ASSUME_PREAD_SYSCALL): Likewise.
72051         (__ASSUME_PWRITE_SYSCALL): Likewise.
72052         (__ASSUME_POLL_SYSCALL): Likewise.
72053         (__ASSUME_LCHOWN_SYSCALL): Likewise.
72054         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
72055         non-SPARC.
72056         (__ASSUME_SIOCGIFNAME): Don't define.
72057         (__ASSUME_MSG_NOSIGNAL): Likewise.
72058         (__ASSUME_SENDFILE): Define unconditionally.
72059         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
72060         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
72061         conditional code.
72062         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
72063         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
72064         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72065         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72066         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
72067         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72068         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
72070         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72071         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
72073         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
72076         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72077         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
72079         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
72082         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72083         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
72085         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
72088         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
72091         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72093         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
72094         Remove conditional code.
72095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72096         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72097         Remove conditional code.
72098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72099         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
72100         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
72101         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72102         Remove conditional code.
72103         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72104         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
72105         Remove conditional code.
72106         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72107         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
72108         Remove conditional code.
72109         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72110         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72111         Remove conditional code.
72112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72113         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72114         Remove conditional code.
72115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72116         * sysdeps/unix/sysv/linux/sh/pwrite64.c
72117         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72119         * sysdeps/unix/sysv/linux/sigaction.c
72120         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72121         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72122         * sysdeps/unix/sysv/linux/sigpending.c
72123         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72124         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72125         * sysdeps/unix/sysv/linux/sigprocmask.c
72126         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72127         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72128         * sysdeps/unix/sysv/linux/sigsuspend.c
72129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72131         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72132         (__libc_missing_rt_sigs): Remove.
72133         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72134         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72135         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72136         Remove conditional code.
72137         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72138         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72139         return 1.
72140         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72141         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72142         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72143         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72145 2012-05-14  Andreas Jaeger  <aj@suse.de>
72147         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72148         it's not used in glibc.
72149         (__coshm1): Likewise.
72150         (__acosh1p): Likewise.
72151         (__sgn): Likewise.
72153         * manual/string.texi (Copying and Concatenation): Add missing
72154         variable in concat example.
72155         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72157 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72159         [BZ #14103]
72160         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72161         __builtin_clzl with __builtin_clzll.
72163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72165         [BZ #14104]
72166         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72167         libc_freeres_ptr.
72169 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72171         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72172         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72173         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72174         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72176 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
72178         * NEWS: Update ia64 info.
72180 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
72182         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72183         used as bcopy.
72185 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
72187         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72188         * sysdeps/unix/syscalls.list (dup3): Likewise.
72189         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72190         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72192 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72194         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72195         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72197 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72199         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72200         thread pointer.
72201         (TLS_IE): Use mov/add instead of movq/addq to load thread
72202         pointer.
72203         (TLS_GD_PREFIX): New.
72204         (TLS_GD): Use it.
72206 2012-05-11  David S. Miller  <davem@davemloft.net>
72208         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72209         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72210         (_FPU_SETCW): Likewise.
72212 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72214         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72215         is 32-byte aligned.
72217 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
72219         [BZ #11837]
72220         * iconvdata/gb18030.c: Update tables.
72221         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
72222         characters specially.
72223         (BODY for TO_LOOP): Add encoding of missing ranges.
72225 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
72227         [BZ #13673]
72228         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72229         * sysdeps/mach/hurd/dup3.c: Likewise.
72230         * sysdeps/mach/hurd/readlinkat.c: Likewise.
72231         * sysdeps/powerpc/memmove.c:: Likewise.
72233 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72235         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72236         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72238 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72240         * elf/elf.h (R_X86_64_RELATIVE64): New.
72241         (R_X86_64_NUM): Updated.
72242         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72243         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
72244         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72245         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72246         tst-quad1pie tst-quad2pie
72247         (modules-names): Add tst-quadmod1 tst-quadmod2.
72248         ($(objpfx)tst-quad1): New dependency.
72249         ($(objpfx)tst-quad2): Likewise.
72250         ($(objpfx)tst-quad1pie): Likewise.
72251         ($(objpfx)tst-quad2pie): Likewise.
72252         * sysdeps/x86_64/tst-quad1.c: New file.
72253         * sysdeps/x86_64/tst-quad1pie.c: New file.
72254         * sysdeps/x86_64/tst-quad2.c: Likewise.
72255         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72256         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72257         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72258         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72259         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72261 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72263         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72264         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72265         * streams/stropts.h (t_scalar_t): Define type.
72267         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72268         (_PATH_PRESERVE): Set to "/var/lib".
72269         (_PATH_RWHODIR): Set to "/var/spool/rwho".
72271         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72272         instead of int.
72274         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72275         if __dir_mkfile succeeded.
72277         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72278         checking for _hurd_dtablesize.  Unlock it right after having
72279         finished _hurd_dtable allocation.
72281 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72283         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72284         * sysdeps/mach/hurd/configure: Regenerated.
72285         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72286         special-casing to...
72287         * sysdeps/gnu/configure.in: ... this new file.
72288         * sysdeps/unix/sysv/linux/configure: Regenerated.
72289         * sysdeps/gnu/configure: New generated file.
72291         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72292         for Linux: use nsec instead of usec, as well as:
72293         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72294         members of type struct timespec.
72295         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72296         New macros.
72297         (struct stat64): Likewise.
72298         (_STATBUF_ST_NSEC): New macro.
72299         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72301         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72302         __strtoul_internal rather than strtoul.
72304 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72306         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72307         and reject them.
72309 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72311         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72312         which preserves existing values.
72313         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72315 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72317         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72318         TIMEOUT values.  Return EINVAL for NFDS values either negative or
72319         greater than FD_SETSIZE.
72321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72323         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72324         allocated, call __vm_protect to finish enabling the existing space, and
72325         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72326         allocate the remainder.
72328 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72330         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72331         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
72333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72335         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72336         sysdeps/mach/hurd/readlink.c.
72338         * posix/tst-sysconf.c (posix_options): Only use
72339         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72340         _POSIX_SYNCHRONIZED_IO when they are defined
72341         * sysdeps/mach/hurd/bits/posix_opt.h:
72342         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72343         (_XOPEN_REALTIME): Undefine macro.
72344         (_XOPEN_REALTIME_THREADS): Undefine macro.
72345         (_XOPEN_SHM): Undefine macro.
72346         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72347         macro to -1.
72348         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72349         macro to -1.
72350         (_POSIX_ASYNC_IO): Undefine macro.
72351         (_POSIX_PRIORITIZED_IO): Undefine macro.
72352         (_POSIX_SPIN_LOCKS): Define macro to -1.
72354         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72355         SA_NODEFER, SA_RESETHAND.
72356         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72357         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72358         F_DUPFD_CLOEXEC.
72360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72362         * elf/Makefile (pldd-modules): Define unconditionally.
72364 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72366         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72368 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72370         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72371         Return ENOENT when name is empty.
72372         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72374 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72376         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72378         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72382         Fix mlock in all cases except non-readable pages.
72383         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72384         instead of VM_PROT_ALL as parameter to __vm_wire function.
72386         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72387         (__mkdir): When path is `/', just fail with EEXIST.
72388         * sysdeps/mach/hurd/mkdirat.c: Likewise.
72390 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72392         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72393         <sys/uio.h> (for writev).
72394         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72395         and <sys/param.h> (for MIN).
72397 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72399         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72400         REQUESTED_TIME.  Properly set the remaining time and return EINTR
72401         if interrupted.
72403 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72405         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72406         Depend on against $(link-rpcuserlibs).
72408 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72410         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72411         (__libc_stack_end): Do not use attribute_relro.
72412         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72413         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72414         to libthread-provided value.
72415         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72416         attribute_relro.
72418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72420         [BZ #3748]
72421         * bits/libc-lock.h (__libc_once_get): New macro.
72422         * sysdeps/mach/bits/libc-lock.h: Likewise.
72423         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72424         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72425         instead of using implementation details.
72427         * libio/fileops.c: Unconditionally include <kernel-features.h>.
72428         * libio/freopen.c: Likewise.
72429         * libio/freopen64.c: Likewise.
72430         * misc/syslog.c: Likewise.
72431         * nscd/connections.c: Likewise.
72432         * nscd/netgroupcache.c: Likewise.
72433         * sysdeps/posix/getcwd.c: Likewise.
72435 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72437         * math/w_ilogbf.c: Add #include <limits.h>.
72439 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72441         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72442         path instead of returning without unlocking.
72444         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72445         immediate-write ioctls.
72446         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72450         * sysdeps/mach/hurd/i386/init-first.c (init): Use
72451         __builtin_frame_address instead of making assumptions about the
72452         location of the return address relative to DATA.  Force early load of
72453         the return address.
72454         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72455         __builtin_frame_address.
72457         dup3 for GNU Hurd.
72458         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72459         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
72460         implement dup3 and do some further code clean-ups.
72461         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72462         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72466         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72468         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72469         HURD_CRITICAL_END around holding _hurd_dtable_lock.
72470         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72471         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72472         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72473         d->port.lock.
72475         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72476         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
72477         when handler == SIG_ERR, not when handler != SIG_ERR.
72479 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72481         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72482         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72483         definitions.
72485         accept4 for GNU Hurd.
72486         * include/sys/socket.h (__libc_accept4): New prototype.
72487         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
72488         to implement __libc_accept4.
72489         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72490         __libc_accept4.
72491         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72493         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72494         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72495         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72496         signal-defines.sym.
72498 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72500         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72502 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72504         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72505         assertion on O_CLOEXEC flag.
72506         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72507         * hurd/intern-fd.c: Likewise.
72508         * hurd/port2fd.c: Likewise.
72510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72512         [BZ #3906]
72513         * bits/in.h (IPV6_PKTINFO): Define new macro.
72514         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72516 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72518         [BZ #13954]
72519         [BZ #13955]
72520         [BZ #13956]
72521         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72522         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72523         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72524         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72525         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72526         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72527         * math/libm-test.inc (logb_test) : Additional logb tests.
72529 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
72530             Andreas Jaeger  <aj@suse.de>
72532         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72533         * configure: Regenerated.
72534         * config.h.in (LINK_OBSOLETE_RPC): New macro.
72535         * config.make.in (link-obsolete-rpc): New substituted variable.
72536         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72537         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72538         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72539         (shared-only-routines): Don't set it under [link-obsolete-rpc],
72540         so that libc.a contains the symbols.
72541         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72542         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72543         * sunrpc/auth_none.c: Likewise.
72544         * sunrpc/auth_unix.c: Likewise.
72545         * sunrpc/authdes_prot.c: Likewise.
72546         * sunrpc/authuxprot.c: Likewise.
72547         * sunrpc/clnt_gen.c: Likewise.
72548         * sunrpc/clnt_perr.c: Likewise.
72549         * sunrpc/clnt_raw.c: Likewise.
72550         * sunrpc/clnt_simp.c: Likewise.
72551         * sunrpc/clnt_tcp.c: Likewise.
72552         * sunrpc/clnt_udp.c: Likewise.
72553         * sunrpc/clnt_unix.c: Likewise.
72554         * sunrpc/des_crypt.c: Likewise.
72555         * sunrpc/des_soft.c: Likewise.
72556         * sunrpc/get_myaddr.c: Likewise.
72557         * sunrpc/key_call.c: Likewise.
72558         * sunrpc/key_prot.c: Likewise.
72559         * sunrpc/netname.c: Likewise.
72560         * sunrpc/pm_getmaps.c: Likewise.
72561         * sunrpc/pm_getport.c: Likewise.
72562         * sunrpc/pmap_clnt.c: Likewise.
72563         * sunrpc/pmap_prot.c: Likewise.
72564         * sunrpc/pmap_prot2.c: Likewise.
72565         * sunrpc/pmap_rmt.c: Likewise.
72566         * sunrpc/publickey.c: Likewise.
72567         * sunrpc/rpc_cmsg.c: Likewise.
72568         * sunrpc/rpc_common.c: Likewise.
72569         * sunrpc/rpc_dtable.c: Likewise.
72570         * sunrpc/rpc_prot.c: Likewise.
72571         * sunrpc/rpc_thread.c: Likewise.
72572         * sunrpc/rtime.c: Likewise.
72573         * sunrpc/svc.c: Likewise.
72574         * sunrpc/svc_auth.c: Likewise.
72575         * sunrpc/svc_raw.c: Likewise.
72576         * sunrpc/svc_run.c: Likewise.
72577         * sunrpc/svc_tcp.c: Likewise.
72578         * sunrpc/svc_udp.c: Likewise.
72579         * sunrpc/svc_unix.c: Likewise.
72580         * sunrpc/svcauth_des.c: Likewise.
72581         * sunrpc/xcrypt.c: Likewise.
72582         * sunrpc/xdr.c: Likewise.
72583         * sunrpc/xdr_array.c: Likewise.
72584         * sunrpc/xdr_float.c: Likewise.
72585         * sunrpc/xdr_intXX_t.c: Likewise.
72586         * sunrpc/xdr_mem.c: Likewise.
72587         * sunrpc/xdr_rec.c: Likewise.
72588         * sunrpc/xdr_ref.c: Likewise.
72589         * sunrpc/xdr_sizeof.c: Likewise.
72590         * sunrpc/xdr_stdio.c: Likewise.
72592 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72594         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72595         change.  Update copyright years.
72597 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72599         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72601 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
72602             Joseph Myers  <joseph@codesourcery.com>
72603             Paul Pluzhnikov  <ppluzhnikov@google.com>
72605         [BZ #14012]
72606         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72607         requiring rpcgen.
72608         [cross-compiling] (extra-libs): Likewise.
72609         [cross-compiling] (extra-libs-others): Likewise.
72610         [cross-compiling] (librpcsvc-routines): Likewise.
72611         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72612         [cross-compiling] (omit-deps): Likewise.
72613         (sunrpc-CPPFLAGS): New variable.
72614         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72615         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72616         (cross-rpcgen-objs): New variable.
72617         (extra-objs): Append $(cross-rpcgen-objs).
72618         ($(cross-rpcgen-objs)): New rule.
72619         ($(objpfx)cross-rpcgen): Likewise.
72620         (rpcgen-cmd): Define to use $(built-program-file).  Expand
72621         comment.
72622         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72623         ($(objpfx)x%.stmp): Likewise.
72624         * sunrpc/proto.h [IS_IN_build] (_): Define.
72625         [IS_IN_build] (_libc_intl_domainname): Likewise.
72627 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72629         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72630         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72631         and R_X86_64_TPOFF64.
72633 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72635         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72636         sysdeps/unix/sysv/syscalls.list.
72637         (stime): Likewise.
72638         (utime): Likewise.
72639         * sysdeps/unix/sysv/syscalls.list: Remove file.
72641 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
72643         [BZ #3440]
72644         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72645         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72646         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72647         (__LC_IDENTIFICATION): Make these macros useful in #if
72648         expressions, as required by C99.
72650 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
72652         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72653         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
72654         after this.
72656 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
72658         * stdlib/longlong.h: Updated from GCC.
72660 2012-05-09  Andreas Jaeger  <aj@suse.de>
72662         * nscd/nscd.c (run_modes): Make named enum, reorder so that
72663         default is first entry.
72664         (run_mode): Set type.
72665         (main): Remove informal message about syslog.
72666         (options): Fix typo.
72668         [BZ #14053]
72669         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72670         to asm.
72671         (lrint): Likewise.
72672         (llrintf): Likewise.
72673         (llrint): Likewise.
72674         (rint): Likewise.
72675         (rintf): Likewise.
72676         (nearbyint): Likewise.
72677         (nearbyintf): Likewise.
72679 2012-05-09  Andreas Jaeger  <aj@suse.de>
72680             Pedro Alves  <palves@redhat.com>
72682         * nscd/nscd.c (run_mode): Use enum.
72683         (main): Cleanup coding style issue.
72685 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
72686             Andreas Jaeger  <aj@suse.de>
72688         * nscd/nscd.c (go_background): Replaced with...
72689         (run_mode): ... this.
72690         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72691         (options): Add -F --foreground.
72692         (main): Implement it.
72693         (parse_opt): Parse it.
72695 2012-05-09  Andreas Jaeger  <aj@suse.de>
72697         [BZ #14083]
72698         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72699         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72700         -Wconversion warning.
72701         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72702         Likewise.
72704 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
72706         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
72707         == 0.
72708         (LC_ALL): Use macro-int-constant.
72709         (LC_COLLATE): Likewise.
72710         (LC_CTYPE): Likewise.
72711         (LC_MESSAGES): Likewise.
72712         (LC_MONETARY): Likewise.
72713         (LC_NUMERIC): Likewise.
72714         (LC_TIME): Likewise.
72715         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72716         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72717         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72718         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72719         Specify type.
72720         [C99-based standards] (float_t): Expect type.
72721         [C99-based standards] (double_t): Expect type.
72722         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
72723         type.
72724         [C99-based standards] (HUGE_VALL): Likewise.
72725         [C99-based standards] (INFINITY): Likewise.
72726         [C99-based standards] (NAN): Likewise.
72727         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72728         [C99-based standards] (FP_NAN): Likewise.
72729         [C99-based standards] (FP_NORMAL): Likewise.
72730         [C99-based standards] (FP_SUBNORMAL): Likewise.
72731         [C99-based standards] (FP_ZERO): Likewise.
72732         [C99-based standards] (FP_FAST_FMA): Use
72733         optional-macro-int-constant.  Specify type.  Require == 1.
72734         [C99-based standards] (FP_FAST_FMAF): Likewise.
72735         [C99-based standards] (FP_FAST_FMAL): Likewise.
72736         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72737         [C99-based standards] (FP_ILOGBNAN): Likewise.
72738         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72739         Specify type.
72740         [C99-based standards] (MATH_ERREXCEPT): Likewise.
72741         [C99-based standards] (math_errhandling): Specify type.
72742         [ISO99 || ISO11] (signgam): Do not allow.
72743         [non-C99-based standards] (copysignf): Do not allow.
72744         [non-C99-based standards] (exp2f): Likewise.
72745         [non-C99-based standards] (log2f): Likewise.
72746         [non-C99-based standards] (modff): Allow.
72747         [non-C99-based standards] (erff): Do not allow.
72748         [non-C99-based standards] (erfcf): Likewise.
72749         [non-C99-based standards] (gammaf): Likewise.
72750         [non-C99-based standards] (hypotf): Likewise.
72751         [non-C99-based standards] (j0f): Likewise.
72752         [non-C99-based standards] (j1f): Likewise.
72753         [non-C99-based standards] (jnf): Likewise.
72754         [non-C99-based standards] (lgammaf): Likewise.
72755         [non-C99-based standards] (tgammaf): Likewise.
72756         [non-C99-based standards] (y0f): Likewise.
72757         [non-C99-based standards] (y1f): Likewise.
72758         [non-C99-based standards] (ynf): Likewise.
72759         [non-C99-based standards] (isnanf): Likewise.
72760         [non-C99-based standards] (acoshf): Likewise.
72761         [non-C99-based standards] (asinhf): Likewise.
72762         [non-C99-based standards] (atanhf): Likewise.
72763         [non-C99-based standards] (cbrtf): Likewise.
72764         [non-C99-based standards] (expm1f): Likewise.
72765         [non-C99-based standards] (ilogbf): Likewise.
72766         [non-C99-based standards] (log1pf): Likewise.
72767         [non-C99-based standards] (logbf): Likewise.
72768         [non-C99-based standards] (nextafterf): Likewise.
72769         [non-C99-based standards] (remainderf): Likewise.
72770         [non-C99-based standards] (rintf): Likewise.
72771         [non-C99-based standards] (scalbf): Likewise.
72772         [non-C99-based standards] (copysignl): Likewise.
72773         [non-C99-based standards] (exp2l): Likewise.
72774         [non-C99-based standards] (log2l): Likewise.
72775         [non-C99-based standards] (modfl): Allow.
72776         [non-C99-based standards] (erfl): Do not allow.
72777         [non-C99-based standards] (erfcl): Likewise.
72778         [non-C99-based standards] (gammal): Likewise.
72779         [non-C99-based standards] (hypotl): Likewise.
72780         [non-C99-based standards] (j0l): Likewise.
72781         [non-C99-based standards] (j1l): Likewise.
72782         [non-C99-based standards] (jnl): Likewise.
72783         [non-C99-based standards] (lgammal): Likewise.
72784         [non-C99-based standards] (tgammal): Likewise.
72785         [non-C99-based standards] (y0l): Likewise.
72786         [non-C99-based standards] (y1l): Likewise.
72787         [non-C99-based standards] (ynl): Likewise.
72788         [non-C99-based standards] (isnanl): Likewise.
72789         [non-C99-based standards] (acoshl): Likewise.
72790         [non-C99-based standards] (asinhl): Likewise.
72791         [non-C99-based standards] (atanhl): Likewise.
72792         [non-C99-based standards] (cbrtl): Likewise.
72793         [non-C99-based standards] (expm1l): Likewise.
72794         [non-C99-based standards] (ilogbl): Likewise.
72795         [non-C99-based standards] (log1pl): Likewise.
72796         [non-C99-based standards] (logbl): Likewise.
72797         [non-C99-based standards] (nextafterl): Likewise.
72798         [non-C99-based standards] (remainderl): Likewise.
72799         [non-C99-based standards] (rintl): Likewise.
72800         [non-C99-based standards] (scalbl): Likewise.
72801         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72802         [non-C99-based standards] (FP_*): Do not allow.
72803         [C99-based standards] (FP_*): Change to
72804         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72805         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72806         allow.
72807         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72808         (SIG_ERR): Likewise.
72809         [X/Open-based standards] (SIG_HOLD): Likewise.
72810         (SIG_IGN): Likewise.
72811         (SIGABRT): Use macro-int-constant.  Specify type.  Require
72812         positive value.
72813         (SIGFPE): Likewise.
72814         (SIGILL): Likewise.
72815         (SIGINT): Likewise.
72816         (SIGSEGV): Likewise.
72817         (SIGTER): Likewise.
72818         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72819         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72820         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72821         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72822         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72823         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72824         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72825         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72826         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72827         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72828         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72829         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72830         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72831         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72832         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72833         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72834         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72835         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72836         [X/Open-based standards] (SIGTRAP): Likewise.
72837         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72838         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72839         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72840         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72841         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72842         allow.
72844 2012-05-08  Ian Wienand  <ianw@vmware.com>
72846         [BZ #14080]
72847         * time/tzset.c (__tzset_parse_tz): Update default rules for
72848         daylight time changes in the Energy Policy Act of 2005.
72850 2012-05-09  Andreas Jaeger  <aj@suse.de>
72852         [BZ #13983]
72853         * elf/ldconfig.c (parse_conf): Change string to make clear that
72854         ldconfig only issued a warning if ld.so.conf does not exist.
72856 2012-05-08  David S. Miller  <davem@davemloft.net>
72858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72859         movxtod instead of popping the value on the stack.
72861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72863 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
72865         * config.h.in: Add HAVE_ARM_PCS_VFP.
72867 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
72869         [BZ #13979]
72870         * include/features.h: Warn if user requests __FORTIFY_SOURCE
72871         checking but the checks are disabled for any reason.
72873 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
72875         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72876         and ELF64_R_TYPE with ELFW(R_TYPE).
72878 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
72880         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72881         (ulimit): Likewise.
72883         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72884         (settimeofday): Likewise.
72886 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
72888         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
72889         a struct th_u2 inside the union, and move tu_block/tu_code into
72890         a new th_u3 union of tu_block/tu_code inside of that.  Move
72891         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
72892         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
72893         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72894         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72895         (th_stuff): Change to th_u1.tu_stuff.
72896         (th_data): Define.
72897         (th_msg): Change to th_u1.th_u2.tu_data.
72899 2012-05-07  David S. Miller  <davem@davemloft.net>
72901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72903         [BZ #14074]
72904         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72905         (SETUP_PIC_REG): Use it.
72906         (SETUP_PIC_REG_LEAF): Use it.
72908 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72910         [BZ #13885]
72911         [BZ #13923]
72912         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72913         USE_AS_EXPM1L.
72914         (EXPL_FINITE): Likewise.
72915         (FLDLOG): Likewise.
72916         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72917         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72918         e_expl.S.
72919         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72920         USE_AS_EXPM1L.
72921         (EXPL_FINITE): Likewise.
72922         (FLDLOG): Likewise.
72923         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72924         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72925         e_expl.S.
72926         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72927         test of -max_value argument for long double.
72928         * sysdeps/i386/fpu/libm-test-ulps: Update.
72929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72931 2012-05-06  David S. Miller  <davem@davemloft.net>
72933         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72934         quad soft-float symbols whose references which are compiler
72935         generated.
72936         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72938 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72940         [BZ #13884]
72941         [BZ #13914]
72942         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72943         USE_AS_EXP10L.
72944         (EXPL_FINITE): Likewise.
72945         (FLDLOG): Likewise.
72946         (c0): Likewise.
72947         (c1): Likewise.
72948         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72949         Adjust comments for base varying.
72950         (__expl_finite): Change alias to EXPL_FINITE.
72951         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72952         e_expl.S.
72953         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72954         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72955         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72956         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72957         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72958         USE_AS_EXP10L.
72959         (EXPL_FINITE): Likewise.
72960         (FLDLOG): Likewise.
72961         (c0): Likewise.
72962         (c1): Likewise.
72963         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72964         Adjust comments for base varying.
72965         (__expl_finite): Change alias to EXPL_FINITE.
72966         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72967         tests for bugs.
72968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72970         [BZ #14064]
72971         * math/libm-test.inc (check_float_internal): Correct ulp
72972         calculation for subnormal expected results.
72974 2012-05-06  Andreas Jaeger  <aj@suse.de>
72976         * Makeconfig (+math-flags): New, set to -frounding-math.
72977         (+cflags): Add +math-flags so that all of glibc gets compiled with
72978         it.
72980         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72982 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72984         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72985         Disable one test.
72987         [BZ #13787]
72988         [BZ #13922]
72989         [BZ #14036]
72990         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72991         (__ieee754_expl): Allow for and saturate large arguments.
72992         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72993         (u_threshold): Likewise.
72994         (__exp): Call __ieee754_exp before checking for overflow and
72995         underflow.
72996         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72997         (u_threshold): Likewise.
72998         (__expf): Call __ieee754_expf before checking for overflow and
72999         underflow.
73000         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
73001         (u_threshold): Likewise.
73002         (__expl): Call __ieee754_expl before checking for overflow and
73003         underflow.
73004         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
73005         (__ieee754_expl): Allow for and saturate large arguments.
73006         * math/libm-test.inc (exp_test): Add another test.  Do not allow
73007         missing overflow exception on overflow.
73008         (expm1_test): Do not allow missing overflow exception on overflow.
73010         * sysdeps/i386/fpu/e_expl.c: Move to ...
73011         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
73012         rather than using inline asm.
73013         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
73014         * sysdeps/x86_64/fpu/e_expl.S: Copy from
73015         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
73017         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
73018         (nice): Likewise.
73019         (poll): Likewise.
73020         (signal): Likewise.
73021         (time): Likewise.
73022         (times): Likewise.
73024 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73026         * sysdeps/unix/syscalls.list (adjtime): Add entry from
73027         sysdeps/unix/common/syscalls.list.
73028         (fchmod): Likewise.
73029         (fchown): Likewise.
73030         (ftruncate): Likewise.
73031         (getrusage): Likewise.
73032         (gettimeofday): Likewise.
73033         (setpgid): Likewise.
73034         (setregid): Likewise.
73035         (setreuid): Likewise.
73036         (sigaction): Likewise.
73037         (truncate): Likewise.
73038         (vhangup): Likewise.
73039         * sysdeps/unix/common/syscalls.list: Remove file.
73040         * sysdeps/unix/bsd/Implies: Don't include unix/common.
73041         * sysdeps/unix/sysv/linux/Implies: Likewise.
73043 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
73045         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
73046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
73047         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
73048         Moved to ...
73049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
73050         Here.
73051         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
73052         to ...
73053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
73054         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
73055         to ...
73056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
73057         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
73058         to ...
73059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
73060         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
73061         to ...
73062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
73063         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
73064         to ...
73065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
73066         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
73067         to ...
73068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
73069         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
73070         to ...
73071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
73072         Here.
73073         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
73074         to ...
73075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
73076         Here.
73077         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
73078         to ...
73079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
73080         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
73081         Moved to ...
73082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
73083         Here.
73084         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
73085         to ...
73086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
73088 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73090         * sysdeps/unix/common/bits/dirent.h: Remove file.
73091         * sysdeps/unix/common/bits/fcntl.h: Likewise.
73093         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
73094         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
73095         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
73096         * sysdeps/unix/bsd/isatty.c: Likewise.
73097         * sysdeps/unix/bsd/tcdrain.c: Likewise.
73098         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
73099         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
73101 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73103         [BZ #13563]
73104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
73105         long double comparison inaccuracies.
73106         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
73107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73109 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
73111         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
73112         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73114 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73116         [BZ #14049]
73117         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73118         nonzero digits before rounding a hex value.
73119         * stdlib/tst-strtod.c (tests): Add another test.
73121 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73123         * sysdeps/s390/fpu/libm-test-ulps: Update.
73125 2012-05-03  Andreas Jaeger  <aj@suse.de>
73127         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73128         does not get optimized out.
73129         (malloc_opt_barrier): New.
73131 2012-05-03  Andreas Jaeger  <aj@suse.de>
73132             Roland McGrath  <roland@hack.frob.com>
73134         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73135         intermediate file deletion.
73136         (generated): Add .symlist files.
73138 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
73140         [BZ #13775]
73141         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73142         Redirect under this condition.
73143         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73144         [__USE_GNU] (__dprintf_chk): Not under this condition.
73145         [__USE_GNU] (__vdprintf_chk): Likewise.
73146         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73147         under this condition.
73148         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73149         [__USE_XOPEN2K8] (dprintf): Define under this condition.
73150         [__USE_XOPEN2K8] (vdprintf): Likewise.
73151         [__USE_GNU] (__dprintf_chk): Not under this condition.
73152         [__USE_GNU] (__vdprintf_chk): Likewise.
73153         [__USE_GNU] (dprintf): Likewise.
73154         [__USE_GNU] (vdprintf): Likewise.
73156 2012-05-03  Roland McGrath  <roland@hack.frob.com>
73158         * elf/Makefile (common-generated): Set this instead of generated for
73159         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
73160         $(all-built-dso)-derived lists.
73162 2012-05-03  Andreas Jaeger  <aj@suse.de>
73164         * sysdeps/i386/fpu/libm-test-ulps: Update.
73166         * FAQ: Removed.
73167         * FAQ.in: Likewise.
73168         * scripts/gen-FAQ.pl: Likewise.
73169         * manual/install.texi (Installation): Point to online location of
73170         FAQ.
73171         * Makefile (files-for-dist): Remove FAQ.
73172         (FAQ): Remove.
73174 2012-05-02  Allan McRae  <allan@archlinux.org>
73176         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73177         (LDFLAGS-reldepmod5.so): Likewise.
73178         (LDFLAGS-reldep6mod1.so): Likewise.
73179         (LDFLAGS-reldep6mod4.so): Likewise.
73180         (LDFLAGS-reldep8mod3.so): Likewise.
73181         (LDFLAGS-unload4mod1.so): Likewise.
73182         (LDFLAGS-unload4mod2.so): Likewise.
73183         (LDFLAGS-tst-initorder): Likewise.
73184         (LDFLAGS-tst-initordera2.so): Likewise.
73185         (LDFLAGS-tst-initordera3.so): Likewise.
73186         (LDFLAGS-tst-initordera4.so): Likewise.
73187         (LDFLAGS-tst-initorderb2.so): Likewise.
73188         (LDFLAGS-noload): Likewise.
73189         (LDFLAGS-next): Likewise.
73190         (LDFLAGS-order2mod1.so): Likewise.
73191         (LDFLAGS-order2mod2.so): Likewise.
73192         (LDFLAGS-tst-initorder2): Likewise.
73193         (LDFLAGS-tst-initorder2a.so): Likewise.
73194         (LDFLAGS-tst-initorder2b.so): Likewise.
73195         (LDFLAGS-tst-initorder2c.so): Likewise.
73196         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73198 2012-05-02  David S. Miller  <davem@davemloft.net>
73200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73202 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
73204         [BZ #14055]
73205         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73207 2012-05-02  Andreas Jaeger  <aj@suse.de>
73209         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73210         since we manipulate rounding mode.
73211         (CPPFLAGS-test-idouble.c): Likewise.
73212         (CPPFLAGS-test-ifloat.c): Likewise.
73213         (CFLAGS-test-ldouble.c): Likewise.
73214         (CFLAGS-test-double.c): Likewise.
73215         (CFLAGS-test-float.c): Likewise.
73216         (CFLAGS-test-misc.c): Likewise.
73217         (CFLAGS-test-test-fenv.c): Likewise.
73219 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73221         [BZ #2550]
73222         [BZ #2570]
73223         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73224         comparisons to determine direction to adjust input.
73226 2012-05-01  Roland McGrath  <roland@hack.frob.com>
73228         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73229         output to the target.
73231         * scripts/localplt.awk: New file.
73232         * elf/Makefile ($(objpfx)check-localplt): Target removed.
73233         (check-localplt-CFLAGS): Variable removed.
73234         ($(all-built-dso:=.jmprel)): New static pattern rule.
73235         (generated): Add those targets.
73236         (localplt-built-dso): New variable.
73237         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73239         * elf/check-localplt.c: File removed.
73241         * scripts/check-execstack.awk: New file.
73242         * elf/Makefile ($(objpfx)check-execstack): Target removed.
73243         (check-execstack-CFLAGS): Variable removed.
73244         ($(objpfx)check-execstack.h): Target removed.
73245         ($(objpfx)execstack-default): New target.
73246         (generated): Add that instead of check-execstack.h.
73247         ($(all-built-dso:=.phdr)): New static pattern rule.
73248         (generated): Add those targets.
73249         * elf/check-execstack.c: File removed.
73251         * scripts/check-textrel.awk: New file.
73252         * elf/Makefile ($(objpfx)check-textrel): Target removed.
73253         (check-textrel-CFLAGS): Variable removed.
73254         (all-built-dso): Use := to define.o
73255         ($(all-built-dso:=.dyn)): New static pattern rule.
73256         (generated): Add those targets.
73257         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73258         * config.make.in (READELF): New substituted variable.
73259         * elf/check-textrel.c: File removed.
73261 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73263         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73264         allow.
73265         * conform/data/ctype.h-data [C99-based standards] (isblank):
73266         Expect function.
73267         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73268         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73269         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73270         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73271         Specify type.  Require positive value.
73272         (EILSEQ): Likewise.
73273         (ERANGE): Likewise.
73274         [ISO || POSIX] (EILSEQ): Do not expect.
73275         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73276         Specify type.  Require positive value.
73277         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73278         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73279         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73280         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73281         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73282         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73283         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73284         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73285         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73286         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73287         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73288         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73289         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73290         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73291         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73292         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73293         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73294         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73295         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73296         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73297         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73298         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73299         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73300         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73301         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73302         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73303         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73304         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73305         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73306         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73307         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73308         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73309         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73310         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73311         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73312         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73313         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73314         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73315         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73316         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73317         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73318         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73319         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73320         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73321         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73322         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73323         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73324         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73325         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73326         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73327         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73328         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73329         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73330         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73331         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73332         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73333         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73334         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73335         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73336         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73337         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73338         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73339         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73340         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73341         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73342         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73343         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73344         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73345         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73346         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73347         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73348         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73349         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73350         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73351         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73352         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73353         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73354         Require >= 2.
73355         (FLT_ROUNDS): Expect as macro, not constant.
73356         (FLT_MANT_DIG): Use macro-int-constant.
73357         (DBL_MANT_DIG): Likewise.
73358         (LDBL_MANT_DIG): Likewise.
73359         (FLT_DIG): Likewise.
73360         (DBL_DIG): Likewise.
73361         (LDBL_DIG): Likewise.
73362         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
73363         (DBL_MIN_EXP): Likewise.
73364         (LDBL_MIN_EXP): Likewise.
73365         (FLT_MAX_EXP): Use macro-int-constant.
73366         (DBL_MAX_EXP): Likewise.
73367         (LDBL_MAX_EXP): Likewise.
73368         (FLT_MAX_10_EXP): Likewise.
73369         (DBL_MAX_10_EXP): Likewise.
73370         (LDBL_MAX_10_EXP): Likewise.
73371         (FLT_MAX): Use macro-constant.
73372         (DBL_MAX): Likewise.
73373         (LDBL_MAX): Likewise.
73374         (FLT_EPSILON): Use macro-constant.  Give upper bound.
73375         (DBL_EPSILON): Likewise.
73376         (LDBL_EPSILON): Likewise.
73377         (FLT_MIN): Likewise.
73378         (DBL_MIN): Likewise.
73379         (LDBL_MIN): Likewise.
73380         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73381         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73382         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73383         [ISO11] (FLT_HAS_SUBNORM): Likewise.
73384         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73385         [ISO11] (DBL_DECIMAL_DIG): Likewise.
73386         [ISO11] (FLT_DECIMAL_DIG): Likewise.
73387         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73388         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73389         [ISO11] (FLT_TRUE_MIN): Likewise.
73390         [ISO11] (LDBL_TRUE_MIN): Likewise.
73391         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73392         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73393         (SCHAR_MIN): Use macro-int-constant.  Specify type.
73394         (SCHAR_MAX): Likewise.
73395         (UCHAR_MAX): Likewise.
73396         (CHAR_MIN): Likewise.
73397         (CHAR_MAX): Likewise.
73398         (MB_LEN_MAX): Use macro-int-constant.
73399         (SHRT_MIN): Use macro-int-constant.  Specify type.
73400         (SHRT_MAX): Likewise.
73401         (USHRT_MAX): Likewise.
73402         (INT_MAX): Likewise.
73403         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
73404         bound negative.
73405         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73406         bound with "U".
73407         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73408         bound with "L".
73409         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
73410         bound negative.  Suffix upper bound with "L".
73411         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73412         bound with "UL".
73413         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73414         Specify type.
73415         [C99-based standards] (LLONG_MAX): Likewise.
73416         [C99-based standards] (ULLONG_MAX): Likewise.
73417         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
73418         == 0.
73419         [ISO11] (max_align_t): Require type.
73420         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73422         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73423         from $CFLAGS, without defining away __attribute__ calls.
73424         (checknamespace): Use $CFLAGS_namespace.
73426         * conform/conformtest.pl (@keywords): Only include C99 keywords
73427         for standards based on C99 or C11.
73429         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73430         Disable tests.
73431         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73432         UNIX98]: Likewise.
73434         * conform/conformtest.pl: Handle "macro-int-constant" and test for
73435         usability of symbols in #if.
73437         * conform/conformtest.pl: If macro or constant types start
73438         "promoted:", expect the symbol to be of the following type
73439         promoted by the integer promotions.
73441         * conform/conformtest.pl: Parse all "constant" and "macro" lines
73442         in one place.  Also handle "macro-constant".
73444         * conform/conformtest.pl: Only accept expected macro values with
73445         "==".  Parse all "macro" lines in one place.
73446         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73448         * conform/conformtest.pl: Handle braced types on "constant" lines
73449         instead of handling "typed-constant".
73450         * conform/data/signal.h-data: Use "constant" instead of
73451         "typed-constant".
73453         * conform/conformtest.pl: Handle "optional-" at start of lines in
73454         one place rather than duplicating several cases.  Handle each
73455         format of "macro" line with initial "optional-".
73457         * conform/conformtest.pl: Only accept expected constant or
73458         optional-constant values with "==".  Parse all "constant" lines in
73459         one place.  Parse all "optional-constant" lines in one place.
73460         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73461         * conform/data/fmtmsg.h-data: Likewise.
73462         * conform/data/netinet/in.h-data: Likewise.
73463         * conform/data/tar.h-data: Likewise.
73464         * conform/data/limits.h-data: Use "==" form on "constant" and
73465         "optional-constant" lines.
73467         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73468         Use -std=c99 for XOPEN2K.
73469         (@knownproblems): Remove.
73470         (newtoken): Don't check %isknown.
73472         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73473         Do not expect macro.
73474         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73475         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73476         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73477         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73478         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73479         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73480         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73481         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73482         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73483         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73484         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73485         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73486         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73487         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73488         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73489         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73490         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73491         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73492         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73493         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73494         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73495         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73496         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73497         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73498         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73499         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73500         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73501         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73502         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73503         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73504         [XPG3] (acosh): Likewise.
73505         [XPG3] (asinh): Likewise.
73506         [XPG3] (atanh): Likewise.
73507         [XPG3] (cbrt): Likewise.
73508         [XPG3] (expm1): Likewise.
73509         [XPG3] (ilogb): Likewise.
73510         [XPG3] (log1p): Likewise.
73511         [XPG3] (logb): Likewise.
73512         [XPG3] (nextafter): Likewise.
73513         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73514         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73515         [XPG3] (remainder): Likewise.
73516         [XPG3] (rint): Likewise.
73517         [XPG3 || XPG4 || UNIX98] (round): Likewise.
73518         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73519         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73520         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73521         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73522         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73523         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73524         [UNIX98 || XOPEN2K] (scalb): Expect.
73525         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73526         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73527         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73528         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73529         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73530         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73531         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73532         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73533         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73534         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73535         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73536         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73537         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73538         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73539         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73540         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73541         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73542         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73543         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73544         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73545         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73546         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73547         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73548         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73549         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73550         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73551         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73552         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73553         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73554         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73555         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73556         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73557         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73558         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73559         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73560         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73561         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73562         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73563         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73564         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73565         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73566         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73567         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73568         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73569         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73570         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73571         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73572         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73573         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73574         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73575         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73576         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73577         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73578         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73579         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73580         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73581         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73582         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73583         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73584         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73585         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73586         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73587         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73588         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73589         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73590         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73591         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73592         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73593         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73594         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73595         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73596         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73597         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73598         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73599         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73600         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73601         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73602         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73603         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73604         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73605         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73606         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73607         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73608         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73609         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73610         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73611         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73612         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73613         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73614         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73615         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73616         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73617         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73618         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73619         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73620         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73621         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73622         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73623         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73624         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73625         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73626         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73627         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73628         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73629         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73630         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73631         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73632         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73633         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73634         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73635         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73636         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73637         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73638         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73639         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73640         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73641         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73642         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73643         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73644         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73645         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73646         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73647         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73648         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73649         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73650         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73651         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73652         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73653         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73654         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73655         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73656         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73657         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73658         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73659         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73660         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73661         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73663         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73664         _XOPEN_SOURCE_EXTENDED for XPG4.
73666         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73668         * Makeconfig (localtime): Remove variable.
73669         (inst_localtime-file): Likewise.
73671 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73674         Update.
73675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73676         Update.
73677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73678         Update.
73679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73680         Update.
73681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73682         Update.
73683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73684         Update.
73685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73686         Update.
73687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73688         Update.
73689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73690         Update.
73692 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73694         [BZ #2550]
73695         [BZ #2570]
73696         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73697         comparisons to determine direction to adjust input.
73698         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73699         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73700         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73701         Likewise.
73702         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73703         Likewise.
73704         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73705         Likewise.
73706         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73707         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73708         Likewise.
73709         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73710         Likewise.
73711         * math/libm-test.inc (nexttoward_test): Add more tests.
73713 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73715         [BZ #14040]
73716         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73717         in version GLIBC_2.1, not GLIBC_2.0.
73718         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73719         Likewise.
73721 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
73723         [BZ #13942]
73724         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73725         (1 - x) * (1 + x).
73726         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73727         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73728         * math/libm-test.inc (acos_test): Add more tests.
73729         (asin_test): Likewise.
73730         * sysdeps/i386/fpu/libm-test-ulps: Update.
73731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73733         [BZ #14034]
73734         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73735         of square root.
73736         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73737         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73738         * math/libm-test.inc (acos_test_tonearest): New function.
73739         (acos_test_towardzero): Likewise.
73740         (acos_test_downward): Likewise.
73741         (acos_test_upward): Likewise.
73742         (asin_test_tonearest): Likewise.
73743         (asin_test_towardzero): Likewise.
73744         (asin_test_downward): Likewise.
73745         (asin_test_upward): Likewise.
73746         (main): Call the new functions.
73747         * sysdeps/i386/fpu/libm-test-ulps: Update.
73748         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73750         [BZ #13884]
73751         [BZ #13924]
73752         * math/e_exp10.c: Include <float.h>.
73753         (__ieee754_exp10): Handle underflow here rather than multiplying
73754         large negative argument by M_LN10.
73755         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73756         of __ieee754_expf.
73757         * math/e_exp10l.c: Include <float.h>.
73758         (__ieee754_exp10l): Handle underflow here rather than multiplying
73759         large negative argument by M_LN10l.
73760         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
73761         spurious overflow exception on underflow.
73763 2012-04-29  Marek Polacek  <polacek@redhat.com>
73765         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73766         (__fortify_function): New macro.
73767         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73768         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73769         __extern_always_inline.
73770         * libio/bits/stdio2.h: Likewise.
73771         * libio/bits/stdio.h: Likewise.
73772         * string/string.h: Likewise.
73773         * string/bits/string3.h: Likewise.
73774         * include/stdio.h: Likewise.
73775         * stdlib/bits/stdlib.h: Likewise.
73776         * stdlib/stdlib.h: Likewise.
73777         * rt/bits/mqueue2.h: Likewise.
73778         * rt/mqueue.h: Likewise.
73779         * posix/bits/unistd.h: Likewise.
73780         * posix/unistd.h: Likewise.
73781         * io/bits/poll2.h: Likewise.
73782         * io/bits/fcntl2.h: Likewise.
73783         * io/fcntl.h: Likewise.
73784         * io/sys/poll.h: Likewise.
73785         * misc/bits/syslog.h: Likewise.
73786         * misc/bits/syslog-ldbl.h: Likewise.
73787         * misc/sys/syslog.h: Likewise.
73788         * socket/bits/socket2.h: Likewise.
73789         * socket/sys/socket.h: Likewise.
73790         * debug/tst-chk1.c: Likewise.
73791         * wcsmbs/bits/wchar2.h: Likewise.
73792         * wcsmbs/bits/wchar-ldbl.h: Likewise.
73793         * wcsmbs/wchar.h: Likewise.
73795 2012-04-29  Andreas Jaeger  <aj@suse.de>
73797         * Makerules (tests): Remove enable-check-abi protection.
73798         (check-abi-warn): Remove.
73799         (check-abi-%): Remove check-abi-warn usage.
73801         * configure.in: Remove check-abi configure option.
73802         * configure: Regenerated.
73803         * config.make.in (enable-check-abi): Remove.
73805 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
73807         [BZ #14033]
73808         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73809         double functions to double *_finite functions.
73811         [BZ #13941]
73812         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73813         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73814         LDBL_MIN_EXP.
73815         * stdio-common/Makefile (tests): Add tst-sprintf3.
73816         * stdio-common/tst-sprintf3.c: New file.
73818         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73819         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73821 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73823         * conform/conformtest.pl: Remove duplicate typed-constant
73824         handling.
73826 2012-04-28  David S. Miller  <davem@davemloft.net>
73828         * Makerules (%.abilist): Add vpath on sysdep_dirs.
73829         (check-abi-%): Remove AWK script prerequisite and explicit
73830         abilist directory.
73831         (check-abi): Rewrite to just diff the symlist with the abilist.
73832         (config-tls, config-abi-config): Delete, no longer used.
73833         (update-abi-%): Remove AWK script and explicit abilist directory.
73834         (update-abi): Rewrite to simply compare and conditionally copy the
73835         symlist and the sysdep abilist file.  Remove update-abi-config
73836         checks.
73837         * abilist/ld.abilist: Remove.
73838         * abilist/libBrokenLocale.abilist: Remove.
73839         * abilist/libanl.abilist: Remove.
73840         * abilist/libcrypt.abilist: Remove.
73841         * abilist/libdl.abilist: Remove.
73842         * abilist/librt.abilist: Remove.
73843         * abilist/libthread_db.abilist: Remove.
73844         * abilist/libutil.abilist: Remove.
73845         * scripts/extract-abilist.awk: Remove.
73846         * scripts/merge-abilist.awk: Remove.
73847         * sysdeps/generic/libcidn.abilist: New file.
73848         * sysdeps/generic/libnss_compat.abilist: New file.
73849         * sysdeps/generic/libnss_db.abilist: New file.
73850         * sysdeps/generic/libnss_dns.abilist: New file.
73851         * sysdeps/generic/libnss_files.abilist: New file.
73852         * sysdeps/generic/libnss_hesiod.abilist: New file.
73853         * sysdeps/generic/libnss_nis.abilist: New file.
73854         * sysdeps/generic/libnss_nisplus.abilist: New file.
73855         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73856         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73857         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73858         file.
73859         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73860         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73861         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73862         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73863         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73864         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73865         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73866         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73867         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73868         file.
73869         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73870         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73871         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73872         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73873         file.
73874         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73875         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73876         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73877         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73878         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73879         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73880         file.
73881         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73882         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73883         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73884         file.
73885         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73886         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73887         New file.
73888         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73889         New file.
73890         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73891         New file.
73892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73893         New file.
73894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73895         New file.
73896         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73897         New file.
73898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73899         New file.
73900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73901         New file.
73902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73903         New file.
73904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73905         New file.
73906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73907         New file.
73908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73909         New file.
73910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73911         New file.
73912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73913         file.
73914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73915         New file.
73916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73917         New file.
73918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73919         file.
73920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73921         New file.
73922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73923         New file.
73924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73925         file.
73926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73927         New file.
73928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73929         New file.
73930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73931         New file.
73932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73933         New file.
73934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73935         New file.
73936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73937         New file.
73938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73940         file.
73941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73942         New file.
73943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73944         file.
73945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73946         file.
73947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73948         file.
73949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73950         file.
73951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73952         file.
73953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73954         New file.
73955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73956         file.
73957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73958         file.
73959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73960         New file.
73961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73962         file.
73963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73965         file.
73966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73967         New file.
73968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73969         file.
73970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73971         file.
73972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73973         file.
73974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73975         file.
73976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73977         file.
73978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73979         New file.
73980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73981         file.
73982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73983         file.
73984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73985         New file.
73986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73987         file.
73988         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73989         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73990         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73991         file.
73992         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73993         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73994         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73995         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73996         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73997         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73998         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73999         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
74000         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
74001         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
74002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
74003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
74004         file.
74005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
74006         New file.
74007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
74008         file.
74009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
74010         file.
74011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
74012         file.
74013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
74014         file.
74015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
74016         file.
74017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
74018         New file.
74019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
74020         New file.
74021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
74022         file.
74023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
74024         New file.
74025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
74026         file.
74027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
74028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
74029         file.
74030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
74031         New file.
74032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
74033         file.
74034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
74035         file.
74036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
74037         file.
74038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
74039         file.
74040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
74041         file.
74042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
74043         New file.
74044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
74045         New file.
74046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
74047         file.
74048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
74049         New file.
74050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
74051         file.
74053 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
74055         * conform/conformtest.pl: Fix typo in handling typed-constant from
74056         allow-header.
74058 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
74060         * README: Cut down references to pre-2.6 Linux kernels and
74061         Linuxthreads.  Update lists of configurations in libc and ports
74062         and sort alphabetically.  Say "or newer" with Linux kernel version
74063         requirements.
74065         * config.h.in [IS_IN_build]: Allow compiling without optimization.
74067 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
74069         [BZ #887]
74070         * math/libm-test.inc (logb_test_downward): New test to expose
74071         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
74072         rounding mode.
74074 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
74076         [BZ #14027]
74077         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
74078         to be done.
74079         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
74080         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
74082 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
74084         * sysdeps/unix/i386/brk.S: Remove file.
74085         * sysdeps/unix/i386/dl-brk.S: Likewise.
74086         * sysdeps/unix/i386/pipe.S: Likewise.
74087         * sysdeps/unix/i386/sigreturn.S: Likewise.
74088         * sysdeps/unix/i386/syscall.S: Likewise.
74089         * sysdeps/unix/i386/vfork.S: Likewise.
74090         * sysdeps/unix/i386/wait.S: Likewise.
74092         * sysdeps/unix/common/tcsendbrk.c: Move to ...
74093         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
74095         * configure.in (arm*-none*): Do not allow without
74096         --enable-hacker-mode.
74097         (netbsd*): Remove case setting base_os.
74098         (386bsd*): Likewise.
74099         (freebsd*): Likewise.
74100         (bsdi*): Likewise.
74101         (osf*): Likewise.
74102         (sunos*): Likewise.
74103         (ultrix*): Likewise.
74104         (newsos*): Likewise.
74105         (dynix*): Likewise.
74106         (*bsd*): Likewise.
74107         (sysv*): Likewise.
74108         (isc*): Likewise.
74109         (esix*): Likewise.
74110         (sco*): Likewise.
74111         (minix*): Likewise.
74112         (irix4*): Likewise.
74113         (irix6*): Likewise.
74114         (solaris[2-9]*): Likewise.
74115         (none): Likewise.
74116         * configure: Regenerated.
74118 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74120         [BZ #11521]
74121         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74122         overflow or cancellation in calculating denominator.
74123         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74124         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74125         down expression to avoid unexpected rounding in newer GCCs.
74126         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74128 2012-04-26  David S. Miller  <davem@davemloft.net>
74130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74131         long-double compat symbols.
74132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74146 2012-04-25  David S. Miller  <davem@davemloft.net>
74148         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74149         HWCAP_* values only after the memory barriers have been defined.
74150         (atomic_full_barrier): Define.
74151         (atomic_read_barrier): Define.
74152         (atomic_write_barrier): Define.
74154 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74156         * shlib-versions: Add libgcc_s version information.
74157         * sysdeps/generic/libgcc_s.h: Remove.
74158         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74159         libgcc_s.h.
74160         * sysdeps/gnu/unwind-resume.c: Likewise.
74161         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74163 2012-04-25  David S. Miller  <davem@davemloft.net>
74165         * sysdeps/unix/sparc/brk.S: Delete.
74166         * sysdeps/unix/sparc/dl-brk.S: Delete.
74167         * sysdeps/unix/sparc/pipe.S: Delete.
74168         * sysdeps/unix/sparc/sysdep.S: Delete.
74169         * sysdeps/unix/sparc/sysdep.h: Delete.
74170         * sysdeps/unix/sparc/vfork.S: Delete.
74171         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74172         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74173         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74174         (ret_ERRVAL, r0, r1, MOVE): Define.
74175         (JUMPTARGET): Remove.
74176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74177         sysdeps/unix/sparc/sysdep.h
74178         (ENTRY, END): Remove.
74179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74181 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
74183         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74184         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74185         -DIS_IN_build.
74187         * timezone/README: Update upstream location and email address for
74188         tzcode and tzdata.
74189         * timezone/zdump.c: Update from tzcode 2012b.
74190         * timezone/zic.c: Likewise.
74192         * configure.in (libc_cv_as_needed): Remove test.
74193         * configure: Regenerated.
74194         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74195         conditional definition.
74196         [$(have-as-needed) != yes] (no-as-needed): Likewise.
74197         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74198         * config.make.in (have-as-needed): Remove variable.
74200 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74201             Paul Pluzhnikov  <ppluzhnikov@google.com>
74203         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74204         strings correctly.
74206 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
74208         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74209         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74210         * sysdeps/sh/strlen.S: Likewise.
74212 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74214         * sysdeps/unix/fork.S: Remove file.
74215         * sysdeps/unix/i386/fork.S: Likewise.
74216         * sysdeps/unix/sparc/fork.S: Likewise.
74218         * sysdeps/unix/system.c: Remove file.
74219         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74221         * sysdeps/unix/getegid.S: Remove file.
74222         * sysdeps/unix/geteuid.S: Likewise.
74224 2012-04-24  Roland McGrath  <roland@hack.frob.com>
74226         * scripts/check-localplt.awk: New file.
74227         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74228         of diff.
74229         * scripts/data/localplt-generic.data: Add a comment.
74231         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74232         NODE when __dir_mkfile failed.
74233         * sysdeps/mach/hurd/symlinkat.c: Likewise.
74234         Reported by Ludovic Courtès <ludo@gnu.org>.
74236 2012-04-24  Andreas Jaeger  <aj@suse.de>
74238         * Makerules (common-clean): Also remove gen-as-const-headers
74239         files.
74241 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74243         * Makerules (native-compile): Do not change working directory for
74244         build.  Use $(OUTPUT_OPTION) in command.
74245         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74247 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74249         [BZ #13886]
74250         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74251         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74252         * math/libm-test.inc (floor_test): Add more tests.
74253         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74255 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74257         * sysdeps/unix/getdents.c: Remove file.
74258         * sysdeps/unix/sysv/getdents.c: Likewise.
74259         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74261         * sysdeps/unix/syscalls.list (madvise): Add syscall from
74262         sysdeps/unix/mman/syscalls.list.
74263         (mmap): Likewise.
74264         (mprotect): Likewise.
74265         (msync): Likewise.
74266         (munmap): Likewise.
74267         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74268         * sysdeps/unix/mman/syscalls.list: Remove.
74269         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74271         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74272         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74273         * configure: Regenerated.
74274         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74275         $(libgcc_s_suffix).
74276         * config.make.in (libgcc_s_suffix): Remove variable.
74278 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
74280         * sysdeps/unix/sysv/gethostname.c: Move to ...
74281         * sysdeps/posix/gethostname.c: ... here.
74283         * sysdeps/unix/execve.S: Remove file.
74285         * sysdeps/unix/_exit.S: Remove file.
74287 2012-04-23  Andreas Jaeger  <aj@suse.de>
74289         [BZ #13739]
74290         * manual/Makefile: Remove make dist support, there's no
74291         need for a stand-alone documentation tar ball.
74292         (TEXI2DVI): Define always, it's not in Makeconfig.
74293         (dist): Removed.
74294         (tar-it): Removed.
74295         (edition): Removed.
74296         (glibc-doc-$(edition).tar): Removed
74297         (%.Z): Removed.
74298         (%.gz): Removed.
74299         (%.uu): Removed.
74300         (ETAGS): Remove, it's in Makeconfig.
74301         (move-if-change): Remove, it's in Makeconfig.
74303 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
74305         [BZ #13970]
74306         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74307         (strtod, strtof, strtold, strtol, strtoul, strtoq)
74308         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74309         (strtod_l, strtof_l, strtold_l): Remove __wur.
74310         It is not necessarily an error to ignore strtol's return value.
74311         One can reliably look at the stored endptr to decide whether
74312         the number had valid syntax.
74314 2012-04-21  Andreas Jaeger  <aj@suse.de>
74316         [BZ #13739]
74317         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74319 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
74321         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74322         * sysdeps/unix/sysv/Versions: Remove file.
74324 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
74326         [BZ #13927]
74327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74329 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
74331         [BZ #7064]
74332         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74333         version from __vm86.
74335 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
74337         * sysdeps/unix/common/lxstat.c: Remove file.
74338         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74340         * sysdeps/unix/sysv/Makefile: Remove file.
74342         * sysdeps/unix/sysv/direct.h: Remove file.
74344         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74345         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74346         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74347         * sysdeps/unix/sysv/bits/signum.h: Likewise.
74348         * sysdeps/unix/sysv/bits/stat.h: Likewise.
74349         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74350         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74352         * sysdeps/unix/sysv/setrlimit.c: Remove file.
74354         * sysdeps/unix/xmknod.c: Remove file.
74355         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74357         * sysdeps/unix/sysv/settimeofday.c: Remove file.
74359         * sysdeps/unix/sysv/i386/time.S: Remove file.
74361         * sysdeps/unix/fxstat.c: Remove file.
74362         * sysdeps/unix/xstat.c: Likewise.
74363         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74365         * sysdeps/unix/sysv/sigaction.c: Remove file.
74367         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74368         (sysdep_headers): Remove variable.
74369         [termio.h not in sysdep_headers] (generated): Likewise.
74370         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74371         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74372         * sysdeps/unix/sysv/tcdrain.c: Likewise.
74373         * sysdeps/unix/sysv/tcflow.c: Likewise.
74374         * sysdeps/unix/sysv/tcflush.c: Likewise.
74375         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74376         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74377         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74378         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74379         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74381         * sysdeps/unix/siglist.c: Remove file.
74383         * sysdeps/unix/getppid.S: Remove file.
74385         * sysdeps/unix/mkdir.c: Remove file.
74386         * sysdeps/unix/rmdir.c: Likewise.
74388 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
74390         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74391         ERR_MAX value.
74392         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74393         errlist-compat value.
74395 2012-04-18  David S. Miller  <davem@davemloft.net>
74397         * sysdeps/generic/memcopy.h (reg_char): Delete.
74398         * debug/strcat_chk.c: Use char, not reg_char.
74399         * debug/strcpy_chk.c: Likewise.
74400         * debug/strncat_chk.c: Likewise.
74401         * debug/strncpy_chk.c: Likewise.
74402         * string/memchr.c: Likewise.
74403         * string/memrchr.c: Likewise.
74404         * string/rawmemchr.c: Likewise.
74405         * string/strcat.c: Likewise.
74406         * string/strchr.c: Likewise.
74407         * string/strchrnul.c: Likewise.
74408         * string/strcmp.c: Likewise.
74409         * string/strcpy.c: Likewise.
74410         * string/strncat.c: Likewise.
74411         * string/strncmp.c: Likewise.
74412         * string/strncpy.c: Likewise.
74414 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74416         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74417         __builtin_memcopy is called when src and dest ranges are known to not
74418         overlap.
74420 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74422         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74423         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74424         fwd_align_merge macro call.
74425         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74426         bwd_align_merge macro call.
74427         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74429 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74431         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74432         bwd_align_merge macros.
74433         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74434         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74435         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74437 2012-04-18  David S. Miller  <davem@davemloft.net>
74439         * sysdeps/sparc/sparc64/memcopy.h: Delete.
74441 2012-04-18  Andreas Jaeger  <aj@suse.de>
74443         [BZ# 6794]
74444         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74445         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74446         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74448         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74449         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74450         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74452         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74453         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74454         Adjust for changed ldbl-128 files.
74456         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74457         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74458         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74460 2012-04-17  David S. Miller  <davem@davemloft.net>
74462         * sysdeps/sparc/sparc32/memcopy.h: Delete.
74464 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
74466         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74467         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74468         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74469         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74470         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74471         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74473 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74475         [BZ #6794]
74476         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74477         * math/libm-test.inc: Add ilogb errno and exception tests.
74478         * math/w_ilogb.c: New file: ilogb wrapper.
74479         * math/w_ilogbf.c: New file: ilogbf wrapper.
74480         * math/w_ilogbl.c: New file: ilogbl wrapper.
74481         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74482         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74483         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74484         exception being thrown with 0.0 as argument.
74485         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74486         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74487         exception being thrown with 0.0 as argument.
74488         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74489         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74490         exception being thrown with 0.0 as argument.
74491         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74492         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74493         exception being thrown with 0.0 as argument.
74494         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74495         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74496         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74497         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74498         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74499         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74500         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74501         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74502         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74504 2012-04-17  Petr Baudis  <pasky@ucw.cz>
74506         * include/sys/uio.h: Change __vector to __iovec to avoid clash
74507         with altivec.
74509 2012-04-16  Marek Polacek  <polacek@redhat.com>
74511         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74513 2012-04-16  Marek Polacek  <polacek@redhat.com>
74515         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74516         operands of fdivp instruction.
74518 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74520         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74521         * elf/tst-auditmod3b.c: Likewise.
74522         * elf/tst-auditmod4b.c: Likewise.
74523         * elf/tst-auditmod5b.c: Likewise.
74524         * elf/tst-auditmod6b.c: Likewise.
74525         * elf/tst-auditmod6c.c: Likewise.
74526         * elf/tst-auditmod7b.c: Likewise.
74527         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74528         * sysdeps/x86_64/preconfigure.in: Likewise.
74529         * sysdeps/x86_64/preconfigure: Regenerated.
74531 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74533         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74534         __ILP32__.
74536 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
74538         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74539         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74541 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
74543         [BZ #13973]
74544         * locale/iso-639.def: Fix gl language name. Spotted by
74545         Yaron Shahrabani.
74547 2012-04-12  Roland McGrath  <roland@hack.frob.com>
74549         [BZ #2074]
74550         * libio/libio.h (__io_write_fn): Update comment.
74552 2012-04-12  Petr Baudis  <pasky@ucw.cz>
74554         [BZ #2074]
74555         * stdio.texi (Hook Functions): The user provided writer function
74556         is not allowed to return -1.
74558 2012-04-11  David S. Miller  <davem@davemloft.net>
74560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74562 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
74564         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74565         Add a leading slash to rtkaio.
74567 2012-04-11  Jim Meyering  <meyering@redhat.com>
74569         [BZ #11959]
74570         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74571         It is not necessarily an error to ignore fwrite's return
74572         value.  One can reliably use ferror to test for errors after
74573         the fact.
74575 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74577         * bits/types.h (__snseconds_t): New type.
74578         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74580         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74581         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74582         (__SNSECONDS_T_TYPE): Likewise.
74583         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74584         (__SNSECONDS_T_TYPE): Likewise.
74585         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74586         (__SNSECONDS_T_TYPE): Likewise.
74588 2012-04-10  Andreas Jaeger  <aj@suse.de>
74590         [BZ #2636]
74591         * manual/time.texi (Processor Time): Return type of times is
74592         elapsed real time since an arbitrary point in the past.
74593         (CPU Time): Move CLK_TCK from here...
74594         (Processor Time): ...to here.  Correct description.
74595         * manual/conf.texi (Constants for Sysconf): Correct description of
74596         _SC_CLK_TCK.
74598 2012-04-10  David S. Miller  <davem@davemloft.net>
74600         [BZ #13967]
74601         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74602         where the is a gap between DT_REL(A) and DT_JMPREL.
74604 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74606         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74607         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74608         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74610 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
74612         * elf/dl-support.c (_dl_inhibit_cache): New variable.
74613         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74614         (dl_main): Handle --inhibit-cache.
74615         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74616         _dl_inhibit_cache.
74617         * elf/dl-load.c (_dl_map_object): Use it.
74618         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74620 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74622         [BZ #13872]
74623         * sysdeps/i386/fpu/e_powl.S (p78): New object.
74624         (__ieee754_powl): Saturate large exponents rather than testing for
74625         overflow of y*log2(x).
74626         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74627         * math/libm-test.inc (pow_test): Do not permit spurious overflow
74628         exceptions.
74630         [BZ #11521]
74631         * math/s_ctan.c: Include <float.h>.
74632         (__ctan): Avoid internal overflow or cancellation in calculating
74633         denominator.
74634         * math/s_ctanf.c: Likewise.
74635         * math/s_ctanl.c: Likewise.
74636         * math/s_ctanh.c: Likewise.
74637         * math/s_ctanhf.c: Likewise.
74638         * math/s_ctanhl.c: Likewise.
74639         * math/libm-test.inc (ctan_test): Add more tests.
74640         (ctanh_test): Likewise.
74641         * sysdeps/i386/fpu/libm-test-ulps: Update.
74642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74644 2012-04-09  Andreas Jaeger  <aj@suse.de>
74646         [BZ #6894]
74647         * manual/filesys.texi (Directory Entries): Mention that d_namlen
74648         is an optional BSD extension.
74650         [BZ #10254]
74651         * manual/stdio.texi (Opening Streams): Document additional fopen
74652         parameters.
74654 2012-04-09  Roland McGrath  <roland@hack.frob.com>
74656         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74657         %eax without telling the compiler.
74659 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
74661         [BZ # 13963]
74662         * manual/install.texi: Use sourceware.org.
74664 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74666         [BZ #13873]
74667         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74668         (__ieee754_pow): Generate overflow and underflow using huge*huge
74669         and tiny*tiny rather than just returning constant infinity or zero
74670         for large exponents.
74671         * math/libm-test.inc (pow_test): Require overflow exceptions for
74672         applicable cases of large exponents.
74674         [BZ #706]
74675         * sysdeps/i386/fpu/e_pow.S (p10): New object.
74676         (__ieee754_pow): Use iterative multiplication algorithm only for
74677         integer exponents with absolute value below 1024.  Check for odd
74678         integer exponents when using algorithm for real exponents.
74679         * math/libm-test.inc (pow_test): Add more tests.
74680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74682 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
74684         [BZ #13705]
74685         * math/libm-test.inc (exp_test): Do not allow overflow exception
74686         on underflow test.
74688 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
74690         [BZ #13705]
74691         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74692         instead of __kernel_standard_f.
74694 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
74696         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74697         * sysdeps/x86_64/memset_chk.S: Likewise.
74699 2012-04-08  Andreas Jaeger  <aj@suse.de>
74701         [BZ #10153]
74702         * manual/startup.texi (Environment Access): Describe return value
74703         for putenv and setenv.
74705         [BZ #6895]
74706         * manual/filesys.texi (Directory Entries): Add description for
74707         DT_LNK.
74709         [BZ #6890]
74710         * manual/filesys.texi (Directory Entries): Clarify that it's file
74711         system not operating system in the description of DT_UNKNOWN.
74713         [BZ #6578]
74714         * manual/syslog.texi (closelog): Fix reference, it's openlog.
74716 2012-04-08  Stephen Compall  <s11@member.fsf.org>
74718         [BZ #6649]
74719         * manual/llio.texi (Opening and Closing Files): Add cross
74720         reference to explain mode argument.
74722 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
74724         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74725         * sysdeps/x86_64/memset_chk.S: Likewise.
74727 2012-04-07  David S. Miller  <davem@davemloft.net>
74729         * elf/elf.h (R_SPARC_WDISP10): Define.
74730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74731         R_SPARC_SIZE32.
74732         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74733         R_SPARC_SIZE64 and R_SPARC_H34.
74735 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
74737         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74738         conditions and remove no longer applicable assertion.
74740 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74742         * bits/byteswap.h: Include <features.h>.
74743         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74744         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74746 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74748         * bits/byteswap.h (__bswap_16): Removed.
74749         Include <bits/byteswap-16.h> to get __bswap_16.
74750         * sysdeps/i386/bits/byteswap.h: Likewise.
74751         * sysdeps/s390/bits/byteswap.h: Likewise.
74752         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74753         * bits/byteswap-16.h: New file.
74754         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74755         * sysdeps/s390/bits/byteswap-16.h: Likewise.
74756         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74757         * string/Makefile (headers): Add bits/byteswap-16.h.
74759 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74761         [BZ #13895]
74762         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74763         extra indirection.
74764         * nss/Makefile (tests-static, tests): Add tst-nss-static.
74765         * nss/tst-nss-static.c: New.
74767 2012-04-06  Robert Millan  <rmh@gnu.org>
74769         [BZ #6486]
74770         * manual/llio.texi (File Position Primitive): lseek
74771         refers to WHENCE when it really means OFFSET.
74773 2012-04-06  Andreas Jaeger  <aj@suse.de>
74775         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74776         strncmp declarations.
74778         * abilist/libc.abilist: Add __poll and __ppoll.
74780 2012-04-05  David S. Miller  <davem@davemloft.net>
74782         * scripts/check-local-headers.sh: Accept a host triplet in the
74783         path matched by the exclude regexp.
74785         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74786         definition.
74787         * sysdeps/powerpc/powerpc32/dl-machine.h
74788         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74789         * sysdeps/s390/s390-32/dl-machine.h
74790         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74791         * sysdeps/sparc/sparc32/dl-machine.h
74792         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74793         * sysdeps/sparc/sparc64/dl-machine.h
74794         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74796         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74797         lazy binding.
74798         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74799         undefined symbol errors.
74801         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74802         DT_NEEDED entries.
74804 2012-04-05  Michael Matz  <matz@suse.de>
74806         [BZ #13592]
74807         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74809 2012-04-05  Andreas Jaeger  <aj@suse.de>
74811         [BZ #13908]
74812         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74813         comment.
74815 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74817         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74818         which ROUND is no valid rounding mode.
74820 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74822         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74823         read again.
74824         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74826 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74828         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74829         an exception using FPU order intentionally.
74831 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74833         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74834         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74835         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74836         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74838 2012-04-05  Simon Josefsson  <simon@josefsson.org>
74840         [BZ #12340]
74841         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74842         EINVAL when BUFLEN is too smal.
74844 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
74846         [BZ #13553]
74847         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74848         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74850 2012-04-03  Andreas Jaeger  <aj@suse.de>
74852         [BZ #13938]
74853         * manual/setjmp.texi (System V contexts): Fix sentence.
74855         [BZ #13926]
74856         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74857         New macro for this case.
74858         [!__GNUC__] (__bswap_64): New inline function for this case.
74859         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74860         * bits/byteswap.h: Likewise.
74861         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74862         ull, guard with __GLIBC_HAVE_LONG_LONG.
74864         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74865         __GLIBC_HAVE_LONG_LONG.
74867         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74868         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74870 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74872         [BZ #13691]
74873         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74874         inptr and inend, rather than using last_ch.
74876 2012-04-02  David S. Miller  <davem@davemloft.net>
74878         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74879         * stdio-common/printf-parse.h (read_int): Change return type to
74880         'int', return -1 on INT_MAX overflow.
74881         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74882         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
74883         overflows INT_MAX.  Check for overflow of in-format-string precision
74884         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
74885         SIZE_MAX not INT_MAX for integer overflow test.
74886         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74887         skip the construct in the format string but do not record anything.
74888         * stdio-common/bug22.c: Adjust to test both width/prevision
74889         INT_MAX overflow as well as total length INT_MAX overflow.  Check
74890         explicitly for proper errno values.
74892 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
74894         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74895         CHAR_MAX.
74896         * string/test-strcmp.c [! WIDE]: Likewise.
74897         * time/tst-mktime2.c: Likewise for INT_MAX.
74898         * string/test-string.h: #include <sys/param.h> for MIN.
74900         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74901         * sysdeps/i386/init-first.c (init): Likewise.
74902         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74903         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74904         * sysdeps/sh/init-first.c (init): Likewise.
74906 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74908         * po/ru.po: Update from translation team.
74909         * po/vi.po: Likewise.
74911 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74913         * resolv/nss_dns/dns-host.c: Merge copyright years.
74915 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74917         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74918         Optimize memcpy with prefetch if
74919         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74920         src, dst pointers have unequal 16 byte alignments.
74922 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74924         [BZ #13928]
74925         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74926         from a CNAME entry and return the minimum ttl for the query.
74927         (gaih_getanswer_slice): Likewise.
74929 2012-03-30  Jeff Law  <law@redhat.com>
74931         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74932         due to long keys.
74933         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74934         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74936         * resolv/nss_dns/dns-host.c: Update copyright year.
74938 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74940         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74941         requests to save a system call.  Fix check that all bytes are sent.
74943         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74944         comments for sendmmsg.
74946 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74948         [BZ #13691]
74949         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74950         with only 1 character between 0x0041 and 0x01b0.
74951         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74952         * wcsmbs/tst-mbsnrtowcs.c: New file.
74954 2012-03-29  David S. Miller  <davem@davemloft.net>
74956         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74957         small copies by hand.
74959 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74961         [BZ #13761]
74962         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74963         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74964         group memberships.
74966 2012-03-28  David S. Miller  <davem@davemloft.net>
74968         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74969         that branches into memcpy.
74970         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74971         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74972         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74973         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74974         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74975         bits.
74976         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74977         implementation too.
74978         * sysdeps/sparc/mempcpy.S: New file.
74980         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74981         the IFUNC routine in the libc case.
74982         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74984         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74985         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74986         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74987         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74988         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74989         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74990         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74991         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74993         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74994         loop to 256 bytes instead of 64 bytes and fix test signedness.
74996         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74997         * sysdeps/sparc/sparc32/Makefile: rather than here...
74998         * sysdeps/sparc/sparc64/Makefile: and here.
75000 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
75002         * malloc/mallocbug.c: Avoid warnings about unused variables.
75004 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
75006         [BZ #13760]
75007         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
75008         in the right place. Discard and retry query if response is
75009         larger than input buffer size.
75011 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
75013         [BZ #369]
75014         [BZ #2678]
75015         [BZ #3866]
75016         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
75017         x for large integer exponent.
75018         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
75019         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
75020         sign of result as needed afterwards.
75021         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
75022         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
75023         result for underflowing pow the same as for overflow.
75024         (__kernel_standard_l): Handle powl overflow and underflow here
75025         rather than calling __kernel_standard.
75026         * math/libm-test.inc (pow_test): Add more tests.
75028         [BZ #3868]
75029         [BZ #13879]
75030         [BZ #13910]
75031         [BZ #13911]
75032         [BZ #13912]
75033         [BZ #13913]
75034         [BZ #13915]
75035         [BZ #13916]
75036         [BZ #13917]
75037         [BZ #13918]
75038         [BZ #13919]
75039         [BZ #13920]
75040         [BZ #13921]
75041         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
75042         * sysdeps/ieee754/k_standard.c: Include <float.h>.
75043         (__kernel_standard_l): New function.
75044         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
75045         __kernel_standard.
75046         * math/w_acosl.c (__acosl): Likewise.
75047         * math/w_asinl.c (__asinl): Likewise.
75048         * math/w_atan2l.c (__atan2l): Likewise.
75049         * math/w_atanhl.c (__atanhl): Likewise.
75050         * math/w_coshl.c (__coshl): Likewise.
75051         * math/w_exp10l.c (__exp10l): Likewise.
75052         * math/w_exp2l.c (__exp2l): Likewise.
75053         * math/w_fmodl.c (__fmodl): Likewise.
75054         * math/w_hypotl.c (__hypotl): Likewise.
75055         * math/w_j0l.c (__j0l, __y0l): Likewise.
75056         * math/w_j1l.c (__j1l, __y1l): Likewise.
75057         * math/w_jnl.c (__jnl, __ynl): Likewise.
75058         * math/w_lgammal.c (__lgammal): Likewise.
75059         * math/w_log10l.c (__log10l): Likewise.
75060         * math/w_log2l.c (__log2l): Likewise.
75061         * math/w_logl.c (__logl): Likewise.
75062         * math/w_powl.c (__powl): Likewise.
75063         * math/w_remainderl.c (__remainderl): Likewise.
75064         * math/w_scalbl.c (sysv_scalbl): Likewise.
75065         * math/w_sinhl.c (__sinhl): Likewise.
75066         * math/w_sqrtl.c (__sqrtl): Likewise.
75067         * math/w_tgammal.c (__tgammal): Likewise.
75068         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
75069         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
75070         * math/libm-test.inc (acos_test): Add more tests.
75071         (acosh_test): Likewise.
75072         (asin_test): Likewise.
75073         (atanh_test): Likewise.
75074         (exp_test): Likewise.
75075         (exp10_test): Likewise.
75076         (exp2_test): Likewise.
75077         (expm1_test): Likewise.
75078         (lgamma_test): Likewise.
75079         (log_test): Likewise.
75080         (log10_test): Likewise.
75081         (log1p_test): Likewise.
75082         (log2_test): Likewise.
75083         (pow_test): Do not allow some spurious overflow exceptions.
75084         (sqrt_test): Add more tests.
75085         (tgamma_test): Likewise.
75086         (y0_test): Likewise.
75087         (y1_test): Likewise.
75088         (yn_test): Likewise.
75090 2012-03-27  Anton Blanchard  <anton@samba.org>
75092         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
75093         MAP_HUGETLB.
75094         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75095         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75096         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75098 2012-03-27  David S. Miller  <davem@davemloft.net>
75100         * conform/Makefile: Run run-conformtest.sh using $(BASH).
75102         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
75103         have-as-vis3 check.
75105 2012-03-27  Andreas Jaeger  <aj@suse.de>
75107         * sysdeps/x86_64/elf/configure.in: Moved to ...
75108         * sysdeps/x86_64/configure.in: ... here.
75109         * sysdeps/x86_64/elf/start.S: Moved to ...
75110         * sysdeps/x86_64/start.S: ... here.
75111         * sysdeps/x86_64/elf/configure: Delete.
75113         * sysdeps/x86_64/configure.in: Merge contents from
75114         sysdeps/i386/configure.in (without i686 check).
75116         * sysdeps/i386/elf/Versions: Merge into ...
75117         * sysdeps/i386/Versions: ... this.
75118         * sysdeps/i386/elf/Versions: Delete file.
75119         * sysdeps/i386/elf/start.S: Moved to ...
75120         * sysdeps/i386/start.S: ...here.
75121         * sysdeps/i386/elf/configure.in: Merge into...
75122         * sysdeps/i386/configure.in: ...here.
75123         * sysdeps/i386/elf/configure.in: Delete file.
75124         * sysdeps/i386/elf/configure: Delete file.
75126         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75127         * debug/backtracesyms.c: ... here.
75128         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75129         * debug/backtracesymsfd.c: ... here.
75130         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75131         * sysdeps/generic/ifunc-sel.h: ... here.
75133         * sysdeps/unix/i386/start.c: Delete file.
75134         * sysdeps/unix/sparc/start.c: Delete file.
75135         * sysdeps/unix/start.c: Delete file.
75137         * sysdeps/sh/elf/configure.in: Moved to ...
75138         * sysdeps/sh/configure.in: ... here.
75139         * sysdeps/sh/elf/start.S: Moved to ...
75140         * sysdeps/sh/start.S: ... here.
75141         * sysdeps/sh/elf/configure: Delete file.
75143         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75144         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75145         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75146         * sysdeps/powerpc/powerpc64/entry.h: ... here.
75147         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75148         * sysdeps/powerpc/powerpc64/start.S: here.
75149         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75150         * sysdeps/powerpc/powerpc64/Makefile: ... this.
75151         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75152         * sysdeps/powerpc/powerpc64/configure.in: ... this.
75153         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75155         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75156         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75157         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75158         * sysdeps/powerpc/powerpc32/start.S: ... here.
75159         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75160         * sysdeps/powerpc/powerpc32/configure.in: ... this.
75161         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75163         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75164         * sysdeps/powerpc/ifunc-sel.h: ... here.
75165         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75166         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75168         * sysdeps/sparc/elf/configure.in: Moved to ...
75169         * sysdeps/sparc/configure.in: ... here.
75170         * sysdeps/sparc/elf/configure: Delete file.
75171         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75172         * sysdeps/sparc/sparc32/start.S: ... here.
75173         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75174         * sysdeps/sparc/sparc64/start.S: ... here.
75175         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75176         * sysdeps/sparc/sparc32/Makefile: ... this.
75177         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75178         * sysdeps/sparc/sparc64/Makefile: ... this.
75180         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75181         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75182         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75183         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75184         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75185         * sysdeps/s390/s390-32/setjmp.S: ... here.
75186         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75187         * sysdeps/s390/s390-32/configure.in: ... here.
75188         * sysdeps/s390/s390-32/elf/configure: Delete file.
75189         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75190         * sysdeps/s390/s390-32/start.S: ... here.
75192         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75193         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75194         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75195         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75196         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75197         * sysdeps/s390/s390-64/setjmp.S: ... here.
75198         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75199         * sysdeps/s390/s390-64/configure.in: ... here
75200         * sysdeps/s390/s390-64/elf/configure: Delete file.
75201         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75202         * sysdeps/s390/s390-64/start.S: ... here.
75203         * sysdeps/s390/s390-64/elf/configure: Delete.
75205         * configure.in: Remove support for elf directories in sysdeps.
75207         * configure: Regenerated.
75208         * sysdeps/i386/configure: Regenerated.
75209         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75210         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75211         * sysdeps/s390/s390-32/configure: Regenerated.
75212         * sysdeps/s390/s390-64/configure: Regenerated.
75213         * sysdeps/sh/configure: Regenerated.
75214         * sysdeps/sparc/configure: Regenerated.
75215         * sysdeps/x86_64/configure: Regenerated.
75217 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
75219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75221         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75222         denormal result into account.
75224 2012-03-25  Roland McGrath  <roland@hack.frob.com>
75226         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75227         Reported by Allan McRae <allan@archlinux.org>.
75229 2012-03-23  Jeff Law  <law@redhat.com>
75231         * nss/getnssent.c (__nss_getent): Fix typo.
75233 2012-03-23  David S. Miller  <davem@davemloft.net>
75235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75237 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
75239         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75240         to pad to uint64_t for each field.
75241         (dl_tls_index): Replace unsigned long with uint64_t.
75243 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
75244         Paul Pluzhnikov  <ppluzhnikov@google.com>
75246         [BZ #6528]
75247         * grp/Makefile (otherlibs): Don't set it.
75248         * inet/Makefile (otherlibs): Likewise.
75249         * login/Makefile (otherlibs): Likewise.
75250         * nscd/Makefile (otherlibs): Likewise.
75251         * posix/Makefile (otherlibs): Likewise.
75252         * pwd/Makefile (otherlibs): Likewise.
75253         * rt/Makefile (otherlibs): Likewise.
75254         * sunrpc/Makefile (otherlibs): Likewise.
75255         * nss/Makefile (otherlibs): Likewise.
75256         Add libnss_files to routines and static-only-routines.
75257         ($(objpfx)getent): Remove rule.
75258         * resolv/Makefile: Add libnss_dns and libresolv to routines and
75259         static-only-routines.
75261 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75263         [BZ #13892]
75264         * math/s_cexp.c: Include <float.h>.
75265         (__cexp): Handle exp result overflowing not necessarily
75266         overflowing both real and imaginary parts of result.
75267         * math/s_cexpf.c: Likewise.
75268         * math/s_cexpl.c: Likewise.
75269         * math/libm-test.inc (cexp_test): Add more tests.
75270         * sysdeps/i386/fpu/libm-test-ulps: Update.
75271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75273 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75275         * include/link.h (ELFW): New macro.
75276         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75277         Replace ELF64_R_TYPE with ELFW(R_TYPE).
75279 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75281         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75282         with uint64_t.
75284 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75286         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75287         declaration.
75288         (struct La_x32_retval): Likewise.
75290 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75292         * sysdeps/x86_64/preconfigure.in: New file.
75293         * sysdeps/x86_64/preconfigure: New generated file.
75295 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75297         [BZ #13824]
75298         * math/e_exp2l.c: Include <float.h>.
75299         (__ieee754_exp2l): Handle overflow and underflow cases
75300         separately.  Only pass fractional part of argument to
75301         __ieee754_expl.
75302         * math/libm-test.inc (exp2_test): Add more tests.
75304         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75305         negating x to take absolute value.
75306         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75307         Likewise.
75308         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75309         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75310         Likewise.
75311         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75312         computing low part if x was negated.
75313         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75315 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75317         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75318         la_x32_gnu_pltexit.
75319         (pltexit): Cast int_retval to ptrdiff_t.
75320         * elf/tst-auditmod3b.c: Likewise.
75321         * elf/tst-auditmod4b.c: Likewise.
75322         * elf/tst-auditmod5b.c: Likewise.
75323         * elf/tst-auditmod6b.c: Likewise.
75324         * elf/tst-auditmod6c.c: Likewise.
75325         * elf/tst-auditmod7b.c: Likewise.
75327         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75328         and x32_gnu_pltexit.
75330         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75331         __ELF_NATIVE_CLASS.
75332         (La_x32_regs): New macro.
75333         (La_x32_retval): Likewise.
75334         (la_x32_gnu_pltenter): New function prototype.
75335         (la_x32_gnu_pltexit): Likewise.
75337 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
75339         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75340         exponent.
75342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75344         * configure.in (libc_cv_cc_nofma): Check for option to disable
75345         generation of FMA instructions.
75346         * configure: Regenerate.
75347         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75348         * sysdeps/ieee754/dbl-64/Makefile: New file.
75349         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75350         Remove brandred-fma4.
75351         (CFLAGS-brandred-fma4.c): Remove.
75352         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75353         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75354         define.
75355         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75356         define.
75358 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75360         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75361         LLONG_MAX != LONG_MAX.
75362         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75363         (_fitoa_word): Likewise.
75364         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75365         LLONG_MAX != LONG_MAX.
75366         * stdio-common/_itowa.h: Include <_itoa.h>.
75367         (_itowa_word): Use _ITOA_WORD_TYPE on value.
75368         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
75369         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
75370         only if not defined.
75371         (_ITOA_WORD_TYPE): Likewise.
75372         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75373         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75375 2012-03-21  David S. Miller  <davem@davemloft.net>
75377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75379 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75381         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75382         of x86_64 when setting libc_cv_slibdir, libdir and
75383         libc_cv_localedir.
75384         * sysdeps/unix/sysv/linux/configure: Regenerated.
75386 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75388         * manual/lang.texi (Old Varargs): Remove section.
75389         (How Variadic): Update menu.
75390         (va_start): Do not mention varargs.h.
75392 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75393             Joseph Myers  <joseph@codesourcery.com>
75395         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75396         link test.
75397         * configure: Regenerated.
75399 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75401         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75402         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75403         conformtest.pl
75405 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75407         * NOTES: Remove.
75408         * Makefile (files-for-dist): Remove NOTES.
75409         (NOTES): Remove rule.
75410         * README: Don't refer to NOTES.
75411         * manual/creature.texi: Don't include macros.texi.
75412         * manual/intro.texi (creature.texi): Remove comment referring to
75413         NOTES.
75415         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75416         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75417         * configure: Regenerated.
75418         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75419         LIBC_TRY_CC_OPTION.
75420         (libc_cv_as_i686): Likewise.
75421         (libc_cv_cc_avx): Likewise.
75422         (libc_cv_cc_sse2avx): Likewise.
75423         (libc_cv_cc_fma4): Likewise.
75424         (libc_cv_cc_novzeroupper): Likewise.
75425         * sysdeps/i386/configure: Regenerated.
75427         [BZ #13883]
75428         * sysdeps/i386/fpu/s_cexp.S: Remove.
75429         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75430         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75431         * math/libm-test.inc (cexp_test): Add more tests.
75432         * sysdeps/i386/fpu/libm-test-ulps: Update.
75433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75435 2012-03-21  Allan McRae  <allan@archlinux.org>
75437         * timezone/Makefile: Do not install iso3166.tab and zone.tab
75439 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75441         [BZ #13871]
75442         * math/w_exp2.c: Do not include <float.h>.
75443         (o_threshold, u_threshold): Remove.
75444         (__exp2): Calculate result before checking finiteness and calling
75445         __kernel_standard.
75446         * math/w_exp2f.c: Likewise.
75447         * math/w_exp2l.c: Likewise.
75448         * math/libm-test.inc (exp2_test): Require overflow exception for
75449         1e6 input.
75451         [BZ #3866]
75452         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75453         range of signed 64-bit integers before using fistpll.  Remove
75454         checks for whether integers fit in mantissa bits.
75455         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75456         the range of signed 32-bit integers before using fistpl.  Remove
75457         checks for whether integers fit in mantissa bits.
75458         * sysdeps/i386/fpu/e_powl.S (p64): New object.
75459         (__ieee754_powl): Test for y outside the range of signed 64-bit
75460         integers before using fistpll.  Reduce 64-bit values to 63-bit
75461         ones as needed.
75462         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75463         divide-by-zero is raised for zero to large negative powers.
75464         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75465         (__ieee754_powl): Test for y outside the range of signed 64-bit
75466         integers before using fistpll.  Reduce 64-bit values to 63-bit
75467         ones as needed.
75468         * math/libm-test.inc (pow_test): Add more tests.
75470 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75472         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75473         <stdio-common/_itoa.h>.
75474         * debug/segfault.c: Likewise.
75475         * elf/dl-cache.c: Likewise.
75476         * elf/dl-minimal.c: Likewise.
75477         * elf/dl-misc.c: Likewise.
75478         * elf/dl-sysdep.c: Likewise.
75479         * elf/dl-version.c: Likewise.
75480         * elf/rtld.c: Likewise.
75481         * hurd/hurdsock.c: Likewise.
75482         * hurd/lookup-retry.c: Likewise.
75483         * malloc/malloc.c: Likewise.
75484         * malloc/mtrace.c: Likewise.
75485         * nscd/nscd_getgr_r.c: Likewise.
75486         * nscd/nscd_getpw_r.c: Likewise.
75487         * nscd/nscd_getserv_r.c: Likewise.
75488         * posix/getopt_init.c: Likewise.
75489         * posix/wordexp.c: Likewise.
75490         * stdio-common/_itoa.c: Likewise.
75491         * stdio-common/printf_fphex.c: Likewise.
75492         * stdio-common/vfprintf.c: Likewise.
75493         * string/_strerror.c: Likewise.
75494         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75495         * sysdeps/i386/i686/hp-timing.h: Likewise.
75496         * sysdeps/mach/_strerror.c: Likewise.
75497         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75498         * sysdeps/mach/hurd/sethostid.c: Likewise.
75499         * sysdeps/mach/hurd/xmknodat.c: Likewise.
75500         * sysdeps/mach/xpg-strerror.c: Likewise.
75501         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75502         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75503         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75504         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75505         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75506         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75507         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75508         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75509         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75510         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75511         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75512         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75513         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75514         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75515         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75516         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75517         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75518         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75519         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75520         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75521         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75523         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75525         * stdio-common/_itoa.h: Moved to ...
75526         * sysdeps/generic/_itoa.h: Here.
75528         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75530         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75531         instead of "_itoa.h" and "_itowa.h".
75532         * stdio-common/vfprintf.: Likewise.
75534 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75536         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75537         <bits/wordsize.h>.
75538         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75539         (__signbit): Likewise.
75540         (llrintf): Likewise.
75541         (llrint): Likewise.
75543 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75545         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75546         __WORDSIZE != 64.
75548 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
75550         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75551         OVERFLOW_EXCEPTION_OK.
75552         * math/libm-test.inc ("Philosophy"): Update comment about
75553         exception testing.
75554         (OVERFLOW_EXCEPTION): Define.
75555         (OVERFLOW_EXCEPTION_OK): Likewise.
75556         (INVALID_EXCEPTION_OK): Renumber.
75557         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75558         (IGNORE_ZERO_INF_SIGN): Likewise.
75559         (test_exceptions): Handle FE_OVERFLOW.
75560         (exp10_test): Expect overflow exceptions.
75561         (exp2_test): Likewise.
75562         (expm1_test): Likewise.
75563         (nextafter_test): Likewise.
75564         (pow_test): Likewise.
75565         (scalbn_test): Likewise.
75566         (scalbln_test): Likewise.
75568 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75570         * sysdeps/x86_64/bits/atomic.h
75571         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75572         64bit integer.
75573         (atomic_exchange_acq): Likewise.
75574         (__arch_exchange_and_add_body): Likewise.
75575         (__arch_add_body): Likewise.
75576         (atomic_add_negative): Likewise.
75577         (atomic_add_zero): Likewise.
75579 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75581         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75582         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75584 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75586         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75587         Check __x86_64__ instead of __WORDSIZE.
75589 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75591         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75593 2012-03-19  David S. Miller  <davem@davemloft.net>
75595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75597         * sysdeps/sparc/fpu/fenv_private.h: New file.
75598         * sysdeps/sparc/fpu/math_private.h: Use it.
75599         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75600         Remove.
75601         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75602         (libc_feholdexcept_setroundl): Remove.
75603         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75604         Remove.
75605         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75606         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75608 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75610         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75611         int64_t instead of long int.
75612         (INSERT_WORDS64): Likewise.
75614 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75616         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75617         _Unwind_GetCFA return to _Unwind_Ptr first.
75619 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
75621         [BZ #13629]
75622         * math/s_clog.c: Include <float.h>.
75623         (__clog): Scale large or subnormal inputs.
75624         * math/s_clogf.c: Likewise.
75625         * math/s_clogl.c: Likewise.
75626         * math/s_clog10.c: Include <float.h>.
75627         (M_LOG10_2): Define.
75628         (__clog10): Scale large or subnormal inputs.
75629         * math/s_clog10f.c: Likewise.
75630         * math/s_clog10l.c: Likewise.
75631         * math/libm-test.inc (clog_test): Add more tests.
75632         (clog10_test): Likewise.
75633         * sysdeps/i386/fpu/libm-test-ulps: Update.
75634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75636         [BZ #11451]
75637         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75638         x and y.
75639         * math/libm-test.inc (atan2_test): Add another test.
75641         * Makerules (common-objdir-compile): Remove.
75642         * sysdeps/unix/Makefile (config-generated): Do not add
75643         $(unix-generated) to variable.
75644         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75645         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75646         Remove rule.
75647         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75648         Likewise.
75649         [generic bits/local_lim.h] (before-compile): Do not append to
75650         variable.
75651         [generic bits/local_lim.h] (common-generated): Likewise.
75652         [generic sys/param.h] (before-compile): Do not append to variable.
75653         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75654         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75655         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75656         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75657         include.
75658         [generic sys/param.h] (sys/param.h-includes): Remove variable.
75659         [generic sys/param.h] (sys/param.h-includes): Remove rule.
75660         [generic sys/param.h] ($(addprefix
75661         $(common-objpfx),$(sys/param.h-includes))): Likewise.
75662         [generic sys/param.h] (common-generated): Do not append to
75663         variable.
75664         [generic sys/param.h] (sysdep_headers): Likewise.
75665         [generic bits/errno.h] (before-compile): Do not append to
75666         variable.
75667         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75668         rule.
75669         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75670         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75671         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75672         [generic bits/errno.h] (common-generated): Do not append to
75673         variable.
75674         [generic bits/ioctls.h] (before-compile): Do not append to
75675         variable.
75676         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75677         rule.
75678         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75679         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75680         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75681         rule.
75682         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75683         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75684         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75685         [generic bits/ioctls.h] (common-generated): Do not append to
75686         variable.
75687         [generic sys/syscall.h] (syscall.h): Remove variable.
75688         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75689         rule.
75690         [generic sys/syscall.h] (before-compile): Do not append to
75691         variable.
75692         [generic sys/syscall.h] (common-generated): Likewise.
75693         * sysdeps/unix/errnos-tmpl.c: Remove file.
75694         * sysdeps/unix/errnos.awk: Likewise.
75695         * sysdeps/unix/ioctls-tmpl.c: Likewise.
75696         * sysdeps/unix/ioctls.awk: Likewise.
75697         * sysdeps/unix/mk-local_lim.c: Likewise.
75698         * sysdeps/unix/snarf-ioctls: Likewise.
75700 2012-03-19  Richard Henderson  <rth@twiddle.net>
75702         * sysdeps/i386/fpu/fenv_private.h: New file.
75703         * sysdeps/i386/fpu/math_private.h: Use it.
75704         (math_opt_barrier, math_force_eval): Remove.
75705         (libc_feholdexcept_setround_53bit): Remove.
75706         (libc_feupdateenv_53bit): Remove.
75707         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75708         (math_opt_barrier, math_force_eval): Remove.
75709         (libc_feholdexcept): Remove.
75710         (libc_feholdexcept_setround): Remove.
75711         (libc_fetestexcept, libc_fesetenv): Remove.
75712         (libc_feupdateenv_test): Remove.
75713         (libc_feupdateenv, libc_feholdsetround): Remove.
75714         (libc_feresetround): Remove.
75716         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75717         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75719         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75720         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75721         (libc_feupdateenv_testl): New.
75722         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75723         (libc_feupdateenv_testf): New.
75724         (libc_feupdateenv): Use libc_feupdateenv_test.
75725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75726         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75728         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75729         (libc_feholdsetroundf, libc_feholdsetroundl): New.
75730         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75731         (libc_feresetround_noex): New.
75732         (libc_feresetround_noexf): New.
75733         (libc_feresetround_noexl): New.
75734         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75735         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75736         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75737         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75738         SET_RESTORE_ROUND.
75739         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75741         (__cos): Likewise.
75742         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75743         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75744         SET_RESTORE_ROUND_NOEX.
75745         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75746         SET_RESTORE_ROUND_NOEXF.
75747         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75748         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75749         (libc_feholdsetroundf): New.
75750         (libc_feresetround, libc_feresetroundf): New.
75752         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75753         (libc_feholdexcept_setround_53bit): Convert from macro to function.
75754         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
75756         * sysdeps/generic/math_private.h: Include <fenv.h>.
75757         (default_libc_feholdexcept): New.
75758         (default_libc_feholdexcept_setround): New.
75759         (default_libc_fesetenv, default_libc_feupdateenv): New.
75760         (libc_feholdexcept): Only define if undefined.
75761         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75762         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75763         (libc_feholdexcept_setroundl): Likewise.
75764         (libc_feholdexcept_setround_53bit): Likewise.
75765         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75766         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75767         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75768         (libc_feupdateenv_53bit): Likewise.
75769         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75770         (libc_feholdexcept): Convert from macro to inline function.
75771         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75772         (libc_fesetenv, libc_feupdateenv): Likewise.
75774         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75775         not previously defined.
75776         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75777         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75778         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75779         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75780         * sysdeps/ieee754/flt-32/math_private.h: New file.
75781         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75782         math_private.h below SET_FLOAT_WORD.
75783         (__isnan, __isinf_ns, __finite): Remove.
75784         (__isnanf, __isinf_nsf, __finitef): Remove.
75786 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
75788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75790 2012-03-17  David S. Miller  <davem@davemloft.net>
75792         [BZ #6471]
75793         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75794         for 2.16.
75796 2012-03-16  David S. Miller  <davem@davemloft.net>
75798         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75799         warnings.
75801         [BZ #6471]
75802         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75803         properly.
75804         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75805         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75806         sysdep_routines when subdir is sysvipc.
75807         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75808         __getshmlba helper.
75810         * sysdeps/sparc/fpu/libm-test/ulps: Update.
75812 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75814         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75815         [__LP64__].
75817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75819         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75820         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75821         (__lround): Renamed to ...
75822         (__llround): This.  Replace long int with long long int.
75823         Define lround functions as aliases of llround functions.
75824         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75826 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75828         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75829         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
75830         adresses to uintptr_t.  Replace "long int" and "unsigned long
75831         int" with "greg_t" on va_arg.
75833 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75835         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75836         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75838         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75839         Move e_machine check before EI_CLASS check.  Handle x32
75840         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75841         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75842         SKIP_EM_IA_64 and include
75843         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75845         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75846         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75847         (add_system_dir): New macro.
75849         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75850         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75852 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75854         [BZ #2551]
75855         [BZ #2552]
75856         [BZ #2553]
75857         [BZ #2554]
75858         [BZ #2562]
75859         [BZ #2563]
75860         [BZ #2565]
75861         [BZ #2566]
75862         [BZ #2576]
75863         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75864         (y0): Likewise.
75865         * math/w_j0f.c (j0f): Likewise.
75866         (y0f): Likewise.
75867         * math/w_j0l.c (__j0l): Likewise.
75868         (__y0l): Likewise.
75869         * math/w_j1.c (j1): Likewise.
75870         (y1): Likewise.
75871         * math/w_j1f.c (j1f): Likewise.
75872         (y1f): Likewise.
75873         * math/w_j1l.c (__j1l): Likewise.
75874         (__y1l): Likewise.
75875         * math/w_jn.c (jn): Likewise.
75876         (yn): Likewise.
75877         * math/w_jnf.c (jnf): Likewise.
75878         (ynf): Likewise.
75879         * math/w_jnl.c (__jnl): Likewise.
75880         (__ynl): Likewise.
75881         * math/libm-test.inc (j0_test): Add more tests.
75882         (j1_test): Likewise.
75883         (jn_test): Likewise.  Add trailing semicolon to existing test.
75884         (y0_test): Likewise.
75885         (y1_test): Likewise.
75886         * sysdeps/i386/fpu/libm-test-ulps: Update.
75887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75889         [BZ #13851]
75890         [BZ #13854]
75891         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75892         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75893         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75894         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75895         (__tanl): Set errno for infinite argument.
75896         * sysdeps/i386/fpu/mptan.c: Remove.
75897         * sysdeps/i386/fpu/s_tan.S: Likewise.
75898         * sysdeps/i386/fpu/s_tanl.S: Likewise.
75899         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75900         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75901         * math/libm-test.inc (tan_test): Add more tests and enable more
75902         tests for double and long double.
75903         * sysdeps/i386/fpu/libm-test-ulps: Update.
75904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75906 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75908         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75909         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75911 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75913         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75914         * configure.in: Use it for both main tree and add-ons.
75915         * configure: Regenerated.
75917 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75919         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75921 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75923         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75924         in comment.
75926         [BZ #13851]
75927         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75928         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75929         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75930         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75931         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75932         infinite argument.
75933         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75934         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75935         != 0 for prec == 2.
75936         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75937         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75938         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75939         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75940         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75941         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75942         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75943         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75944         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75945         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75946         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75947         * math/libm-test.inc (cos_test): Add more tests and enable more
75948         tests for long double.
75949         (sin_test): Likewise.
75950         (sincos_test): Likewise.
75951         * sysdeps/i386/fpu/libm-test-ulps: Update.
75952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75954 2012-03-16  David S. Miller  <davem@davemloft.net>
75956         * sysdeps/sparc/fpu/math_private.h: New file.
75958 2012-03-15  David S. Miller  <davem@davemloft.net>
75960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75961         file.
75962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75964         file.
75965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75970         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75971         sysdep routines.
75972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75974         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75975         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75977         * sysdeps/sparc/sparc-ifunc.h: New file.
75978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75979         sparc-ifunc.h
75980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75982         Likewise.
75983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75984         Likewise.
75985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75989         Likewise.
75990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75995         Likewise.
75996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75997         Likewise.
75998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
76000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
76001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
76002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
76003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
76004         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
76005         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
76006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
76007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
76008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
76009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
76010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
76011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
76012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
76013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
76014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
76015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
76016         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
76017         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
76018         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
76019         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
76020         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
76021         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
76023 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
76025         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
76026         scaling.
76027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76029 2012-03-15  Andreas Jaeger  <aj@suse.de>
76031         [BZ #13852]
76032         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
76033         ieee754/flt-32 implementation for sin, cos and sincos.
76034         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
76035         * sysdeps/i386/fpu/s_cosf.S: Likewise.
76036         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
76037         * sysdeps/i386/fpu/s_sinf.S: Likewise.
76038         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
76039         ieee754/flt-32 implementation for tan.
76041         * math/libm-test.inc (cos_test): Enable some large input tests for
76042         float as well
76043         (sin_test): Likewise.
76044         (sincos_test): Likewise.
76045         (tan_test): Add tests for large input.
76047         * sysdeps/i386/fpu/libm-test-ulps: Update.
76049 2012-03-15  Andreas Jaeger  <aj@suse.de>
76051         [BZ #13658]
76052         * math/libm-test.inc (cos_test): Add more test cases.
76053         (sin_test): Likewise.
76054         (sincos_test): Likewise.
76056 2012-03-15  Andreas Jaeger  <aj@suse.de>
76058         [BZ #13837]
76059         * math/libm-test.inc (cos_test): Add a test case for large input
76060         value.
76061         (sin_test): Likewise.
76062         (sincos_test): Likewise.
76064 2012-03-15  Andreas Jaeger  <aj@suse.de>
76065             Joseph Myers  <joseph@codesourcery.com>
76067         [BZ #13658]
76068         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
76069         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
76070         * sysdeps/i386/fpu/branred.c: Likewise.
76071         * sysdeps/i386/fpu/dosincos.c: Likewise.
76072         * sysdeps/i386/fpu/mpa.c: Likewise.
76073         * sysdeps/i386/fpu/s_cos.S: Likewise.
76074         * sysdeps/i386/fpu/s_sin.S: Likewise.
76075         * sysdeps/i386/fpu/s_sincos.S: Likewise.
76076         * sysdeps/i386/fpu/sincos32.c: Likewise.
76078         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
76079         Define.
76080         (libc_feupdateenv_53bit): Define.
76081         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
76082         Define.
76083         (libc_feupdateenv_53bit): Define.
76085         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
76086         53 bit (without extend i386 double precision).
76088         * math/libm-test.inc (sincos_test): Add tests for large input.
76089         (sin): Likewise.
76090         (cos): Likewise.
76092         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
76094 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
76096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76098 2012-03-15  David S. Miller  <davem@davemloft.net>
76100         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
76101         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
76102         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
76103         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
76104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
76105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
76106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
76107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
76108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
76109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
76110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
76111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
76112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
76113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76116         file.
76117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76119         file.
76120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76122         file.
76123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76125         file.
76126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76127         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76128         fmin/fmax sysdep routines.
76129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76131 2012-03-14  David S. Miller  <davem@davemloft.net>
76133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76138         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76139         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76140         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76142         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76153         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76154         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76157         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76162         routines.
76163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76164         file.
76165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76167         file.
76168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76170         file.
76171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76173         file.
76174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76176         file.
76177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76179         file.
76180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76181         file.
76182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76183         file.
76184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76185         file.
76186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76187         New file.
76188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76189         file.
76190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76191         file.
76192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76194         file.
76195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76197         file.
76198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76200         file.
76201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76203         VIS3 routines.
76205         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76206         New file.
76208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76210         * sysdeps/sparc/configure.in: New file.
76211         * sysdeps/sparc/configure: Generate.
76212         * configure.in (libc_cv_sparc_as_vis3): Substitute.
76213         * configure: Regenerate.
76214         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76215         * config.make.in (have-as-vis3): New.
76216         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76217         available use -Av9d instead of -Av9a.
76218         * sysdeps/sparc/sparc64/Makefile: Likewise.
76219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76221         New file.
76222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76223         file.
76224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76225         New file.
76226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76227         file.
76228         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76229         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76230         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76231         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76232         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76234         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76235         fzeros/fnegs to load 0x80000000 into a float register instead of
76236         using the stack.
76237         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76239 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76242         bits/syscall.h.
76243         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76244         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76245         ($(inst_includedir)/bits/syscall.h): Remove rule.
76246         ($(objpfx)bits/syscall.d): Include instead of
76247         $(objpfx)syscall-list.d.
76248         (generated): Change syscall-list.h and syscall-list.d to
76249         bits/syscall.h and bits/syscall.d.
76251 2012-03-14  Roland McGrath  <roland@hack.frob.com>
76253         [BZ #13846]
76254         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76256 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76258         [BZ #13841]
76259         * math/s_csqrt.c: Include <float.h>.
76260         (__csqrt): Scale large or subnormal inputs.
76261         * math/s_csqrtf.c: Likewise.
76262         * math/s_csqrtl.c: Likewise.
76263         * math/libm-test.inc (csqrt_test): Add more tests.
76264         * sysdeps/i386/fpu/libm-test-ulps: Update.
76265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76267         [BZ #13840]
76268         * math/libm-test.inc (hypot_test): Add more tests.
76270 2012-03-13  David S. Miller  <davem@davemloft.net>
76272         [BZ #13840]
76273         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76274         double-precision for the calculation instead of scaling.
76276 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
76278         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76279         manipulate bits before adding and subtracting TWO52[sx].
76280         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76281         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76282         Likewise.
76283         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76285 2012-03-13  David S. Miller  <davem@davemloft.net>
76287         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76288         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76290         rtld-global-offsets.h
76291         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76293         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76294         large parameters.
76296         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76298         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76299         'err' in the ifdef scope in which it is actually used.
76301         * nss/nss_db/db-init.c: Include string.h
76303 2012-03-12  David S. Miller  <davem@davemloft.net>
76305         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76306         masking out of the most significant byte of random value used.
76307         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76308         Fix coding style in previous change.
76310         * sysdeps/unix/sysv/linux/kernel-features.h
76311         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76312         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76313         expression.
76314         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76315         later.
76317 2012-03-11  David S. Miller  <davem@davemloft.net>
76319         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76320         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76321         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76322         for 'resultvar' otherwise things get truncated on 64-bit.
76324         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76325         Fix masking out of the most significant byte of random value used.
76327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76329 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
76331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76333 2012-03-09  David S. Miller  <davem@davemloft.net>
76335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76336         variables with appropriate CPP guards.
76337         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76338         from the frame pointer, not the stack pointer.  Correct layout
76339         comments.  Fix test on resulting framesize and the management of
76340         the outregs buffer for pltexit.  Preserve floating point return
76341         values across _dl_call_pltexit call.
76342         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76343         framesize and the management of the outregs buffer for pltexit.
76344         Preserve floating point return values across _dl_call_pltexit
76345         call.
76346         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76347         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76348         (la_sparc64_gnu_pltexit): New functions.
76349         (print_exit): Fix format string for return register value.
76351 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
76353         * sunrpc/Makefile (others): Add rpcgen.
76354         ($(objpfx)rpcgen): Remove special build rule and dependency on
76355         libc.
76356         * sunrpc/rpcgen.c: New file.
76358 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
76360         [BZ #13673]
76361         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76362         * stdio-common/bug-vfprintf-nargs.c: Likewise.
76363         * sysdeps/i386/crti.S: Likewise.
76364         * sysdeps/i386/crtn.S: Likewise.
76365         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76366         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76367         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76368         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76369         * sysdeps/sh/crti.S: Likewise.
76370         * sysdeps/sh/crtn.S: Likewise.
76371         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76373         [BZ #13673]
76374         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76375         with URL.
76376         * locale/programs/locfile-kw.gperf: Likewise.
76377         * locale/programs/charmap-kw.h: Regenerated.
76378         * locale/programs/locfile-kw.h: Likewise.
76380         [BZ #13673]
76381         * intl/plural.y: Replace FSF snail mail address with URL.
76382         * intl/plural.c: Regenerated.
76384 2012-03-09  Richard Henderson  <rth@twiddle.net>
76386         * include/math_private.h: Remove file.
76387         * math/math_private.h: Move file ...
76388         * sysdeps/generic/math_private.h: ... here.
76390         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76391         * sysdeps/powerpc/fpu/math_private.h: Likewise.
76392         * sysdeps/x86_64/fpu/math_private.h: Likewise.
76394         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76395         and <math_private.h>.
76396         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76397         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76398         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76399         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76400         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76401         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76402         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76403         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76404         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76405         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76407         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76408         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76409         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76410         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76411         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76412         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76413         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76414         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76415         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76417         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76418         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76419         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76420         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76421         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76422         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76423         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76424         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76425         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76426         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76427         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76428         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76429         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76430         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76431         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76432         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76433         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76434         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76435         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76436         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76437         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76438         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76439         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76440         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76441         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76442         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76443         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76444         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76445         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76446         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76447         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76448         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76449         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76450         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76451         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76452         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76453         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76454         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76455         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76456         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76457         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76458         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76459         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76460         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76461         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76462         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76463         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76464         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76465         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76466         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76467         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76468         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76469         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76470         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76472         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76474         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76475         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76476         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76477         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76478         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76479         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76480         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76482         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76483         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76484         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76485         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76486         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76487         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76488         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76489         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76490         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76491         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76492         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76493         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76494         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76495         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76496         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76497         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76498         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76499         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76500         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76501         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76502         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76503         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76504         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76505         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76506         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76507         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76508         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76509         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76510         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76511         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76512         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76513         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76514         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76515         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76516         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76517         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76518         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76519         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76520         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76521         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76522         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76523         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76524         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76525         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76526         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76527         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76528         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76529         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76530         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76531         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76532         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76533         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76534         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76535         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76536         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76537         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76538         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76539         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76540         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76541         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76542         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76543         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76544         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76545         * sysdeps/ieee754/k_standard.c: Likewise.
76546         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76547         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76548         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76549         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76550         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76551         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76552         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76553         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76554         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76555         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76556         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76557         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76558         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76559         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76560         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76561         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76562         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76563         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76564         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76565         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76566         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76567         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76568         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76569         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76570         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76571         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76572         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76573         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76574         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76575         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76576         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76577         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76578         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76579         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76580         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76581         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76582         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76583         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76584         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76585         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76586         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76587         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76588         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76589         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76590         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76591         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76592         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76593         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76594         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76595         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76596         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76597         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76598         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76599         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76600         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76601         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76602         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76603         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76604         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76605         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76606         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76607         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76608         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76609         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76610         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76611         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76612         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76613         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76614         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76615         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76616         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76617         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76618         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76619         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76620         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76621         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76622         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76623         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76624         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76625         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76627         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76628         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76629         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76630         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76631         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76632         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76633         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76634         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76636         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76637         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76638         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76639         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76640         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76641         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76642         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76643         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76644         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76645         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76647         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76648         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76649         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76650         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76651         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76652         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76653         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76654         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76655         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76656         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76657         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76658         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76659         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76660         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76661         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76662         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76663         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76664         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76665         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76666         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76667         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76668         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76669         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76670         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76671         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76672         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76673         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76674         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76675         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76676         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76677         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76678         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76679         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76680         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76681         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76682         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76683         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76684         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76685         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76686         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76687         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76688         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76689         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76690         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76691         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76692         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76693         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76694         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76695         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76696         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76697         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76698         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76699         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76700         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76701         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76702         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76703         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76704         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76705         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76706         * sysdeps/ieee754/s_lib_version.c: Likewise.
76707         * sysdeps/ieee754/s_matherr.c: Likewise.
76708         * sysdeps/ieee754/s_signgam.c: Likewise.
76709         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76710         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76711         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76712         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76713         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76714         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76715         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76716         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76717         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76718         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76719         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76720         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76721         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76722         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76723         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76724         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76725         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76726         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76727         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76731 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76733         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76734         * sunrpc/rpc_main.c: Likewise.
76735         * sunrpc/rpc_svcout.c: Likewise.
76737 2012-03-09  David S. Miller  <davem@davemloft.net>
76739         * include/math_private.h: New file.
76741 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76743         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76744         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76745         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76746         from <bits/socket_type.h>.
76747         (enum __socket_type): Don't define here.
76748         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76750         bits/socket_type.h.
76752         [BZ #13566]
76753         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76754         checking __USE_GNU.
76756         * Makerules ($(inst_includedir)/%.h): New rule.
76757         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76758         (install-others): Remove variable setting.
76759         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76761 2012-03-08  Richard Henderson  <rth@twiddle.net>
76763         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76764         from macro to inline function; merge with the
76765         !__LIBC_INTERNAL_MATH_INLINES version.
76766         (__ieee754_sqrtf): Likewise.
76768         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76769         to inline function.
76770         (__rintf, __floor, __floorf): Likewise.
76772         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76773         macro to inline function.
76774         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76776         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76777         not <math/math_private.h>.
76779 2012-03-08  David S. Miller  <davem@davemloft.net>
76781         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76782         copyright year.
76783         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76785 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
76787         * resolv/gai_misc.c (handle_requests): Fix struct timespec
76788         normalization.
76789         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76790         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76792 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
76794         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
76795         be defined individually, they must be defined as a block.  Define
76796         S for printing a string instead of hidint the different by using a
76797         macro for adding the 'l'.
76798         * stdio-common/tst-fphex-wide.c: Adjust.
76800 2012-03-07  Marek Polacek  <polacek@redhat.com>
76802         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76804 2012-03-08  Marek Polacek  <polacek@redhat.com>
76806         [BZ #13806]
76807         * stdio-common/Makefile (tests): Add tst-fphex-wide.
76808         * stdio-common/tst-fphex.c: Define a few macros to make the
76809         test reusable.  Use them.
76810         * stdio-common/tst-fphex-wide.c: New file.
76812 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
76814         [BZ #6911]
76815         * manual/macros.texi (gnusystems): New macro.
76816         (nongnusystems): Likewise.
76817         (gnulinuxhurdsystems): Likewise.
76818         (gnuhurdsystems): Likewise..
76819         (gnulinuxsystems): Likewise.
76820         * manual/charset.texi: Use new macros or @theglibc{} to refer to
76821         variants of the GNU system, not "GNU system".
76822         * manual/conf.texi: Likewise.
76823         * manual/errno.texi: Likewise.  Update example of errno macro
76824         expansion.
76825         * manual/filesys.texi: Likewise.
76826         (getumask): Document as specific to GNU/Hurd.
76827         * manual/install.texi: Likewise.  Reword some references to
76828         GNU/Linux.
76829         * manual/intro.texi: Likewise.
76830         * manual/io.texi: Likewise.
76831         (File Name Portability): Detail which constraints are inapplicable
76832         to all GNU systems and which are only inapplicable to GNU/Hurd.
76833         * manual/job.texi: Likewise.
76834         * manual/llio.texi: Likewise.
76835         (O_NOCTTY): Document as present on GNU/Linux.
76836         * manual/maint.texi: Likewise.
76837         * manual/memory.texi: Likewise.
76838         * manual/pattern.texi: Likewise.
76839         * manual/pipe.texi: Likewise.
76840         * manual/process.texi: Likewise.
76841         * manual/resource.texi: Likewise.
76842         (RUSAGE_CHILDREN): Remove statement about specifying a particular
76843         child on GNU/Hurd.
76844         * manual/setjmp.texi: Likewise.
76845         * manual/signal.texi: Likewise.
76846         * manual/startup.texi: Likewise.
76847         * manual/stdio.texi: Likewise.
76848         * manual/terminal.texi: Likewise.
76849         (ONLCR): Document as POSIX.
76850         (OXTABS): Document availability on GNU/Linux as XTABS.
76851         (ONOEOT): Document availability separately from other bits.
76852         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76853         * manual/time.texi: Likewise.
76854         * manual/users.texi: Likewise.
76855         * INSTALL: Regenerated.
76856         * sysdeps/gnu/errlist.c: Regenerated.
76858         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76859         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76860         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
76861         puts.
76862         * configure: Regenerated.
76864 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
76866         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76867         default includes instead of AC_HEADER_CHECK.
76868         * sysdeps/i386/configure: Regenerated.
76870         [BZ #10716]
76871         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76872         * math/s_cacoshf.c (__cacoshf): Likewise.
76873         * math/s_cacoshl.c (__cacoshl): Likewise.
76874         * math/s_casinh.c (__casinh): Set signs of result from argument.
76875         * math/s_casinhf.c (__casinhf): Likewise.
76876         * math/s_casinhl.c (__casinhl): Likewise.
76877         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76878         (casinh_test): Add more tests.
76879         * sysdeps/i386/fpu/libm-test-ulps: Update.
76880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76882 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
76884         * po/zh_TW.po: Update from translation team.
76886         * login/Makefile (distribute): Remove variable.
76887         * catgets/Makefile: Likewise.
76888         * mach/Makefile: Likewise.
76889         * malloc/Makefile: Likewise.
76890         * misc/Makefile: Likewise.
76891         * iconv/Makefile: Likewise.
76892         * nscd/Makefile: Likewise.
76893         * hurd/Makefile: Likewise.
76894         * manual/Makefile: Likewise.
76895         * locale/Makefile: Likewise.
76896         * intl/Makefile: Likewise.
76897         * conform/Makefile: Likewise.
76898         * nss/Makefile: Likewise.
76899         * time/Makefile: Likewise.
76900         * soft-fp/Makefile: Likewise.
76901         * dirent/Makefile: Likewise.
76902         * gmon/Makefile: Likewise.
76903         * po/Makefile: Likewise.
76904         * rt/Makefile: Likewise.
76905         * socket/Makefile: Likewise.
76906         * math/Makefile: Likewise.
76907         * signal/Makefile: Likewise.
76908         * debug/Makefile: Likewise.
76909         * elf/Makefile: Likewise.
76910         * timezone/Makefile: Likewise.
76911         * stdlib/Makefile: Likewise.
76912         * iconvdata/Makefile: Likewise.
76913         * sunrpc/Makefile: Likewise.
76914         * io/Makefile: Likewise.
76915         * argp/Makefile: Likewise.
76916         * inet/Makefile: Likewise.
76917         * hesiod/Makefile: Likewise.
76918         * grp/Makefile: Likewise.
76919         * csu/Makefile: Likewise.
76920         * wctype/Makefile: Likewise.
76921         * crypt/Makefile: Likewise.
76922         * libio/Makefile: Likewise.
76923         * string/Makefile: Likewise.
76924         * nis/Makefile: Likewise.
76925         * resolv/Makefile: Likewise.
76926         * stdio-common/Makefile: Likewise.
76927         * wcsmbs/Makefile: Likewise.
76928         * dlfcn/Makefile: Likewise.
76929         * posix/Makefile: Likewise.
76931         [BZ #6959]
76932         * timezone/Makefile: Don't install timezone files, just the programs
76933         and scripts.
76935 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76937         * nss/databases.def: Add missing gshadow entry.
76939         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76941 2012-03-06  Marek Polacek  <polacek@redhat.com>
76943         [BZ #13726]
76944         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76945         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76946         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76947         * stdio-common/tst-long-dbl-fphex.c: New file.
76949 2012-03-06  David S. Miller  <davem@davemloft.net>
76951         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76952         (set_obp_int): New function.
76953         (get_obp_int): New function.
76954         (__get_clockfreq_via_dev_openprom): Likewise.
76955         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76956         Avoid unused variable warnings on 'val' and use builtin_expect.
76957         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76958         __builtin_expect.
76959         (INLINE_CLONE_SYSCALL): Likewise.
76961 2012-03-05  David S. Miller  <davem@davemloft.net>
76963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76965 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76969         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76970         only for |x| >= 40.
76971         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76973 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76975         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76976         Replace gettimeofday with __vdso_gettimeofday.
76978         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76979         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76980         __vdso_clock_gettime and __vdso_getcpu.
76982         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76983         time with __vdso_time.
76985 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76987         * manual/lang.texi (size_t): Note types to which size_t may be
76988         equivalent with the GNU C Library, but do not describe when
76989         differences between them are significant.
76991 2012-03-05  Andreas Jaeger  <aj@suse.de>
76993         * sysdeps/i386/fpu/libm-test-ulps: Update.
76995 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76997         [BZ #3976]
76998         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76999         (__ieee754_pow): Save and restore rounding mode and use
77000         round-to-nearest for main computations.
77001         * math/libm-test.inc (pow_test_tonearest): New function.
77002         (pow_test_towardzero): Likewise.
77003         (pow_test_downward): Likewise.
77004         (pow_test_upward): Likewise.
77005         (main): Call the new functions.
77006         * sysdeps/i386/fpu/libm-test-ulps: Update.
77007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77009         [BZ #3976]
77010         * math/libm-test.inc (cosh_test_tonearest): New function.
77011         (cosh_test_towardzero): Likewise.
77012         (cosh_test_downward): Likewise.
77013         (cosh_test_upward): Likewise.
77014         (sinh_test_tonearest): Likewise.
77015         (sinh_test_towardzero): Likewise.
77016         (sinh_test_downward): Likewise.
77017         (sinh_test_upward): Likewise.
77018         (main): Call the new functions.
77019         * sysdeps/i386/fpu/libm-test-ulps: Update.
77020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77022 2012-03-05  Tom de Vries  <tom@codesourcery.com>
77024         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
77025         default stack guard is set in last bytes.
77026         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
77028 2012-03-05  Kees Cook  <keescook@chromium.org>
77030         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
77032         [BZ #13656]
77033         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
77034         possibly allocate from heap instead of stack.
77035         * stdio-common/bug-vfprintf-nargs.c: New file.
77036         * stdio-common/Makefile (tests): Add nargs overflow test.
77038 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
77040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77042 2012-03-03  Marek Polacek  <polacek@redhat.com>
77044         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
77045         * math/math_private.h: Likewise.
77046         * stdlib/tst-strtod.c: Likewise.
77047         * sysdeps/i386/i486/bits/atomic.h: Likewise.
77048         * sysdeps/x86_64/bits/atomic.h: Likewise.
77050 2012-03-02  David S. Miller  <davem@davemloft.net>
77052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
77053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
77054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
77055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
77056         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
77057         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
77058         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
77059         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
77061 2012-03-02  Roland McGrath  <roland@hack.frob.com>
77063         [BZ #13792]
77064         * manual/examples/README: New file, says the example source files
77065         can be used under GPL>=2.
77066         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
77067         line containing just "*/".
77068         * manual/examples/add.c: Add copyright header (GPL>=2).
77069         * manual/examples/argp-ex1.c: Likewise.
77070         * manual/examples/argp-ex2.c: Likewise.
77071         * manual/examples/argp-ex3.c: Likewise.
77072         * manual/examples/argp-ex4.c: Likewise.
77073         * manual/examples/atexit.c: Likewise.
77074         * manual/examples/db.c: Likewise.
77075         * manual/examples/dir.c: Likewise.
77076         * manual/examples/dir2.c: Likewise.
77077         * manual/examples/execinfo.c: Likewise.
77078         * manual/examples/filecli.c: Likewise.
77079         * manual/examples/filesrv.c: Likewise.
77080         * manual/examples/fmtmsgexpl.c: Likewise.
77081         * manual/examples/genpass.c: Likewise.
77082         * manual/examples/inetcli.c: Likewise.
77083         * manual/examples/inetsrv.c: Likewise.
77084         * manual/examples/isockad.c: Likewise.
77085         * manual/examples/longopt.c: Likewise.
77086         * manual/examples/memopen.c: Likewise.
77087         * manual/examples/memstrm.c: Likewise.
77088         * manual/examples/mkfsock.c: Likewise.
77089         * manual/examples/mkisock.c: Likewise.
77090         * manual/examples/mygetpass.c: Likewise.
77091         * manual/examples/pipe.c: Likewise.
77092         * manual/examples/popen.c: Likewise.
77093         * manual/examples/rprintf.c: Likewise.
77094         * manual/examples/search.c: Likewise.
77095         * manual/examples/select.c: Likewise.
77096         * manual/examples/setjmp.c: Likewise.
77097         * manual/examples/sigh1.c: Likewise.
77098         * manual/examples/sigusr.c: Likewise.
77099         * manual/examples/stpcpy.c: Likewise.
77100         * manual/examples/strdupa.c: Likewise.
77101         * manual/examples/strftim.c: Likewise.
77102         * manual/examples/strncat.c: Likewise.
77103         * manual/examples/subopt.c: Likewise.
77104         * manual/examples/swapcontext.c: Likewise.
77105         * manual/examples/termios.c: Likewise.
77106         * manual/examples/testopt.c: Likewise.
77107         * manual/examples/testpass.c: Likewise.
77108         * manual/examples/timeval_subtract.c: Likewise.
77110         [BZ #13792]
77111         * manual/time.texi (Elapsed Time): Move timeval_subtract example
77112         function to ...
77113         * manual/timeval_subtract.c.texi: ... here, new file.
77115 2012-03-02  David S. Miller  <davem@davemloft.net>
77117         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77119 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
77121         [BZ #3976]
77122         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77123         (__sin): Save and restore rounding mode and use round-to-nearest
77124         for all computations.
77125         (__cos): Save and restore rounding mode and use round-to-nearest
77126         for all computations.
77127         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77128         <fenv.h>.
77129         (tan): Save and restore rounding mode and use round-to-nearest for
77130         all computations.
77131         * math/libm-test.inc (cos_test_tonearest): New function.
77132         (cos_test_towardzero): Likewise.
77133         (cos_test_downward): Likewise.
77134         (cos_test_upward): Likewise.
77135         (sin_test_tonearest): Likewise.
77136         (sin_test_towardzero): Likewise.
77137         (sin_test_downward): Likewise.
77138         (sin_test_upward): Likewise.
77139         (tan_test_tonearest): Likewise.
77140         (tan_test_towardzero): Likewise.
77141         (tan_test_downward): Likewise.
77142         (tan_test_upward): Likewise.
77143         (main): Call the new functions.
77144         * sysdeps/i386/fpu/libm-test-ulps: Update.
77145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77147         [BZ #10135]
77148         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77149         small n, then large n, before computing and testing k+n.
77150         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77151         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77152         Likewise.
77153         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77154         Likewise.
77155         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77156         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77157         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77158         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77159         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77160         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77161         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77162         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77163         * math/libm-test.inc (scalbn_test): Add more tests.
77164         (scalbln_test): Likewise.
77166         * manual/filesys.texi (mode_t): Describe constraints on size and
77167         signedness, not exact equivalence to a particular type.
77168         (ino_t): Likewise.
77169         (ino64_t): Likewise.
77170         (dev_t): Likewise.
77171         (nlink_t): Likewise.
77172         (blkcnt_t): Likewise.
77173         (blkcnt64_t): Likewise.
77174         * manual/llio.texi (off_t): Likewise.
77176         [BZ #3976]
77177         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77178         (__ieee754_exp): Save and restore rounding mode and use
77179         round-to-nearest for all computations.
77180         * math/libm-test.inc (exp_test_tonearest): New function.
77181         (exp_test_towardzero): Likewise.
77182         (exp_test_downward): Likewise.
77183         (exp_test_upward): Likewise.
77184         (main): Call the new functions.
77185         * sysdeps/i386/fpu/libm-test-ulps: Update.
77186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77188 2012-03-01  Chris Demetriou  <cgd@google.com>
77190         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77191         have predictable order.
77193 2012-03-01  David S. Miller  <davem@davemloft.net>
77195         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77197         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77198         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77199         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77200         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77202         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77203         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77204         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77206         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77207         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77208         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77209         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77210         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77214         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77215         * sysdeps/sparc/fpu/libm-test-ulps: to here.
77216         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77218         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77219         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77220         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77221         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77222         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77223         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77224         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77225         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77226         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77227         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77228         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77229         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77231         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77232         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77234         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77235         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77236         * sysdeps/sparc/elf/configure: Regenerated.
77238 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
77240         * configure.in (AS, LD): Require binutils 2.20 or later.
77241         * configure: Regenerated.
77242         * manual/install.texi (Tools for Compilation): Give binutils 2.20
77243         as required minimum version.
77244         * INSTALL: Regenerated.
77246         [BZ #2541]
77247         [BZ #4108]
77248         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77249         before squaring exponent.
77250         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77251         bottom long double and 27 bits of top long double before squaring
77252         exponent.
77253         * math/libm-test.inc (erfc_test): Add more tests.
77254         * sysdeps/i386/fpu/libm-test-ulps: Update.
77255         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77258 2012-03-01  Kai Tietz  <ktietz@redhat.com>
77260         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77261         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77262         containing bit-fields.
77263         * soft-fp/extended.h (_FP_UNION_E): Likewise.
77264         * soft-fp/single.h (_FP_UNION_S): Likewise.
77265         * soft-fp/double.h (_FP_UNION_D): Likewise.
77267 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77269         [BZ #13786]
77270         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77271         not include ../strcmp.S.
77272         [USE_AS_STRNCASECMP_L]: Likewise.
77273         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77274         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77275         * sysdeps/i386/i686/multiarch/strncase_l-c.c
77276         (__strncasecmp_l_ia32): Define as alias to
77277         __strncasecmp_l_nonascii.
77279         [BZ #5794]
77280         * math/libm-test.inc (expm1_test): Add test for bug 5794.
77281         * sysdeps/i386/fpu/libm-test-ulps: Update.
77282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77284         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77287 2012-02-29  Jeff Law  <law@redhat.com>
77289         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77290         out of bounds read.
77292 2012-02-29  Marek Polacek  <polacek@redhat.com>
77294         [BZ #13706]
77295         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77296         * elf/Makefile: Add rules to run tst-unused-dep.out.
77298 2012-02-28  David S. Miller  <davem@davemloft.net>
77300         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77301         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77302         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77303         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77304         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77305         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77307 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77309         * math/libm-test.inc (llround_test): Move one test from
77310         lround_test.  Use TEST_f_L in moved test.
77311         (lround_test): Move misplaced test to llround_test.  Add testcase
77312         from bug 2561.
77314 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
77316         * sysdeps/x86_64/fpu/e_expf.S: New file.
77317         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77319 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
77321         [BZ #13637]
77322         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77323         of remain_len that may cause incomplete multi-byte character and
77324         false match.
77325         * posix/bug-regex33.c: New file.
77326         * posix/Makefile (tests): Add bug-regex33.
77328 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
77330         * manual/macros.texi: New file.
77331         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77332         * manual/libc.texinfo: Include macros.texi.
77333         * manual/creatute.texi: Likewise.
77334         * manual/install.texi: Likewise.
77335         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77336         @glibcadj{} in references to the GNU C Library.
77337         * manual/charset.texi: Likewise.
77338         * manual/conf.texi: Likewise.
77339         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
77340         when not using those macros.
77341         * manual/creature.texi: Likewise.
77342         * manual/crypt.texi: Likewise.
77343         * manual/errno.texi: Likewise.
77344         * manual/filesys.texi: Likewise.
77345         * manual/header.texi: Likewise.
77346         * manual/install.texi: Likewise.
77347         * manual/intro.texi: Likewise.
77348         * manual/io.texi: Likewise.
77349         * manual/job.texi: Likewise.
77350         * manual/lang.texi: Likewise.
77351         * manual/libc.texiinfo: Likewise.
77352         * manual/llio.texi: Likewise.
77353         * manual/locale.texi: Likewise.
77354         * manual/maint.texi: Likewise.
77355         * manual/math.texi: Likewise.
77356         * manual/memory.texi: Likewise.
77357         * manual/message.texi: Likewise.
77358         * manual/nss.texi: Likewise.
77359         * manual/pattern.texi: Likewise.
77360         * manual/process.texi: Likewise.
77361         * manual/resource.texi: Likewise.
77362         * manual/search.texi: Likewise.
77363         * manual/setjmp.texi: Likewise.
77364         * manual/signal.texi: Likewise.
77365         * manual/socket.texi: Likewise.
77366         * manual/startup.texi: Likewise.
77367         * manual/stdio.texi: Likewise.
77368         * manual/string.texi: Likewise.
77369         * manual/sysinfo.texi: Likewise.
77370         * manual/syslog.texi: Likewise.
77371         * manual/terminal.texi: Likewise.
77372         * manual/time.texi: Likewise.
77373         * manual/users.texi: Likewise.
77374         * INSTALL: Regenerated.
77375         * NOTES: Regenerated.
77376         * sysdeps/gnu/errlist.c: Regenerated.
77378 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
77380         * include/dirent.h: Include <dirstream.h> before
77381         <dirent/dirent.h>.
77383 2012-02-28  David S. Miller  <davem@davemloft.net>
77385         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77386         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77387         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77388         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77390 2012-02-27  David S. Miller  <davem@davemloft.net>
77392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77394         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77395         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77398         frame pointer instead of stack pointer relative arg slot.
77399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77400         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77401         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77403 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
77405         [BZ #3992]
77406         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77408 2012-02-27  David S. Miller  <davem@davemloft.net>
77410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77414         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77415         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77416         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77417         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77419 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77421         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77422         later.  Allow versions 5-9.
77423         * configure: Regenerated.
77424         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77425         required minimum version and 4.6 as recommended version.  Do not
77426         mention bugs in GCC 2.7 and 2.8.
77427         * INSTALL: Regenerated.
77429 2012-02-27  David S. Miller  <davem@davemloft.net>
77431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77435         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77436         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77437         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77438         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77440         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77441         manipulate bits before adding and subtracting TWO112[sx].
77442         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77444 2012-02-27  Roland McGrath  <roland@hack.frob.com>
77446         [BZ #13775]
77447         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77448         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77449         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77450         being in POSIX, because they are in 1003.1-2008.
77452         * rt/tst-aio.c: Include <fcntl.h>.
77453         * rt/tst-aio7.c: Likewise.
77454         * rt/tst-aio64.c: Likewise.
77456         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77458 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77460         * manual/install.texi (--with-headers): Describe headers as
77461         interface headers, not private headers.
77462         (Specific advice for GNU/Linux systems): Describe use of headers
77463         from "make headers_install", not private headers from older
77464         kernels.
77465         * INSTALL: Regenerated.
77466         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77467         Change to 2.6.19.
77468         * sysdeps/unix/sysv/linux/configure: Regenerated.
77470         * manual/llio.texi (fclean): Remove documentation.
77472         * manual/Makefile (libc-texi-generated): New variable.  Include
77473         version.texi.
77474         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77475         $(libc-texi-generated), not duplicated list of files.
77476         (version.texi, stamp-version): New rules.
77477         (realclean): Remove $(libc-texi-generated), not individual files
77478         from that list.  Do not remove dir-add.texinfo.
77479         * manual/libc.texinfo: Comment out uses of edition numbers and
77480         references to printed manual.  Remove last-updated dates.
77481         (EDITION): Comment out.
77482         (ISBN): Likewise.
77483         (VERSION, UPDATED): Remove.
77484         (version.texi): Include.
77486 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
77488         * sysdeps/posix/spawni.c: Include <signal.h>.
77489         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77490         * sysdeps/pthread/aio_fsync.c: Likewise.
77492 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
77494         * conform/Makefile (tests): Run only when not cross-compiling and
77495         when fast-check is not defined.
77497         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77498         * conform/data/limits.h-data: Fixes for POSIX2008.
77499         * conform/run-conformtest.sh: Run all tests.
77500         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77501         headers.
77502         * include/bits/dlfcn.h: Likewise.
77503         * include/langinfo.h: Likewise.
77504         * include/monetary.h: Likewise.
77505         * include/sys/poll.h: Likewise.
77507         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77508         for __USE_GNU.
77509         * posix/spawn.h: Define __need_sigset_t.
77510         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77511         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77512         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
77513         to get sigevent_t only.
77514         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77515         only for __USE_GNU.
77516         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77517         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77518         process_vm_writev only for __USE_GNU.
77519         * termios/termios.h: Declare tcgetsid also for POSIX2008.
77521         * conform/Makefile: For now ignore errors from run-conformtest.
77522         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
77523         POSIX to avoid namespace pollution.  Don't prepend headers.
77524         * conform/data/aio.h-data: Fixes for POSIX testing.
77525         * conform/data/fcntl.h-data: Likewise.
77526         * conform/data/glob.h-data: Likewise.
77527         * conform/data/grp.h-data: Likewise.
77528         * conform/data/pthread.h-data: Likewise.
77529         * conform/data/pwd.h-data: Likewise.
77530         * conform/data/signal.h-data: Likewise.
77531         * conform/data/spawn.h-data: Likewise.
77532         * conform/data/stdio.h-data: Likewise.
77533         * conform/data/stdlib.h-data: Likewise.
77534         * conform/data/stropts.h-data: Likewise.
77535         * conform/data/sys/mman.h-data: Likewise.
77536         * conform/data/sys/stat.h-data: Likewise.
77537         * conform/data/sys/types.h-data: Likewise.
77538         * conform/data/sys/wait.h-data: Likewise.
77539         * conform/data/time.h-data: Likewise.
77540         * conform/data/unistd.h-data: Likewise.
77541         * conform/data/utime.h-data: Likewise.
77543         * io/sys/stat.h: fchmod was always in POSIX.
77544         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77545         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77546         * rt/aio.h: Define __need_timespec before including <time.h>.
77547         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77548         struct.  Add forward declaration of pthread_attr_t and use it in
77549         sigevent.
77550         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77551         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77552         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77553         always remove CLK_TCK definition.
77555 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
77557         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77559 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
77561         * conform/run-conformtest.sh: New file.
77562         * conform/Makefile: Run run-conformtest for tests.
77563         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
77564         support.
77566         * conform/data/uchar.h-data: New file.
77567         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77568         * conform/data/arpa/inet.h-data: Likewise.
77569         * conform/data/assert.h-data: Likewise.
77570         * conform/data/complex.h-data: Likewise.
77571         * conform/data/cpio.h-data: Likewise.
77572         * conform/data/ctype.h-data: Likewise.
77573         * conform/data/dirent.h-data: Likewise.
77574         * conform/data/dlfcn.h-data: Likewise.
77575         * conform/data/errno.h-data: Likewise.
77576         * conform/data/fcntl.h-data: Likewise.
77577         * conform/data/float.h-data: Likewise.
77578         * conform/data/fmtmsg.h-data: Likewise.
77579         * conform/data/fnmatch.h-data: Likewise.
77580         * conform/data/ftw.h-data: Likewise.
77581         * conform/data/glob.h-data: Likewise.
77582         * conform/data/grp.h-data: Likewise.
77583         * conform/data/iconv.h-data: Likewise.
77584         * conform/data/inttypes.h-data: Likewise.
77585         * conform/data/langinfo.h-data: Likewise.
77586         * conform/data/libgen.h-data: Likewise.
77587         * conform/data/limits.h-data: Likewise.
77588         * conform/data/locale.h-data: Likewise.
77589         * conform/data/math.h-data: Likewise.
77590         * conform/data/monetary.h-data: Likewise.
77591         * conform/data/mqueue.h-data: Likewise.
77592         * conform/data/ndbm.h-data: Likewise.
77593         * conform/data/net/if.h-data: Likewise.
77594         * conform/data/netdb.h-data: Likewise.
77595         * conform/data/netinet/in.h-data: Likewise.
77596         * conform/data/nl_types.h-data: Likewise.
77597         * conform/data/poll.h-data: Likewise.
77598         * conform/data/pthread.h-data: Likewise.
77599         * conform/data/pwd.h-data: Likewise.
77600         * conform/data/regex.h-data: Likewise.
77601         * conform/data/sched.h-data: Likewise.
77602         * conform/data/search.h-data: Likewise.
77603         * conform/data/semaphore.h-data: Likewise.
77604         * conform/data/setjmp.h-data: Likewise.
77605         * conform/data/signal.h-data: Likewise.
77606         * conform/data/spawn.h-data: Likewise.
77607         * conform/data/stdarg.h-data: Likewise.
77608         * conform/data/stdio.h-data: Likewise.
77609         * conform/data/stdlib.h-data: Likewise.
77610         * conform/data/string.h-data: Likewise.
77611         * conform/data/strings.h-data: Likewise.
77612         * conform/data/stropts.h-data: Likewise.
77613         * conform/data/sys/ipc.h-data: Likewise.
77614         * conform/data/sys/mman.h-data: Likewise.
77615         * conform/data/sys/msg.h-data: Likewise.
77616         * conform/data/sys/resource.h-data: Likewise.
77617         * conform/data/sys/select.h-data: Likewise.
77618         * conform/data/sys/sem.h-data: Likewise.
77619         * conform/data/sys/shm.h-data: Likewise.
77620         * conform/data/sys/socket.h-data: Likewise.
77621         * conform/data/sys/stat.h-data: Likewise.
77622         * conform/data/sys/statvfs.h-data: Likewise.
77623         * conform/data/sys/time.h-data: Likewise.
77624         * conform/data/sys/timeb.h-data: Likewise.
77625         * conform/data/sys/times.h-data: Likewise.
77626         * conform/data/sys/types.h-data: Likewise.
77627         * conform/data/sys/uio.h-data: Likewise.
77628         * conform/data/sys/un.h-data: Likewise.
77629         * conform/data/sys/utsname.h-data: Likewise.
77630         * conform/data/sys/wait.h-data: Likewise.
77631         * conform/data/syslog.h-data: Likewise.
77632         * conform/data/tar.h-data: Likewise.
77633         * conform/data/termios.h-data: Likewise.
77634         * conform/data/utime.h-data: Likewise.
77635         * conform/data/utmpx.h-data: Likewise.
77636         * conform/data/varargs.h-data: Likewise.
77637         * conform/data/wchar.h-data: Likewise.
77638         * conform/data/wctype.h-data: Likewise.
77639         * conform/data/wordexp.h-data: Likewise.
77641         * include/stropts.h: New file.
77642         * include/uchar.h: New file.
77643         * include/aio.h: Changes to allow conformtest.pl to use the headers.
77644         * include/assert.h: Likewise.
77645         * include/ctype.h: Likewise.
77646         * include/dirent.h: Likewise.
77647         * include/dlfcn.h: Likewise.
77648         * include/fcntl.h: Likewise.
77649         * include/fnmatch.h: Likewise.
77650         * include/glob.h: Likewise.
77651         * include/grp.h: Likewise.
77652         * include/libio.h: Likewise.
77653         * include/locale.h: Likewise.
77654         * include/math.h: Likewise.
77655         * include/net/if.h: Likewise.
77656         * include/netdb.h: Likewise.
77657         * include/netinet/in.h: Likewise.
77658         * include/pthread.h: Likewise.
77659         * include/pwd.h: Likewise.
77660         * include/regex.h: Likewise.
77661         * include/sched.h: Likewise.
77662         * include/search.h: Likewise.
77663         * include/setjmp.h: Likewise.
77664         * include/signal.h: Likewise.
77665         * include/stdio.h: Likewise.
77666         * include/stdlib.h: Likewise.
77667         * include/string.h: Likewise.
77668         * include/sys/cdefs.h: Likewise.
77669         * include/sys/mman.h: Likewise.
77670         * include/sys/msg.h: Likewise.
77671         * include/sys/resource.h: Likewise.
77672         * include/sys/select.h: Likewise.
77673         * include/sys/socket.h: Likewise.
77674         * include/sys/stat.h: Likewise.
77675         * include/sys/statvfs.h: Likewise.
77676         * include/sys/time.h: Likewise.
77677         * include/sys/times.h: Likewise.
77678         * include/sys/uio.h: Likewise.
77679         * include/sys/utsname.h: Likewise.
77680         * include/sys/wait.h: Likewise.
77681         * include/termios.h: Likewise.
77682         * include/time.h: Likewise.
77683         * include/ulimit.h: Likewise.
77684         * include/unistd.h: Likewise.
77685         * include/utime.h: Likewise.
77686         * include/wchar.h: Likewise.
77687         * include/wctype.h: Likewise.
77688         * include/wordexp.h: Likewise.
77690         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77692         * time/time.h: TIME_UTC must be a macro.
77693         Make timespec_get available for ISO C11 only as well.
77695 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
77697         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77698         Reported by Peng Haitao <penght@cn.fujitsu.com>.
77700 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77702         * configure.in: Use -o not -a in test for unsupported multi-arch.
77704 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77706         * manual/texinfo.tex: Update to version 2012-01-19.16.
77708 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77710         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77712 2012-02-24  Roland McGrath  <roland@hack.frob.com>
77714         [BZ #13738]
77715         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77716         * manual/fdl-1.3.texi: New file.
77717         * manual/fdl-1.1.texi: File removed.
77719         [BZ #13738]
77720         * manual/libc.texinfo (FDL_VERSION): New @set.
77721         Use it for mention of FDL in cover text.
77722         (Documentation License): Use it in @include file name.
77724 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77725             Roland McGrath  <roland@hack.frob.com>
77727         [BZ #5461]
77728         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77729         (not LONG_LONG_MAX and LONG_LONG_MIN.
77730         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77731         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
77732         name.
77733         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77735 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77737         [BZ #2547]
77738         [BZ #11365]
77739         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77740         manipulate bits before adding and subtracting TWO23[sx].
77741         * math/libm-test.inc (nearbyint_test): Add more tests.
77743 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77745         [BZ #2548]
77746         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77747         bits before adding and subtracting TWO23[sx].
77748         * math/libm-test.inc (rint_test): Add more tests.
77749         (rint_test_tonearest): Likewise.
77750         (rint_test_towardzero): Likewise.
77751         (rint_test_downward): Likewise.
77752         (rint_test_upward: Likewise.
77754 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77756         [BZ #10110]
77757         * include/stdc-predef.h: New file.  Extracted from features.h.
77758         * include/features.h: Include stdc-predef.h.
77759         * Makefile (headers): Add stdc-predef.h.
77760         * CONFORMANCE (Compiler limitations): Update.
77762 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77764         * manual/libc.texinfo (VERSION, UPDATED): Revert.
77766 2012-02-21  David S. Miller  <davem@davemloft.net>
77768         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77769         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77771 2012-02-20  David S. Miller  <davem@davemloft.net>
77773         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77774         using a normal save/restore sequence, rather than allocating a
77775         dummy stack frame just to store a frame pointer and restore.
77776         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77778 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77780         * manual/install.texi: Fix stray word in line-wrapped comment.
77782 2012-02-20  David S. Miller  <davem@davemloft.net>
77784         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77785         both binutils and gcc support GOTDATA.
77787         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77788         "rd %pc" in the PIC register setup sequences.
77790         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77791         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77792         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77793         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77794         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77796         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77797         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77799         (SYSCALL_ERROR_HANDLER): Likewise.
77800         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77801         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77802         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77803         (SYSCALL_ERROR_HANDLER): Likewise.
77805         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77806         (HAVE_GCC_GOTDATA): New.
77807         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77808         relocation support in both binutils and gcc.
77809         * sysdeps/sparc/elf/configure: Regenerate.
77811         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77812         * sysdeps/sparc/sparc32/elf/configure: Delete.
77813         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77814         * sysdeps/sparc/sparc64/elf/configure: Delete.
77815         * sysdeps/sparc/elf/configure.in: New file.
77816         * sysdeps/sparc/elf/configure: Generate.
77818         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77819         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77820         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77821         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77822         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77824 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77826         * manual/install.texi: Do not mention specific glibc version
77827         numbers.
77828         * manual/libc.texinfo (VERSION, UPDATED): Update.
77829         (@copying): Use @copyright{} and range of years.
77831 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77833         [BZ #13695]
77834         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77835         [crti.S not in sysdirs] (generated): Do not append.
77836         [crti.S not in sysdirs] (omit-deps): Likewise.
77837         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77838         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77839         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77840         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77841         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77842         Likewise.
77843         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77844         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77845         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77846         * csu/defs.awk: Remove file.
77847         * sysdeps/generic/initfini.c: Likewise.
77848         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77849         variable.
77850         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77851         Likewise.
77853 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77855         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77856         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77857         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77858         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77859         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77860         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77861         <bits/epoll.h>.
77862         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77863         (__EPOLL_PACKED): Define to empty if not defined by
77864         <bits/epoll.h>.
77865         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77866         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77867         bits/epoll.h.
77869 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77871         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77872         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77873         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77874         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77875         <bits/timerfd.h>.
77876         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77878         bits/timerfd.h.
77880 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77882         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77883         in C locale.
77884         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77885         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77886         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77889 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
77891         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77892         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77894 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
77896         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77897         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77898         defined.
77899         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77900         Likewise.
77901         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77902         entry for 2.16.
77904 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77906         * math/w_acos.c: Use non-signaling floating-point comparisons.
77907         * math/w_acosf.c: Likewise.
77908         * math/w_acosh.c: Likewise.
77909         * math/w_acoshf.c: Likewise.
77910         * math/w_acoshl.c: Likewise.
77911         * math/w_acosl.c: Likewise.
77912         * math/w_asin.c: Likewise.
77913         * math/w_asinf.c: Likewise.
77914         * math/w_asinl.c: Likewise.
77915         * math/w_atanh.c: Likewise.
77916         * math/w_atanhf.c: Likewise.
77917         * math/w_atanhl.c: Likewise.
77918         * math/w_exp2.c: Likewise.
77919         * math/w_exp2f.c: Likewise.
77920         * math/w_exp2l.c: Likewise.
77921         * math/w_j0.c: Likewise.
77922         * math/w_j0f.c: Likewise.
77923         * math/w_j0l.c: Likewise.
77924         * math/w_j1.c: Likewise.
77925         * math/w_j1f.c: Likewise.
77926         * math/w_j1l.c: Likewise.
77927         * math/w_jn.c: Likewise.
77928         * math/w_jnf.c: Likewise.
77929         * math/w_log.c: Likewise.
77930         * math/w_log10.c: Likewise.
77931         * math/w_log10f.c: Likewise.
77932         * math/w_log10l.c: Likewise.
77933         * math/w_log2.c: Likewise.
77934         * math/w_log2f.c: Likewise.
77935         * math/w_log2l.c: Likewise.
77936         * math/w_logf.c: Likewise.
77937         * math/w_logl.c: Likewise.
77938         * math/w_sqrt.c: Likewise.
77939         * math/w_sqrtf.c: Likewise.
77940         * math/w_sqrtl.c: Likewise.
77941         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77942         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77943         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77944         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77945         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77947 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77949         [BZ #9739]
77950         * manual/string.texi (strnlen): Use correct parameter name in
77951         equivalent expression.
77953 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77955         [BZ #11174]
77956         * manual/users.texi (seteuid): Consistently use neweuid for
77957         argument name.
77959 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77961         [BZ #13704]
77962         * manual/nss.texi (Services in the NSS configuration): Correct
77963         list of services in example configuration file.
77965 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77967         [BZ #11322]
77968         * manual/arith.texi: Remove statements about negative zero
77969         behaving identically to zero.
77971 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77973         [BZ #5993]
77974         * manual/install.texi: Do not document upgrading from libc5.
77976 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77978         [BZ #4596]
77979         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77981 2012-02-18  David S. Miller  <davem@davemloft.net>
77983         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77984         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77985         %o7 across the call.
77986         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77987         instead.
77988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77989         SETUP_PIC_REG_LEAF.
77990         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77991         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77992         * sysdeps/sparc/crtn.S: Likewise.
77994 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77996         * aout/Makefile: Remove.
77998 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
78000         [BZ #13058]
78001         * manual/examples/argp-ex1.c (main): Format definition in GNU
78002         style.
78003         * manual/examples/argp-ex2.c (main): Likewise.
78004         * manual/examples/argp-ex3.c (main): Likewise.
78005         * manual/examples/argp-ex4.c (main): Likewise.
78006         * manual/examples/longopt.c (main): Use new-style prototype
78007         definition.
78008         * manual/examples/strncat.c (main): Specify return type and use
78009         (void) for arguments.
78010         * manual/examples/subopt.c (main): Use char **argv argument.
78012 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78014         [BZ #5077]
78015         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
78016         rounding modes.
78018 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
78020         [BZ #6907]
78021         * manual/string.texi (strchr): Change when strchrnul is
78022         recommended.
78024 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
78026         [BZ #174]
78027         * manual/locale.texi (setlocale): Document LOCPATH.
78029 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78031         [BZ #10210]
78032         * manual/process.texi (execle): Move @dots{} before last argument.
78034 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
78036         [BZ #12047]
78037         * manual/charset.texi (Generic Charset Conversion): Fix typo
78038         (LC_TYPE -> LC_CTYPE).
78040 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
78042         [BZ #5805]
78043         * manual/arith.texi (scalbn): Use @var{} on parameter names.
78044         (scalbnf): Likewise.
78045         (scalbnl): Likewise.
78046         (scalbln): Likewise.
78047         (scalblnf): Likewise.
78048         (scalblnl): Likewise.
78049         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
78050         (vwarnx): Likewise.
78051         (verr): Likewise.
78052         (verrx): Likewise.
78053         * manual/filesys.texi (telldir): Use braces around return type.
78054         * manual/llio.texi (mmap): Add space after comma.
78055         (mmap64): Likewise.
78056         * manual/math.texi (jn): Use @var{} on parameter names.
78057         (jnf): Likewise.
78058         (jnl): Likewise.
78059         (yn): Likewise.
78060         (ynf): Likewise.
78061         (ynl): Likewise.
78062         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
78063         line.
78064         * manual/resource.texi (ulimit): Use @dots{} instead of literal
78065         "...".
78066         (sched_get_priority_min): Remove semicolon on @deftypefun line.
78067         (sched_get_priority_max): Likewise.
78068         * manual/signal.texi (sigvec): Add space after comma.
78069         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
78070         names.
78071         (if_indextoname): Likewise.
78072         (if_freenameindex): Likewise.
78073         (sendto): Use ',' instead of '.' in prototype.
78074         * manual/startup.texi (syscall): Use @dots{} instead of literal
78075         "...".
78076         * manual/stdio.texi (__fpending): Separate initial words of
78077         paragraph from @deftypefun line.
78078         * manual/syslog.texi (syslog): Use @dots{} instead of literal
78079         "...".
78080         (vsyslog): Use @var{} on parameter names.
78081         * manual/terminal.texi (stty): Use @var{} on parameter names.
78082         * manual/users.texi (getutmp): Use @var{} on parameter names.
78083         (getutmpx): Likewise.
78085 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78087         [BZ #6884]
78088         * manual/stdio.texi (fopen): Fix typos in description of
78089         ",ccs=STRING".
78091 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
78093         [BZ #4026]
78094         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
78095         get clock_id definition.
78097 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
78099         [BZ #4822]
78100         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
78101         (madvise): Cast every argument to void on its own.
78103 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78105         [BZ #9902]
78106         * manual/startup.texi (Exit Status): Fix typo.
78108 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78110         [BZ #10140]
78111         * manual/examples/argp-ex1.c: Include <stdlib.h>.
78112         * manual/examples/argp-ex2.c: Likewise.
78113         * manual/examples/argp-ex3.c: Likewise.
78115 2012-02-16  Richard Henderson  <rth@redhat.com>
78117         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78118         * sysdeps/s390/s390-32/initfini.c: Remove.
78119         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78120         * sysdeps/s390/s390-64/initfini.c: Remove.
78122 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78124         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78125         compiler output for sysdeps/generic/initfini.c.
78126         * sysdeps/sh/elf/initfini.c: Remove file.
78128 2012-02-16  David S. Miller  <davem@davemloft.net>
78130         [BZ #11494]
78131         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78133         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78134         * sysdeps/sparc/crti.S: New file.
78135         * sysdeps/sparc/crtn.S: New file.
78136         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78137         * sysdeps/sparc/sparc64/Makefile: Likewise.
78139 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
78141         [BZ #3335]
78142         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78144 2012-02-15  Roland McGrath  <roland@hack.frob.com>
78146         [BZ #4822]
78147         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78149         * mach/devstream.c (cookie_io_functions_t): Macro removed.
78150         (write, read, close): Likewise.
78151         Patch by Aurelien Jarno <aurelien@aurel32.net>.
78153 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
78155         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78156         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78157         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78158         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78159         <bits/signalfd.h>.
78160         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78162         bits/signalfd.h.
78164 2012-02-14  Marek Polacek  <polacek@redhat.com>
78166         * sysdeps/x86_64/crti.S: New file.
78167         * sysdeps/x86_64/crtn.S: New file.
78168         * sysdeps/x86_64/elf/initfini.c: Remove file.
78170 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78172         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78173         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78174         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78175         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78176         <bits/inotify.h>.
78177         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78179         bits/inotify.h.
78181 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78183         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78184         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78185         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78186         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78187         <bits/eventfd.h>.
78188         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78190         bits/eventfd.h.
78192 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
78194         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78195         __feraiseexcept instead of feraiseexcept.
78197         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78198         nanosleep invocations.
78199         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78200         strings, and add error checking for a nanosleep invocations.
78202 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
78204         Replace FSF snail mail address with URLs, as per GNU coding standards.
78205         Most of the snail mail addresses were wrong anyway, and omitting
78206         them makes the source code easier to maintain.  Almost all of the
78207         changes are to license notices and to locale LC_IDENTIFICATION
78208         addresses, except for this one:
78209         * manual/libc.texinfo: In "Published by", give the FSF's URL,
78210         not its snail mail address.
78212 2012-02-09  Richard Henderson  <rth@twiddle.net>
78214         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78215         of kernel-features.h.
78217         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78219 2012-02-08  Marek Polacek  <polacek@redhat.com>
78221         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78222         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78223         * sysdeps/gnu/_G_config.h: Likewise.
78224         * sysdeps/generic/_G_config.h: Likewise.
78226 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
78228         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78229         tests.
78230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78232         * sysdeps/powerpc/powerpc32/crti.S: New file.
78233         * sysdeps/powerpc/powerpc32/crtn.S: New file.
78234         * sysdeps/powerpc/powerpc64/crti.S: New file.
78235         * sysdeps/powerpc/powerpc64/crtn.S: New file.
78237         * Makeconfig (have-initfini): Don't set.
78238         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78239         * configure.in (nopic_initfini): Don't substitute.
78240         * config.h.in (HAVE_INITFINI): Don't #undef.
78241         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78242         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78244 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
78246         Support crti.S and crtn.S provided directly by architectures.
78247         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78248         [crti.S in sysdirs] (omit-deps): Likewise.
78249         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78250         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78251         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78252         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78253         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78254         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78255         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78256         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78257         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78258         compiler output for sysdeps/generic/initfini.c.
78259         * sysdeps/i386/elf/Makefile: Remove file.
78260         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78262 2012-02-07  Marek Polacek  <polacek@redhat.com>
78264         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78265         * sysdeps/gnu/_G_config.h: Likewise.
78266         * sysdeps/mach/hurd/_G_config.h: Likewise.
78268 2012-02-07  Marek Polacek  <polacek@redhat.com>
78270         * math/Makefile (tests): Add tst-CMPLX2.
78271         * math/tst-CMPLX2.c: New file.
78273 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
78275         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78277         * math/libm-test.inc (jn_test): Add missing L suffix.
78279 2012-02-06  Marek Polacek  <polacek@redhat.com>
78281         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78282         * sysdeps/i386/fpu/e_powf.S: Likewise.
78283         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78284         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78285         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78286         * sysdeps/i386/fpu/e_pow.S: Likewise.
78287         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78288         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78289         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78290         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78291         * sysdeps/i386/fpu/e_log2.S: Likewise.
78292         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78293         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78294         * sysdeps/i386/fpu/e_powl.S: Likewise.
78295         * sysdeps/i386/fpu/s_log1p.S: Likewise.
78296         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78297         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78298         * sysdeps/i386/fpu/e_logl.S: Likewise.
78299         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78300         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78301         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78302         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78303         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78304         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78305         * sysdeps/i386/fpu/e_log.S: Likewise.
78306         * sysdeps/i386/fpu/s_cexp.S: Likewise.
78307         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78308         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78309         * sysdeps/i386/fpu/e_logf.S: Likewise.
78310         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78311         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78312         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78313         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78314         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78315         * sysdeps/i386/fpu/e_log10.S: Likewise.
78316         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78317         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78318         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78319         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78320         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78321         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78322         * sysdeps/i386/asm-syntax.h: Likewise.
78323         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78324         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78325         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78326         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78327         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78328         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78329         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78330         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78331         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78332         * sysdeps/powerpc/sysdep.h: Likewise.
78333         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78334         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78336 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78338         [BZ #411]
78339         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78341 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78343         * sysdeps/i386/sysdep.h: Include <features.h>.
78344         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78345         version.
78347 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
78349         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78350         Define.
78351         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78352         LOAD_PIC_REG_STR.
78354 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78356         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78357         (SETUP_PIC_REG): Use GET_PC_THUNK.
78358         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78359         macro.
78361 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78363         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78364         for non-PIC compilation.
78365         (SETUP_PIC_REG): Add .p2align directive.
78366         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78367         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78368         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78369         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78370         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78371         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78372         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78373         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78374         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78375         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78376         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78377         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78378         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78379         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78380         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78381         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78382         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78383         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78384         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78385         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78386         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78387         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78388         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78389         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78390         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78391         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78392         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78393         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78394         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78395         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78396         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78397         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78398         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78399         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78400         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78401         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78402         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78403         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78404         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78405         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78406         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78408 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78410         * math/tst-CMPLX.c: Include <stdio.h>.
78412 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
78414         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78415         float.
78416         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78417         * sysdeps/sparc/bits/mathdef.h: Likewise.
78419 2012-01-31  Marek Polacek  <polacek@redhat.com>
78421         * libio/libio.h: Don't define _PARAMS.
78422         * locale/programs/config.h: Don't define PARAMS.
78423         * stdlib/strtol_l.c: Likewise.
78424         (__strtol_l): Remove PARAMS from the prototype.
78426 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
78428         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
78429         names.  Just use the correct names.  Remove unnecessary wrapper
78430         functions.
78431         * malloc/arena.c: Likewise.
78432         * malloc/hooks.c: Likewise.
78434         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78435         ARENA_TEST says not to.  Simplify test for creation of a new arena.
78436         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78438 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
78440         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78441         into tail calls.
78442         (update_get_addr): New function.
78443         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78444         GET_ADDR_MODULE parameter.
78446 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78448         * crypt/cert.c: Remove __STDC__ conditionals.
78449         * crypt/crypt-entry.c: Likewise.
78450         * crypt/crypt_util.c: Likewise.
78451         * libio/filedoalloc.c: Likewise.
78452         * libio/fileops.c: Likewise.
78453         * libio/genops.c: Likewise.
78454         * libio/iofclose.c: Likewise.
78455         * libio/iofdopen.c: Likewise.
78456         * libio/iofopen.c: Likewise.
78457         * libio/iofopen64.c: Likewise.
78458         * libio/iogetdelim.c: Likewise.
78459         * libio/iopopen.c: Likewise.
78460         * libio/obprintf.c: Likewise.
78461         * libio/oldfileops.c: Likewise.
78462         * libio/oldiofclose.c: Likewise.
78463         * libio/oldiofdopen.c: Likewise.
78464         * libio/oldiofopen.c: Likewise.
78465         * libio/oldiopopen.c: Likewise.
78466         * libio/wfiledoalloc.c: Likewise.
78467         * libio/wgenops.c: Likewise.
78468         * locale/programs/xmalloc.c: Likewise.
78469         * misc/syslog.c: Likewise.
78470         * stdio-common/xbug.c: Likewise.
78471         * string/memchr.c: Likewise.
78472         * string/memcmp.c: Likewise.
78473         * string/memrchr.c: Likewise.
78474         * string/rawmemchr.c: Likewise.
78475         * sysdeps/posix/getcwd.c: Likewise.
78476         * time/strftime_l.c: Likewise.
78478 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78480         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78481         * config.make.in (config-cflags-sse2avx): Define.
78482         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78483         Fix typo.
78485 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
78487         * scripts/config.guess: Update from upstream config git repository.
78488         * scripts/config.sub: Likewise.
78490 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
78492         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78493         (EM_NUM): Update.
78494         (R_TILEPRO_*, R_TILEGX_*): New macros.
78496         * scripts/firstversions.awk: Fix bug in version range handling.
78498         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78500         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78502         * include/sys/epoll.h: New file.
78503         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78504         libc_hidden_def.
78506 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
78508         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78509         Avoid unnecessary __WORDSIZE == 64 test.
78510         (fmaxf): Use VEX format if possible.
78511         (fmax): Likewise.
78512         (fminf): Likewise.
78513         (fmin): Likewise.
78515         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78516         * math/math_private.h: Remove libc_fegetround* and
78517         libc_fesetround*.
78518         * sysdeps/i386/configure.in: Check for -msse2avx.
78519         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78520         also if SSE2AVX is defined.
78521         Remove libc_fegetround* and libc_fesetround*.
78522         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78523         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
78524         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78525         of HAS_YMM_USABLE.
78526         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78527         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78528         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78529         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78530         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78532         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78534 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78536         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78537         size is not set.
78538         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78540 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
78542         [BZ #13618]
78543         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78544         relocation.
78545         * Makeconfig (libm): Define.
78546         * elf/Makefile: Add rules to build and run tst-relsort1.
78547         * elf/tst-relsort1.c: New file.
78548         * elf/tst-relsort1mod1.c: New file.
78549         * elf/tst-relsort1mod2.c: New file.
78551 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
78553         * math/s_ldexp.c: Remove __STDC__ conditionals.
78554         * math/s_ldexpf.c: Likewise.
78555         * math/s_ldexpl.c: Likewise.
78556         * math/s_nextafter.c: Likewise.
78557         * math/s_nexttowardf.c: Likewise.
78558         * math/s_significand.c: Likewise.
78559         * math/s_significandf.c: Likewise.
78560         * math/s_significandl.c: Likewise.
78561         * math/w_jnl.c: Likewise.
78562         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78563         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78564         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78565         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78566         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78567         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78568         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78569         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78570         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78571         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78572         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78573         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78574         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78575         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78576         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78577         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78578         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78579         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78581         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78582         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78583         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78584         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78585         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78586         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78587         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78588         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78589         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78590         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78591         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78592         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78593         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78594         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78595         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78596         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78597         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78598         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78599         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78600         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78601         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78602         * sysdeps/ieee754/k_standard.c: Likewise.
78603         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78604         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78605         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78606         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78607         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78608         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78609         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78610         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78611         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78612         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78613         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78614         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78615         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78616         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78617         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78618         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78619         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78620         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78621         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78622         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78623         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78624         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78625         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78626         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78627         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78628         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78629         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78630         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78631         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78632         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78633         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78634         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78635         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78636         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78637         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78638         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78639         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78640         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78641         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78642         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78643         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78644         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78645         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78646         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78647         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78648         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78650         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78651         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78652         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78653         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78654         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78655         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78656         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78657         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78658         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78659         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78660         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78661         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78662         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78663         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78664         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78665         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78666         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78667         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78668         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78669         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78670         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78671         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78672         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78673         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78674         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78675         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78676         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78677         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78678         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78679         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78680         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78681         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78682         * sysdeps/ieee754/s_matherr.c: Likewise.
78683         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78684         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78686         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78688 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78690         * crypt/md5.h: Remove __STDC__ conditionals.
78691         * libio/libioP.h: Likewise.
78692         * locale/programs/config.h: Likewise.
78693         * sysdeps/generic/sysdep.h: Likewise.
78694         * sysdeps/i386/asm-syntax.h: Likewise.
78695         * sysdeps/s390/asm-syntax.h: Likewise.
78696         * sysdeps/unix/sysdep.h: Likewise.
78697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78700 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78702         * libio/libio.h: Remove __STDC__ conditionals.
78703         * malloc/obstack.h: Likewise.
78704         * math/complex.h: Likewise.
78705         * math/math.h: Likewise.
78706         * sysdeps/generic/_G_config.h: Likewise.
78707         * sysdeps/gnu/_G_config.h: Likewise.
78708         * sysdeps/mach/hurd/_G_config.h: Likewise.
78709         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78710         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78711         * sysdeps/sparc/bits/mathdef.h: Likewise.
78713 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
78715         [BZ #13583]
78716         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78717         Clean up HAS_* macros.
78718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78719         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78720         possible.
78721         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78722         HAS_AVX.
78723         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78724         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78725         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78726         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78727         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78729 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
78731         * elf/tst-unique3.cc (gets): Remove declaration.
78732         * elf/tst-unique3lib.cc (gets): Likewise.
78733         * elf/tst-unique3lib2.cc (gets): Likewise.
78734         * elf/tst-unique4.cc (gets): Likewise.
78736 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
78738         * include/stdio.h: Add C++ protection.  Add gets declarations and
78739         definitions.
78740         * debug/tst-chk1.c: Don't declare gets here.
78741         * stdio-common/tst-gets.c: Likewise.
78743 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78745         * posix/glob: Remove directory.
78747 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78749         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78751 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
78753         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78754         of the non-standard EPFNOSUPPORT.
78756 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78758         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78759         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78760         ANYWHERE set to 1 only on KERN_NO_SPACE error.
78762 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
78764         * wcsmbs/uchar.h: Test __STDC_VERSION__.
78766 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
78768         * nscd/aicache.c (addhstaiX): Do not cache negative results of
78769         transient errors.
78770         * nscd/grpcache.c (cache_addgr): Likewise.
78771         * nscd/hstcache.c (cache_addhst): Likewise.
78772         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78773         * nscd/pwdcache.c (cache_addpw): Likewise.
78774         * nscd/servicescache.c (cache_addserv): Likewise.
78776 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
78778         * malloc/malloc.c: Various cleanups.
78779         * malloc/hooks.c: Likewise.
78781         * stdlib/Makefile (tests): Add bug-fmtmsg1.
78782         * stdlib/bug-fmtmsg1.c: New file.
78784         * stdlib/fmtmsg.c (init): Add missing unlock.
78785         Patch by Peng Haitao <penght@cn.fujitsu.com>.
78787 2012-01-12  Marek Polacek  <polacek@redhat.com>
78789         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78790         and _GNU_SOURCE.
78792 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78794         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78795         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78796         macro to ensure uniqueness of label name.
78797         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78798         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78800 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
78802         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78804         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78805         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78806         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78807         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78809 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
78811         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78813         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78814         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78815         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78817         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78819         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78820         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78821         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78822         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78824         * math/bits/math-finite.h: Add ldexp support.
78826 2012-01-10  Marek Polacek  <polacek@redhat.com>
78828         * locale/programs/localedef.h (show_archive_content): Add noreturn
78829         attribute.
78831 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
78833         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78835 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78837         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78839         * io/Makefile (headers): Add bits/poll2.h.
78841 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
78843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78844         typo #include statement.
78846 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78848         * include/sys/cdefs.h: Define __attribute_alloc_size.
78849         * catgets/gencat.c: Add alloc_size attribute and apply consistently
78850         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78851         * elf/pldd.c: Likewise.
78852         * iconv/iconv_charmap.c: Likewise.
78853         * iconv/iconvconfig.c: Likewise.
78854         * iconv/strtab.c: Likewise.
78855         * locale/programs/locale.c: Likewise.
78856         * locale/programs/localedef.h: Likewise.
78857         * locale/programs/simple-hash.c: Likewise.
78858         * nscd/nscd.h: Likewise.
78859         * nss/makedb.c: Likewise.
78860         * sysdeps/generic/ldconfig.h: Likewise.
78861         * locale/programs/localedef.c: Remove xmalloc prototype.
78862         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78864 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78866         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78867         appropriate.
78869 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78871         * math/Makefile (tests): Add tst-CMPLX.
78872         * math/tst-CMPLX.c: New file.
78874         * math/complex.h (CMPLXL): Fix typo.
78876         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78877         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78878         GLIBC_2.16.
78879         * debug/tst-chk1.c: Add poll and ppoll tests.
78880         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78881         * include/sys/poll.h: Add hidden proto for ppoll.
78882         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78883         * sysdeps/mach/hurd/ppoll.c: Likewise.
78884         * io/ppoll.c: Likewise.
78885         * debug/poll_chk.c: New file.
78886         * debug/ppoll_chk.c: New file.
78887         * include/bits/poll2.h: New file.
78888         * io/bits/poll2.h: New file.
78890         [BZ #1350]
78891         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78893         * configure.in: static is always set to yes.  Remove.
78894         * config.make.in: Don't set build-static.
78895         * Makeconfig: Remove use of build-static.
78896         * dlfcn/Makefile: Likewise.
78897         * elf/Makefile: Likewise.
78898         * math/Makefile: Likewise.
78899         * misc/Makefile: Likewise.
78900         * nptl/Makefile: Likewise.
78901         * sysdeps/mach/hurd/Makefile: Likewise.
78903         * configure.in: PWD_P is not used anymore.
78904         * config.make.in: Remove PWD_P entry.
78906         * configure.in: Remove last remnants of RANLIB.
78907         No need to check for signed size_t anymore.
78908         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78909         and IA-64.
78910         Remove __builtin_expect test because we require at least gcc 3.4.
78911         * aclocal.m4: Likewise.
78913         * wcsmbs/mbrtoc16.c: Implement using towc function.
78914         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78915         * wcsmbs/wcsmbsload.c: Likewise.
78916         * iconv/gconv_simple.c: Likewise.
78917         * iconv/gconv_int.h: Likewise.
78918         * iconv/gconv_builtin.h: Likewise.
78919         * iconv/iconv_prog.c: Remove CHAR16 handling.
78921         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78923         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78925         * configure.in: Remove --with-elf and --enable-bounded options.
78926         Dont set base_machine for ia64.  More non-ELF conditions removed.
78927         Remove testing and setting of leading underscore information.
78928         * config.make.in (build-bounded): Set to no.
78929         * config.h.in: Remove NO_UNDERSCORES entry.
78930         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78931         them.
78932         * csu/start.c: Remove !NO_UNDERSCORE code.
78933         * locale/localeinfo.h: Likewise.
78934         * sysdeps/generic/machine-gmon.h: Likewise.
78935         * sysdeps/generic/sysdep.h: Likewise.
78936         * sysdeps/i386/sysdep.h: Likewise.
78937         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78938         * sysdeps/mach/sysdep.h: Likewise.
78939         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78940         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78941         * sysdeps/sh/sysdep.h: Likewise.
78942         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78943         * sysdeps/unix/i386/sysdep.S: Likewise.
78944         * sysdeps/unix/sparc/start.c: Likewise.
78945         * sysdeps/unix/sparc/sysdep.S: Likewise.
78946         * sysdeps/unix/sparc/sysdep.h: Likewise.
78947         * sysdeps/unix/start.c: Likewise.
78948         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78949         * sysdeps/x86_64/sysdep.h: Likewise.
78951 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78953         [BZ #13553]
78954         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78955         for non-gcc.
78956         * argp/argp-fmtstream.h: Use const instead __const.
78957         * argp/argp.h: Likewise.
78958         * assert/assert.h: Likewise.
78959         * bits/fenv.h: Likewise.
78960         * bits/sched.h: Likewise.
78961         * bits/sigset.h: Likewise.
78962         * bits/sigthread.h: Likewise.
78963         * catgets/nl_types.h: Likewise.
78964         * conform/data/pthread.h-data: Likewise.
78965         * crypt/crypt-private.h: Likewise.
78966         * crypt/crypt.h: Likewise.
78967         * crypt/crypt_util.c: Likewise.
78968         * ctype/ctype.h: Likewise.
78969         * debug/execinfo.h: Likewise.
78970         * debug/mbsnrtowcs_chk.c: Likewise.
78971         * debug/mbsrtowcs_chk.c: Likewise.
78972         * debug/wcsnrtombs_chk.c: Likewise.
78973         * debug/wcsrtombs_chk.c: Likewise.
78974         * debug/wcstombs_chk.c: Likewise.
78975         * dirent/dirent.h: Likewise.
78976         * dlfcn/dlfcn.h: Likewise.
78977         * elf/neededtest4.c: Likewise.
78978         * grp/grp.h: Likewise.
78979         * gshadow/gshadow.h: Likewise.
78980         * iconv/gconv.h: Likewise.
78981         * iconv/gconv_int.h: Likewise.
78982         * iconv/gconv_simple.c: Likewise.
78983         * iconv/iconv.h: Likewise.
78984         * iconv/loop.c: Likewise.
78985         * iconv/skeleton.c: Likewise.
78986         * include/aio.h: Likewise.
78987         * include/aliases.h: Likewise.
78988         * include/argz.h: Likewise.
78989         * include/arpa/inet.h: Likewise.
78990         * include/assert.h: Likewise.
78991         * include/dirent.h: Likewise.
78992         * include/dlfcn.h: Likewise.
78993         * include/execinfo.h: Likewise.
78994         * include/fcntl.h: Likewise.
78995         * include/fenv.h: Likewise.
78996         * include/glob.h: Likewise.
78997         * include/grp.h: Likewise.
78998         * include/libintl.h: Likewise.
78999         * include/mntent.h: Likewise.
79000         * include/netdb.h: Likewise.
79001         * include/pwd.h: Likewise.
79002         * include/rpc/netdb.h: Likewise.
79003         * include/sched.h: Likewise.
79004         * include/search.h: Likewise.
79005         * include/shadow.h: Likewise.
79006         * include/signal.h: Likewise.
79007         * include/stdio.h: Likewise.
79008         * include/stdlib.h: Likewise.
79009         * include/string.h: Likewise.
79010         * include/sys/socket.h: Likewise.
79011         * include/sys/stat.h: Likewise.
79012         * include/sys/statfs.h: Likewise.
79013         * include/sys/statvfs.h: Likewise.
79014         * include/sys/syslog.h: Likewise.
79015         * include/sys/time.h: Likewise.
79016         * include/sys/uio.h: Likewise.
79017         * include/time.h: Likewise.
79018         * include/unistd.h: Likewise.
79019         * include/utmp.h: Likewise.
79020         * include/wchar.h: Likewise.
79021         * include/wctype.h: Likewise.
79022         * inet/aliases.h: Likewise.
79023         * inet/arpa/inet.h: Likewise.
79024         * inet/netinet/ether.h: Likewise.
79025         * inet/netinet/in.h: Likewise.
79026         * intl/libintl.h: Likewise.
79027         * io/bits/fcntl2.h: Likewise.
79028         * io/fcntl.h: Likewise.
79029         * io/ftw.h: Likewise.
79030         * io/sys/poll.h: Likewise.
79031         * io/sys/stat.h: Likewise.
79032         * io/sys/statfs.h: Likewise.
79033         * io/sys/statvfs.h: Likewise.
79034         * io/utime.h: Likewise.
79035         * libio/bits/stdio.h: Likewise.
79036         * libio/bits/stdio2.h: Likewise.
79037         * libio/libio.h: Likewise.
79038         * libio/libioP.h: Likewise.
79039         * libio/stdio.h: Likewise.
79040         * locale/lc-ctype.c: Likewise.
79041         * locale/locale.h: Likewise.
79042         * login/utmp.h: Likewise.
79043         * malloc/arena.c: Likewise.
79044         * malloc/malloc.c: Likewise.
79045         * malloc/malloc.h: Likewise.
79046         * malloc/mcheck.c: Likewise.
79047         * malloc/mtrace.c: Likewise.
79048         * math/bits/mathcalls.h: Likewise.
79049         * math/fenv.h: Likewise.
79050         * math/math_private.h: Likewise.
79051         * misc/bits/error.h: Likewise.
79052         * misc/bits/syslog.h: Likewise.
79053         * misc/err.h: Likewise.
79054         * misc/error.h: Likewise.
79055         * misc/fstab.h: Likewise.
79056         * misc/mntent.h: Likewise.
79057         * misc/regexp.h: Likewise.
79058         * misc/search.h: Likewise.
79059         * misc/sgtty.h: Likewise.
79060         * misc/sys/mman.h: Likewise.
79061         * misc/sys/syslog.h: Likewise.
79062         * misc/sys/uio.h: Likewise.
79063         * misc/sys/xattr.h: Likewise.
79064         * misc/ttyent.h: Likewise.
79065         * nis/rpcsvc/ypclnt.h: Likewise.
79066         * nss/nss.h: Likewise.
79067         * posix/bits/unistd.h: Likewise.
79068         * posix/fnmatch.h: Likewise.
79069         * posix/glob.h: Likewise.
79070         * posix/sched.h: Likewise.
79071         * posix/spawn.h: Likewise.
79072         * posix/sys/wait.h: Likewise.
79073         * posix/unistd.h: Likewise.
79074         * posix/wordexp.h: Likewise.
79075         * pwd/pwd.h: Likewise.
79076         * resolv/netdb.h: Likewise.
79077         * resource/sys/resource.h: Likewise.
79078         * rt/aio.h: Likewise.
79079         * rt/bits/mqueue2.h: Likewise.
79080         * rt/mqueue.h: Likewise.
79081         * shadow/shadow.h: Likewise.
79082         * signal/signal.h: Likewise.
79083         * socket/send.c: Likewise.
79084         * socket/sendto.c: Likewise.
79085         * socket/sys/socket.h: Likewise.
79086         * stdio-common/printf.h: Likewise.
79087         * stdlib/bits/stdlib.h: Likewise.
79088         * stdlib/fmtmsg.h: Likewise.
79089         * stdlib/monetary.h: Likewise.
79090         * stdlib/stdlib.h: Likewise.
79091         * stdlib/ucontext.h: Likewise.
79092         * streams/stropts.h: Likewise.
79093         * string/argz.h: Likewise.
79094         * string/bits/string2.h: Likewise.
79095         * string/string.h: Likewise.
79096         * string/strings.h: Likewise.
79097         * sunrpc/rpc/auth.h: Likewise.
79098         * sunrpc/rpc/auth_des.h: Likewise.
79099         * sunrpc/rpc/clnt.h: Likewise.
79100         * sunrpc/rpc/netdb.h: Likewise.
79101         * sunrpc/rpc/pmap_clnt.h: Likewise.
79102         * sunrpc/rpc/xdr.h: Likewise.
79103         * sysdeps/generic/inttypes.h: Likewise.
79104         * sysdeps/generic/net/if.h: Likewise.
79105         * sysdeps/generic/sys/swap.h: Likewise.
79106         * sysdeps/gnu/net/if.h: Likewise.
79107         * sysdeps/gnu/utmpx.h: Likewise.
79108         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
79109         * sysdeps/i386/i486/bits/string.h: Likewise.
79110         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
79111         * sysdeps/s390/bits/string.h: Likewise.
79112         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
79113         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79114         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79115         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79116         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79117         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79118         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79119         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79120         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79121         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79122         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79123         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79124         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79125         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79126         * sysdeps/unix/sysv/linux/readv.c: Likewise.
79127         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79128         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79129         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79130         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79131         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79132         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79133         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79134         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79135         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79136         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79137         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79138         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79139         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79140         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79141         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79142         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79143         * sysvipc/sys/ipc.h: Likewise.
79144         * sysvipc/sys/msg.h: Likewise.
79145         * sysvipc/sys/sem.h: Likewise.
79146         * sysvipc/sys/shm.h: Likewise.
79147         * termios/termios.h: Likewise.
79148         * time/sys/time.h: Likewise.
79149         * time/time.h: Likewise.
79150         * wcsmbs/bits/wchar2.h: Likewise.
79151         * wcsmbs/uchar.h: Likewise.
79152         * wcsmbs/wchar.h: Likewise.
79153         * wctype/wctype.h: Likewise.
79155         [BZ #13551]
79156         * Makeconfig: Remove all but ELF support including AIX support.
79157         * Makerules: Likewise.
79158         * config.h.in: Likewise.
79159         * config.make.in: Likewise.
79160         * configure: Likewise.
79161         * configure.in: Likewise.
79162         * csu/Makefile: Likewise.
79163         * csu/version.c: Likewise.
79164         * debug/Makefile: Likewise.
79165         * dlfcn/Makefile: Likewise.
79166         * elf/Makefile: Likewise.
79167         * extra-lib.mk: Likewise.
79168         * iconv/Makefile: Likewise.
79169         * include/libc-symbols.h: Likewise.
79170         * include/shlib-compat.h: Likewise.
79171         * resolv/Makefile: Likewise.
79172         * resolv/res_libc.c: Likewise.
79173         * rt/Makefile: Likewise.
79174         * sysdeps/i386/asm-syntax.h: Likewise.
79175         * sysdeps/i386/sysdep.h: Likewise.
79176         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79177         * sysdeps/mach/sysdep.h: Likewise.
79178         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79179         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79180         * sysdeps/s390/asm-syntax.h: Likewise.
79181         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79182         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79183         * sysdeps/sh/sysdep.h: Likewise.
79184         * sysdeps/unix/sparc/sysdep.h: Likewise.
79185         * sysdeps/wordsize-32/divdi3.c: Likewise.
79186         * sysdeps/x86_64/sysdep.h: Likewise.
79188         * argp/Versions: Remove _argp_unlock_xxx.
79190         [BZ #13559]
79191         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
79192         * abilist/libBrokenLocale.abilist: Likewise.
79193         * abilist/libanl.abilist: Likewise.
79194         * abilist/libc.abilist: Likewise.
79195         * abilist/libcrypt.abilist: Likewise.
79196         * abilist/libdl.abilist: Likewise.
79197         * abilist/libm.abilist: Likewise.
79198         * abilist/libnsl.abilist: Likewise.
79199         * abilist/libpthread.abilist: Likewise.
79200         * abilist/libresolv.abilist: Likewise.
79201         * abilist/librt.abilist: Likewise.
79202         * abilist/libthread_db.abilist: Likewise.
79203         * abilist/libutil.abilist: Likewise.
79204         * abilist/libnss_db.abilist: New file.
79206         * scripts/abilist.awk: Add support for indirect functions.
79208         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79210         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79212         * shlib-versions: Remove entries for ports architectures.
79214         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
79215         files in ports.
79216         * elf/stackguard-macros.h: Remove support for IA-64.
79217         * elf/tst-auditmod1.c: Likewise.
79218         * sysdeps/generic/ldsodefs.h: Likewise.
79220         * sysdeps/unix/sysv/linux/configure.in: Ports should define
79221         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79222         configure files.
79224         [BZ #13552]
79225         * configure.in: Remove --enable-omitfp support.
79226         * FAQ.in: Adjust.
79227         * config.make.in: Likewise.
79228         * Makeconfig: Likewise.
79229         * manual/install.texi: Likewise.
79231         In case anyone cares, the IA-64 architecture could move to ports.
79232         * sysdeps/ia64/*: Removed.
79233         * sysdeps/unix/sysv/linux/ia64/*: Removed.
79234         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79236         [BZ #13555]
79237         * configure.in: Remove entries for unsupported architectures.
79239         [BZ #13533]
79240         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79241         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
79242         routines.
79243         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79244         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79245         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
79246         fall back to using wcrtomb.
79247         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79248         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
79249         renaming.
79250         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79251         * wcsmbs/tst-c16c32-1.c: New file.
79253         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79254         local variable.
79256         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79258         * elf/tst-unique3.cc: Add explicit declaration of gets.
79259         * elf/tst-unique3lib.cc: Likewise.
79260         * elf/tst-unique3lib2.cc: Likewise.
79261         * elf/tst-unique4.cc: Likewise.
79263         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79265 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
79267         [BZ #13566]
79268         * assert/assert.h (static_assert): Don't define for C++.
79269         * libio/stdio.h (gets): Do declare for C++ <= C++11.
79270         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79272 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
79274         * iconv/loop.c (single loop): Fix assertion in storing of
79275         remaining bytes.
79277         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79279 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
79281         * posix/getconf.c: Update copyright year.
79282         * nss/getent.c: Likewise.
79283         * nss/makedb.c: Likewise.
79284         * iconv/iconvconfig.c: Likewise.
79285         * iconv/iconv_prog.c: Likewise.
79286         * elf/ldconfig.c: Likewise.
79287         * elf/pldd.c: Likewise.
79288         * elf/sotruss.ksh: Likewise.
79289         * catgets/gencat.c: Likewise.
79290         * csu/version.c: Likewise.
79291         * elf/ldd.bash.in: Likewise.
79292         * elf/sprof.c (print_version): Likewise.
79293         * locale/programs/locale.c: Likewise.
79294         * locale/programs/localedef.c: Likewise.
79295         * login/programs/pt_chown.c: Likewise.
79296         * nscd/nscd.c (print_version): Likewise.
79297         * debug/xtrace.sh: Likewise.
79298         * malloc/memusage.sh: Likewise.
79299         * malloc/mtrace.pl: Likewise.
79300         * debug/catchsegv.sh: Likewise.
79302 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
79304         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79305         pure attribute.
79307 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
79309         [BZ #13533]
79310         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79311         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79312         transformations.
79313         * iconv/gconv_int.h: Likewise.
79314         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79315         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79316         from libc for GLIBC_2.16.
79317         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79318         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79319         * wcsmbs/uchar.h: Really define mbstate_t.
79320         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79321         * wcsmbs/c16rtomb.c: New file.
79322         * wcsmbs/mbrtoc16.c: New file.
79323         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79324         for C/POSIX locale.
79325         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79326         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79328         * wcsmbs/wchar.h: Add missing __restrict.
79330 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79332         [BZ #13532]
79333         * time/Makefile (routines): Add timespec_get.
79334         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79335         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
79336         timespec for ISO C11.
79337         * time/timespec_get.c: New file.
79338         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79339         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79341         [BZ #13531]
79342         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79343         * stdlib/stdlib.h: Declare aligned_alloc.
79344         * Versions.def: Add GLIBC_2.16 for libc.
79345         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79347         [BZ 13527]
79348         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79349         ISO C11.
79351         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79352         code.
79354         [BZ #13528]
79355         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79357         [BZ #13529]
79358         * assert/assert.h (static_assert): Define.
79360         * version.h: Update for 2.16 development version.
79362         [BZ #13526]
79363         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79364         _ISOC11_SOURCE.
79366         * version.h (RELEASE): Bump for 2.15 release.
79367         * include/features.h (__GLIBC_MINOR__): Bump to 15.
79369         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79370         Patch by Marek Polacek <mpolacek@redhat.com>.
79372         * bits/byteswap.h: Protect long long constants with __extension__.
79373         * sysdeps/i386/bits/byteswap.h: Likewise.
79374         * sysdeps/ia64/bits/byteswap.h: Likewise.
79375         * sysdeps/s390/bits/byteswap.h: Likewise.
79376         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79378 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79380         [BZ #13540]
79381         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79382         destination buffer.
79383         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79385 2011-12-23  Marek Polacek  <polacek@redhat.com>
79387         * elf/dl-addr.c (determine_info): Add inline keyword.
79388         * elf/tst-auditmod4b.c (check_avx): Likewise.
79389         * elf/tst-auditmod6b.c (check_avx): Likewise.
79390         * elf/tst-auditmod6c.c (check_avx): Likewise.
79391         * elf/tst-auditmod7b.c (check_avx): Likewise.
79393 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79395         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79396         !__SSE_MATH__.
79398 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79400         [BZ #13540]
79401         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79402         processing for last bytes.
79404 2011-08-06  Bruno Haible  <bruno@clisp.org>
79406         [BZ #13061]
79407         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79408         U+0385, not to U+1FEE.
79410         [BZ #13062]
79411         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79412         entry for U+00A5 U+0301.
79414 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79416         [BZ #13166]
79417         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79418         buffer for the output is too small.
79420         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79421         optimization.
79423         [BZ #13185]
79424         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79425         SSE flags if possible.
79427 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79429         [BZ #13540]
79430         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79431         processing for last bytes.
79433 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
79435         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79436         (syscall-list-default-options, syscall-list-default-condition)
79437         (syscall-list-includes): Define.
79438         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79439         list of ABIs and options and #if conditions for each ABI.  Do not
79440         handle common syscalls between ABIs specially.
79441         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79442         Remove.
79443         (syscall-list-variants, syscall-list-32bit-options)
79444         (syscall-list-32bit-condition, syscall-list-64bit-options)
79445         (syscall-list-64bit-condition): Define.
79446         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79447         (syscall-list-variants, syscall-list-32bit-options)
79448         (syscall-list-32bit-condition, syscall-list-64bit-options)
79449         (syscall-list-64bit-condition): Define.
79450         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79451         Remove.
79452         (syscall-list-variants, syscall-list-32bit-options)
79453         (syscall-list-32bit-condition, syscall-list-64bit-options)
79454         (syscall-list-64bit-condition): Define.
79455         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79456         Remove.
79457         (syscall-list-variants, syscall-list-32bit-options)
79458         (syscall-list-32bit-condition, syscall-list-64bit-options)
79459         (syscall-list-64bit-condition): Define.
79461 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79463         * locale/iso-639.def: Add brx entry.
79465         [BZ #13328]
79466         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79467         Proposed by Mariusz_Cukr <marcukr@op.pl>.
79469         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79470         __feraiseexcept_renamed.
79472 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79474         [BZ #13538]
79475         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79476         EPOLLET with unsigned values.
79477         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79478         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79480         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79481         to large cancellation.
79482         * math/s_cacoshf.c: Likewise.
79483         * math/s_cacoshl.c: Likewise.
79485 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
79487         [BZ #13305]
79488         [BZ #12786]
79489         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79490         * math/s_cacoshf.c: Likewise.
79491         * math/s_cacoshl.c: Likewise.
79493 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79495         [BZ #13439]
79496         * iconv/gconv.h: Define __GCONV_SWAP.
79497         * iconvdata/unicode.c: The swap bit must be stored in __flags.
79498         * iconvdata/utf-16.c: Likewise.
79499         * iconvdata/utf-32.c: Likewise.
79501 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
79503         [BZ #13524]
79504         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79505         numerator after shifting it by one limb.
79507 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
79509         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79510         under [__USE_EXTERN_INLINES].
79512 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79514         [BZ #13446]
79515         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79517 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79519         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79520         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79521         optimized code.
79522         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79523         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79524         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79525         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79526         for strncasecmp/strncasecmp_l compilation.
79527         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79528         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79530 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
79532         [BZ #13484]
79533         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79534         of __asm__.
79536 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79538         [BZ #13506]
79539         * time/tzfile.c (__tzfile_read): Check values from file header.
79541 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
79543         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79544         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79545         * powerpc/powerpc32/dl-start.S: Likewise.
79546         * powerpc/powerpc32/elf/start.S: Likewise.
79547         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79548         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79549         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79550         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79551         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79552         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79553         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79554         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79555         * powerpc/powerpc32/fpu/s_round.S: Likewise.
79556         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79557         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79558         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79559         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79560         * powerpc/powerpc32/memset.S: Likewise.
79561         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79562         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79563         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79564         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79565         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79566         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79567         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79568         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79569         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79570         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79571         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79572         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79573         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79575 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79577         * math/libm-test.inc: Added more nearbyint tests.
79578         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79579         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79581         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79583 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
79585         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79586         FD_CLOEXEC.
79588 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79590         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79591         Add wcscpy-ssse3 wcscpy-c.
79592         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79593         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79594         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79595         * sysdeps/x86_64/wcschr.S: New file.
79596         * sysdeps/x86_64/wcsrchr.S: New file.
79597         * string/test-strcmp.c: Remove checking of wcscmp function for
79598         wrong alignments.
79599         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79600         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79601         wcsrchr-sse2 wcsrchr-c.
79602         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79603         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79604         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79605         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79606         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79607         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79608         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79609         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79610         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79611         * wcsmbc/wcschr.c (WCSCHR): New macro.
79613 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79615         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79616         * wcsmbs/test-wcsrchr.c: New file.
79617         * string/test-strrchr.c: Add wcsrchr support.
79618         (WIDE): New macro.
79619         * wcsmbs/test-wcscpy.c: New file.
79620         * string/test-strcpy.c: Add wcscpy support.
79621         (WIDE): New macro.
79623 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
79625         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79626         the inner loop.
79628 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
79630         [BZ #13472]
79631         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79633 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
79635         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79636         Minor optimizations.
79638         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79639         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79640         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79642 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
79644         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79645         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79646         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79647         for gcc to avoid warnings.
79648         * inet/Makefile (tests): Add tst-checks.
79649         * inet/tst-checks.c: New file.
79651         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79652         warning.
79654         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79655         __wmemcmp_sse2.
79657         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79658         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79660         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79662 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
79664         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79665         problem.
79667         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79669 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
79671         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79672         conditional on GCC version.
79673         (__arch_compare_and_exchange_val_8_acq)
79674         (__arch_compare_and_exchange_val_16_acq)
79675         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79676         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79677         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79679 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
79681         * sysdeps/sh/backtrace.c: New file.
79683 2011-12-02  Andreas Schwab  <schwab@redhat.com>
79685         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
79686         parenthesis.
79688 2011-12-01  Andreas Schwab  <schwab@redhat.com>
79690         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79691         falling back to utime.
79693 2011-11-30  Andreas Schwab  <schwab@redhat.com>
79695         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79696         expectations for float.
79698 2011-11-29  Andreas Schwab  <schwab@redhat.com>
79700         * locale/weight.h (findidx): Add parameter len.
79701         * locale/weightwc.h (findidx): Likewise.
79702         * posix/fnmatch_loop.c (FCT): Adjust caller.
79703         * posix/regcomp.c (build_equiv_class): Likewise.
79704         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79705         * posix/regexec.c (check_node_accept_bytes): Likewise.
79706         * string/strcoll_l.c (STRCOLL): Likewise.
79707         * string/strxfrm_l.c (STRXFRM): Likewise.
79709 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
79711         * Makefile.in: Remove CVSOPT handling.
79712         * configure.in: Remove use of AC_REVISION.
79713         * iconvdata/Makefile (distribute): No need to filter out CVS.
79714         * scripts/list-sources.sh: Remove CVS, subversion and monotone
79715         handling.
79717 2011-11-16  Andreas Schwab  <schwab@redhat.com>
79719         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79720         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79721         [USE_AS_STRNCASECMP_L]: Likewise.
79722         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79723         NO_TLS_DIRECT_SEG_REFS.
79724         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79725         Fix argument offsets for non-PIC.
79726         [USE_AS_STRNCASECMP_L]: Likewise.
79727         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79728         NO_TLS_DIRECT_SEG_REFS.
79730 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79732         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79733         O_CLOEXEC.
79734         * locale/loadlocale.c (_nl_load_locale): Likewise.
79736 2011-11-15  Andreas Schwab  <schwab@redhat.com>
79738         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79739         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79740         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79741         (SYSCALL_GETTIME): Set errno on error.
79743         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79744         count references to noai6ai_cached.
79746 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79748         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79750         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79751         FD_CLOEXEC for /proc/self/maps.
79753         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79754         FD_CLOEXEC for /proc/meminfo.
79756         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79757         gai.conf.
79759         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
79760         FD_CLOEXEC for given file.
79762         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79764         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79765         FD_CLOEXEC for /etc/hosts.
79766         (_gethtent): Likewise.
79768         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79770         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79771         cancellation and set FD_CLOEXEC for /etc/netgroup.
79773         * nss/nss_files/files-key.c (search): Don't allow cancellation when
79774         reading /etc/publickey.
79776         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79777         allow cancellation when reading /etc/group.
79779         * nss/nss_files/files-alias.c (internal_setent): Don't allow
79780         cancellation.
79781         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
79783         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79784         when using data file.
79786         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79788         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79789         (write_nis_obj): Use "c" and "e" in fopen.
79791         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79793         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79795         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79797         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79799         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79800         locale.alias.
79802         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79804         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79806         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79808         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79809         file parsing and set FD_CLOEXEC.
79811 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79813         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79815 2011-11-14  Andreas Schwab  <schwab@redhat.com>
79817         * malloc/arena.c (arena_get2): Don't call reused_arena when
79818         _int_new_arena failed.
79820 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79822         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79823         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79824         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79825         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79826         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79827         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79828         to compile strcasecmp and strncasecmp.
79829         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79830         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79832         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79834 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
79836         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79837         locale-defines.sym to gen-as-const-headers.
79838         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79839         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79841         to compile strcasecmp and strncasecmp.
79842         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79843         strcasecmp_l and strncasecmp_l.
79844         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79845         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79846         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79847         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79848         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79849         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79850         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79851         * sysdeps/i386/i686/multiarch/strncase.S: New file.
79852         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79853         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79854         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79856 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
79858         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79859         result of SYSDEP_GETTIME_CPU to retval.
79860         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79861         parameter list to macro.  Remove trailing semicolon.  Adjust users.
79863         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79864         variable.
79866         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79867         mantissa words.
79868         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79870         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79871         from unused variable.
79873         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79874         DWARF definitions.
79875         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79876         for assembling.
79878         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79879         over namespaces.
79881         * sunrpc/rpc_prot.c (rejected): Fix case value.
79883         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79884         unsigned long long int to avoid warnings in shift.
79886         * posix/regex_internal.c (re_string_reconstruct): Actually use result
79887         of use of trans.
79888         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79889         variable tmp.
79891         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79892         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79893         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79895         * nis/nis_table.c (nis_list): Use variable of correct type for
79896         result of __follow_path call.
79898 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79900         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79901         of math functions ceil, trunc, floor, round, and sqrt, when
79902         avaliable on the platform.
79903         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79904         name clash.
79905         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79906         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79907         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79909 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79911         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79912         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79914 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79916         * include/unistd.h: Fix __readlink return type.
79917         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79919 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79921         * stdlib/ucontext.h: Undo last change for makecontext.
79923 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79925         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79927         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79928         * setjmp/setjmp.h: Mark functions as non-leaf.
79929         * setjmp/bits/setjmp2.h: Likewise.
79930         * stdlib/ucontext.h: Likewise.
79932 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79934         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79935         (reused_arena): Don't check arena limit.
79936         (arena_get2): Atomically check arena limit.
79938 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79940         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79941         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79944         instructions.
79946 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79948         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79949         handler when locking.
79951         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79952         Fix size of allocated buffer.
79954 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79956         [BZ #10103]
79957         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79958         declarations for long double functions.
79959         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79961         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79963 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79965         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79966         installed.
79968         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79969         is disabled.
79971 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79973         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79975 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79977         * include/alloca.h (stackinfo_alloca_round): Define.
79978         (extend_alloca): Use it.
79979         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79980         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79981         here.
79983         * scripts/check-local-headers.sh: Ignore libaudit.h.
79985         * nscd/Makefile (extra-objs): Make recursively expanded.
79987 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79989         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79990         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79992         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79993         * posix/tst-rfc3484-2.c: Likewise.
79994         * posix/tst-rfc3484-3.c: Likewise.
79996         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79997         process_vm_writev.
79998         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79999         process_vm_writev.
80000         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
80001         process_vm_writev from libc using GLIBC_2.15 version.
80003         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
80005 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
80007         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
80008         stack usage.
80010 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
80012         [BZ #13367]
80013         * nss/getent.c (initgroups_keys): Show error message in case no group
80014         names are given.
80016         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
80017         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
80018         __bump_nl_timestamp.
80019         * nscd/connections (nscd_init): When host database is served open
80020         netlink socket and request notification about configuration changes.
80021         (main_loop_poll): Track netlink file descriptor and bump timestamp
80022         in case data becomes available.
80023         (main_loop_epoll): Likewise.
80024         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
80025         (database_pers_head): Add extra_data fileds.
80026         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
80027         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
80028         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
80029         Adjust caller.
80030         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
80031         in6ai data, call __free_in6ai.
80032         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
80033         Add -DHAVE_NETLINK.
80034         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
80035         interface information.  Reuse previous data if netlink timestamp
80036         is not changed.
80037         (__bump_nl_timestamp): New function.
80038         (__free_in6ai): New function.
80040 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
80042         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
80043         close_not_cancel_no_status here.
80044         (__check_pf): Reorganize code a bit to not call close twice if OOM.
80046 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
80048         [BZ #13276]
80049         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
80050         return value.
80052         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
80053         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
80054         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
80056 2011-07-03  Andreas Jaeger  <aj@suse.de>
80058         [BZ #10709]
80059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
80060         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
80061         * math/libm-test.inc (sin_test): Add test case.
80063 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
80065         [BZ #13337]
80066         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
80067         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80069         * elf/chroot_canon.c (chroot_canon): Cleanups.
80071         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
80073         [BZ #13335]
80074         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
80075         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80077         * string/test-strchr.c: Make usable for strchrnul testing.
80078         * string/test-strchrnul.c: New file.
80079         * string/Makefile (strop-tests): Add strchrnul.
80081         * po/it.po: Update from translation team.
80082         * po/es.po: Likewise.
80084 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
80086         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
80087         the three constants needed as parameters.  Drop the others.
80088         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
80089         __m128i_strloadu_tolower.
80090         Create and initialize variable zero and use it in all the places
80091         where _mm_setzero_si128 was used.
80093         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
80094         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
80095         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
80096         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
80097         anymore.
80098         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
80099         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
80100         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
80101         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
80102         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
80103         __mpranred, __mptan.
80104         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
80105         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
80106         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
80107         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
80108         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
80109         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
80110         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
80111         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
80112         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80114 2011-10-28  Andreas Schwab  <schwab@redhat.com>
80116         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80117         redefine if SHARED.
80118         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80120         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80121         wide char related routines to wcsmbs subdir.
80123 2011-10-27  Andreas Schwab  <schwab@redhat.com>
80125         [BZ #13344]
80126         * misc/sys/cdefs.h (__THROWNL): Define.
80127         * posix/unistd.h: Use __THREADNL instead of __THREAD
80128         for memory synchronization functions.
80130 2011-10-26  Roland McGrath  <roland@hack.frob.com>
80132         [BZ #13349]
80133         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80134         doesn't exist.
80135         * manual/stdio.texi (Obstack Streams): Node removed.
80137 2011-10-26  Andreas Schwab  <schwab@redhat.com>
80139         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80140         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80141         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80143         * math/math_private.h (math_force_eval): Allow non-addressable
80144         arguments.
80145         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80147 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80149         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80150         file is not needed.
80152         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80153         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80154         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80155         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80156         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80157         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80158         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80159         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80160         Add AVX variants.
80161         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80162         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80163         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80164         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80165         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80166         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80167         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80168         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80169         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80170         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80171         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80172         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80173         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80174         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80175         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80176         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80177         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80178         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80179         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80181         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80182         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
80184         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80185         place.  Use VEX encoding when compiling for AVX.
80187 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80189         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80190         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80192         * string/test-strchr.c (do_test): Don't generate NUL bytes.
80194 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80196         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80197         useless if() expression.
80198         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80199         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80200         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80201         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80202         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80203         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80204         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80205         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80206         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80207         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80208         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80209         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80210         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80211         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80212         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80213         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80214         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80215         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80216         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80218         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80220 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80222         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80223         condition.
80224         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80226 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80228         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80229         .text section.  Avoid duplicate constants.
80230         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80231         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80232         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80233         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80234         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80235         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80237         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80238         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80239         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80240         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80241         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80242         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80243         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80244         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80245         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80246         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80247         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80248         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80249         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80250         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80251         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80252         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80253         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80254         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80255         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80256         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80257         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80258         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80259         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80260         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80261         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80262         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80263         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80264         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80265         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80266         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80267         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80268         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80269         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80270         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80271         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80272         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80273         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80274         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80276 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
80278         * sysdeps/x86_64/dla.h: Move to ...
80279         * sysdeps/x86_64/fpu/dla.h: ...here.
80280         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80281         situations.  Use __builtin_fma only for gcc 4.6 and up.
80283         * config.make.in: Add have-mfma4 entry.
80284         * configure.in: Substitute libc_cv_cc_fma4.
80285         * math/Makefile (dbl-only-routines): Add sincostab.
80286         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80287         Use __sincostab not sincos.
80288         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80289         name is a macro.
80290         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80291         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80292         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
80294         using __copysign.
80295         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
80296         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
80297         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80298         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80299         and __inv.
80300         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80301         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80302         __copysign.
80303         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
80304         define aliases when function name is a macro.
80305         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80306         sysdeps/ieee754/dbl-64/sincos.tbl.
80307         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80308         fma4-enabled routines.
80309         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80310         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80311         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80312         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80313         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80314         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80315         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80316         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80317         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80318         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80319         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80320         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80321         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80322         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80323         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80324         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80325         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80326         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80327         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80328         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80329         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80330         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80331         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80332         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80333         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80334         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80335         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80336         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80337         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80338         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80340         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80341         rename.
80342         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80343         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80347         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80348         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80349         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80351 2011-10-24  Andreas Schwab  <schwab@redhat.com>
80353         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80355 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80357         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80359         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80360         prediction.
80361         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80363         * string/strnlen.c: Don't define STRNLEN, reverse logic.
80364         Remove unused variable magic_bits.
80365         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80367         * string/strnlen.c: Define and use STRNLEN macro.
80368         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80369         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80370         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80371         * wcsmbs/wcslen.c: Define and use WCSLEN.
80372         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80373         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80374         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80375         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80376         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80377         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80378         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80380 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80383         strnlen-sse2-no-bsf.
80384         Rename strlen-no-bsf to strlen-sse2-no-bsf.
80385         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80386         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80387         Add strnlen support.
80388         (USE_AS_STRNLEN): New macro.
80389         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80390         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80391         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80392         * sysdeps/x86_64/wcslen.S: New file.
80394 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
80396         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80397         XMM-moves are used for copying on small sizes.
80399 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80401         * wcsmbs/Makefile (strop-tests): Add wcschr.
80402         * wcsmbs/test-wcschr.c: New file.
80403         * string/test-strchr.c: Update.
80404         Add wcschr support.
80405         (WIDE): New macro.
80407 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80409         * wcsmbs/Makefile (strop-tests): Add wcslen.
80410         * wcsmbs/test-wcslen.c: New file.
80411         * string/test-strlen.c: Update.
80412         Add wcslen support.
80413         (WIDE): New macro.
80415 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80417         * po/it.po: Update from translation team.
80419 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80421         * sysdeps/x86_64/wcscmp.S: Update.
80422         Fix wrong comparison semantics.
80423         wcscmp shall use signed comparison not unsigned.
80424         Don't use substraction to avoid overflow bug.
80425         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80426         * wcsmbc/wcscmp.c: Likewise.
80427         * string/test-strcmp.c: Likewise.
80428         Add new tests to check cases with negative values.
80430 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80432         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80433         * sysdeps/x86_64/dla.h: ...here.  New file.
80434         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80435         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80436         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80439         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80440         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80441         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80442         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80444 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
80446         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80447         __ynl_finite aliases.
80449 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80453         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80454         define DLA_FMA.
80455         [DLA_FMA] (EMULV): Use DLA_FMA.
80456         [DLA_FMA] (MUL12): Use EMULV.
80457         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80458         that are not needed.
80459         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80464         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80465         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80467 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
80469         * math/s_nan.c: Undef __nan.
80470         * math/s_nanf.c: Undef __nanf.
80471         * math/s_nanl.c: Undef __nanl.
80472         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80473         "math_private.h".
80475 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80477         * math/s_catan.c: Add branch predictions.
80478         * math/s_catanf.c: Likewise.
80479         * math/s_catanh.c: Likewise.
80480         * math/s_catanhf.c: Likewise.
80481         * math/s_catanhl.c: Likewise.
80482         * math/s_catanl.c: Likewise.
80483         * math/s_cexp.c: Likewise.
80484         * math/s_cexpf.c: Likewise.
80485         * math/s_cexpl.c: Likewise.
80486         * math/s_clog.c: Likewise.
80487         * math/s_clog10.c: Likewise.
80488         * math/s_clog10f.c: Likewise.
80489         * math/s_clog10l.c: Likewise.
80490         * math/s_clogf.c: Likewise.
80491         * math/s_clogl.c: Likewise.
80492         * math/s_csqrt.c: Likewise.
80493         * math/s_csqrtf.c: Likewise.
80494         * math/s_csqrtl.c: Likewise.
80495         * math/s_ctanf.c: Likewise.
80496         * math/s_ctanh.c: Likewise.
80497         * math/s_ctanhf.c: Likewise.
80498         * math/s_ctanhl.c: Likewise.
80499         * math/s_ctanl.c: Likewise.
80501         * math/math_private.h: Define __nan, __nanf, __nanl.
80502         * math/s_cacosh.c: Include <math_private.h>.
80503         * math/s_cacoshl.c: Likewise.
80504         * math/s_casinh.c: Likewise.
80505         * math/s_casinhf.c: Likewise.
80506         * math/s_casinhl.c: Likewise.
80507         * math/s_ccos.c: Rely entire on ccosh.
80508         * math/s_ccosf.c: Rely entire on ccoshf.
80509         * math/s_ccosl.c: Rely entirely on ccoshl.
80510         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
80511         Remove tests for FE_INVALID.
80512         * math/s_ccoshf.c: Likewise.
80513         * math/s_ccoshl.c: Likewise.
80514         * math/s_csin.c: Likewise.
80515         * math/s_csinf.c: Likewise.
80516         * math/s_csinh.c Likewise.
80517         * math/s_csinhf.c: Likewise.
80518         * math/s_csinhl.c: Likewise.
80519         * math/s_csinl.c: Likewise.
80520         * math/s_ctan.c: Likewise.
80521         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80522         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80523         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80525 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
80527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80528         compilation problems.
80530         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80531         __builtin_expect.
80533 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
80535         * sysdeps/i386/configure.in: Test for -mfma4 option.
80536         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80537         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80538         COMMON_CPUID_INDEX_80000001.
80539         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80540         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80541         use it if FMA3 is not supported.
80542         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80544         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80545         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80547 2011-10-20  Andreas Schwab  <schwab@redhat.com>
80549         [BZ #12892]
80550         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80551         it would create a cycle with a link time dependency.
80553 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
80555         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80556         instruction.
80557         * string/Makefile (strop-tests): Add rawmemchr.
80558         * string/test-rawmemchr.c: New file.
80560         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80561         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
80562         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
80563         when compiling str{,n}casecmp and when AVX is available.  Hook up
80564         new optimized code in initializers.
80566 2011-10-19  Andreas Schwab  <schwab@redhat.com>
80568         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80569         __feraiseexcept instead of feraiseexcept.
80571 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
80573         * math/math_private.h: Define defaults for libc_fetestexcept and
80574         libc_feupdateenv.
80575         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80576         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80577         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80578         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80579         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80580         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80581         libc_fetestexcept and libc_feupdateenv.
80583         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80584         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80585         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80586         * sysdeps/x86_64/fpu/math_private.h: Define special version of
80587         libc_feholdexcept_setround.
80589         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80590         Add s_nearbyint-c and s_nearbyintf-c.
80591         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80592         nearbyintf inlines.
80593         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80594         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80595         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80596         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80598         * math/math_private.h: Define defaults for libc_fegetround,
80599         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80600         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80601         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80602         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80603         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80604         standard functions.
80605         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80606         Remove comments and hacks for old compiler versions.
80607         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80608         libc_fegetround, libc_fesetround, libc_feholdexcept, and
80609         libc_feholdexceptl.
80611 2011-10-18  Andreas Schwab  <schwab@redhat.com>
80613         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80614         (__feraiseexcept_renamed): Add __NTH.
80615         (feraiseexcept): Add __NTH.  Rename local variables to fix
80616         namespace violations.
80618 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
80620         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80622         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80624         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80625         recently added interfaces.
80626         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80628         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80629         about macro parameter expansion.
80631         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80632         __NO_MATH_INLINES is defined.  Cleanups.
80634         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80635         and __floorf is target has SSE4.1.
80636         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80637         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80638         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80639         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80641         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80642         name.
80643         (floorf): Likewise.
80645         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80647 2011-10-17  Andreas Schwab  <schwab@redhat.com>
80649         * misc/sys/cdefs.h: Fix last change.
80651         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80652         database lookup.
80654 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
80656         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80658         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80659         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80660         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80661         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80662         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80663         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80664         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80665         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80666         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80667         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80668         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80669         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80670         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80671         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80672         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80673         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80674         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80675         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80676         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80677         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80678         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80679         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80681         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80682         ceil, ceilf, floor, floorf.
80684         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80685         Perform IRELATIVE relocations last.
80687         * elf/do-rel.h: Add another parameter nrelative, replacing the
80688         local variable with the same name.  Change name of the function
80689         to end in Rel or Rela (uppercase).
80690         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80691         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
80692         elf_dynamic_do_##reloc function.
80694 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80696         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80697         is sufficient, at least on modern CPUs.
80699         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80701         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80702         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80704         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80705         __expl_finite.
80706         * math/bits/math-finite.h: Add entries for exp.
80707         * math/e_expl.c: Add __*_finite alias.
80708         * sysdeps/i386/fpu/e_exp.S: Likewise.
80709         * sysdeps/i386/fpu/e_expf.S: Likewise.
80710         * sysdeps/i386/fpu/e_expl.c: Likewise.
80711         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80712         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80713         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80714         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80715         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80716         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80717         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80719         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80720         is sufficient, at least on modern CPUs.
80722         * ctype/ctype-info.c (__ctype_init): Define.
80723         * include/ctype.h (__ctype_init): Declare.
80724         (__ctype_b_loc): The variable is always initialized.
80725         (__ctype_toupper_loc): Likewise.
80726         (__ctype_tolower_loc): Likewise.
80727         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80728         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80730 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
80732         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80734         * configure.in: Also look in $cxxmachine/include for C++ system
80735         headers.
80737 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80739         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80740         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80741         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80742         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
80743         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80744         (USE_AS_WMEMCMP): New macro.
80745         Fixing indents.
80746         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80747         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80748         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80749         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80751         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80752         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80753         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80754         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80755         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80756         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80757         (USE_AS_WMEMCMP): New macro.
80758         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80759         * sysdeps/string/test-memcmp.c: Update.
80760         Fix simple_wmemcmp.
80761         Add new tests.
80762         * wcsmbs/wmemcmp.c: Update.
80763         (WMEMCMP): New macro.
80764         Fix overflow bug.
80766 2011-10-12  Andreas Jaeger  <aj@suse.de>
80768         [BZ #13268]
80769         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80771 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80773         * libio/iofwide.c (do_length): Avoid warning.
80775         * ctype/ctype.h (__isctype_f): Add missing __THROW.
80777 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
80779         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80781         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80782         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80783         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80784         * sysdeps/i386/i686/fpu/e_log.S: New file.
80785         * sysdeps/i386/i686/fpu/e_logf.S: New file.
80786         * sysdeps/i386/i686/fpu/e_logl.S: New file.
80788         * ctype/ctype.h: Add support for inlined isXXX functions when
80789         compiling C++ code.
80791 2011-10-14  Andreas Schwab  <schwab@redhat.com>
80793         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80795         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80797 2011-10-13  Roland McGrath  <roland@hack.frob.com>
80799         [BZ #13291]
80800         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80802 2011-10-13  Andreas Schwab  <schwab@redhat.com>
80804         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80805         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80806         feraiseexcept.
80808         * sysdeps/x86_64/memrchr.S: Check for zero size.
80810         * string/stratcliff.c: Add memrchr tests.
80812 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80815         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80816         rawmemchr-sse2 rawmemchr-sse2-bsf.
80817         * sysdeps/i386/i686/multiarch/memchr.S: New file.
80818         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80819         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80820         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80821         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80822         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80823         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80824         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80825         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80826         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80827         * string/memrchr.c (MEMRCHR): New macro.
80829 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
80831         Add integration with gcc's -ffinite-math-only and optimize wrapper
80832         functions in libm.
80833         * Versions.def: Define GLIBC_2.15 version for libm.
80834         * math/Makefile (headers): Add bits/math-finite.h.
80835         * math/bits/math-finite.h: New file.
80836         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80837         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80838         * math/e_acoshl.c: Add __*_finite alias.
80839         * math/e_acosl.c: Likewise.
80840         * math/e_asinl.c: Likewise.
80841         * math/e_atan2l.c: Likewise.
80842         * math/e_atanhl.c: Likewise.
80843         * math/e_coshl.c: Likewise.
80844         * math/e_exp10.c: Likewise.
80845         * math/e_exp10f.c: Likewise.
80846         * math/e_exp10l.c: Likewise.
80847         * math/e_exp2l.c: Likewise.
80848         * math/e_fmodl.c: Likewise.
80849         * math/e_gammal_r.c: Likewise.
80850         * math/e_hypotl.c: Likewise.
80851         * math/e_j0l.c: Likewise.
80852         * math/e_j1l.c: Likewise.
80853         * math/e_jnl.c: Likewise.
80854         * math/e_lgammal_r.c: Likewise.
80855         * math/e_log10l.c: Likewise.
80856         * math/e_log2l.c: Likewise.
80857         * math/e_logl.c: Likewise.
80858         * math/e_powl.c: Likewise.
80859         * math/e_sinhl.c: Likewise.
80860         * math/e_sqrtl.c: Likewise.
80861         * math/e_scalb.c: Completely rewritten and optimized.
80862         * math/e_scalbf.c: Likewise.
80863         * math/e_scalbl.c: Likewise.
80864         * math/w_acos.c: Likewise.
80865         * math/w_acosf.c: Likewise.
80866         * math/w_acosl.c: Likewise.
80867         * math/w_acosh.c: Likewise.
80868         * math/w_acoshf.c: Likewise.
80869         * math/w_acoshl.c: Likewise.
80870         * math/w_asin.c: Likewise.
80871         * math/w_asinf.c: Likewise.
80872         * math/w_asinl.c: Likewise.
80873         * math/w_atan2.c: Likewise.
80874         * math/w_atan2f.c: Likewise.
80875         * math/w_atan2l.c: Likewise.
80876         * math/w_atanh.c: Likewise.
80877         * math/w_atanhf.c: Likewise.
80878         * math/w_atanhl.c: Likewise.
80879         * math/w_exp10.c: Likewise.
80880         * math/w_exp10f.c: Likewise.
80881         * math/w_exp10l.c: Likewise.
80882         * math/w_fmod.c: Likewise.
80883         * math/w_fmodf.c: Likewise.
80884         * math/w_fmodl.c: Likewise.
80885         * math/w_j0.c: Likewise.
80886         * math/w_j0f.c: Likewise.
80887         * math/w_j0l.c: Likewise.
80888         * math/w_j1.c: Likewise.
80889         * math/w_j1f.c: Likewise.
80890         * math/w_j1l.c: Likewise.
80891         * math/w_jn.c: Likewise.
80892         * math/w_jnf.c: Likewise.
80893         * math/w_log.c: Likewise.
80894         * math/w_logf.c: Likewise.
80895         * math/w_logl.c: Likewise.
80896         * math/w_log10.c: Likewise.
80897         * math/w_log10f.c: Likewise.
80898         * math/w_log10l.c: Likewise.
80899         * math/w_log2.c: Likewise.
80900         * math/w_log2f.c: Likewise.
80901         * math/w_log2l.c: Likewise.
80902         * math/w_pow.c: Likewise.
80903         * math/w_powf.c: Likewise.
80904         * math/w_powl.c: Likewise.
80905         * math/w_remainder.c: Likewise.
80906         * math/w_remainderf.c: Likewise.
80907         * math/w_remainderl.c: Likewise.
80908         * math/w_scalb.c: Likewise.
80909         * math/w_scalbf.c: Likewise.
80910         * math/w_scalbl.c: Likewise.
80911         * math/w_sqrt.c: Likewise.
80912         * math/w_sqrtf.c: Likewise.
80913         * math/w_sqrtl.c: Likewise.
80914         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80915         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80916         used.
80917         * math/math_private.h: Declare __kernel_standard_f.
80918         * math/w_cosh.c: Remove cruft and optimize a bit.
80919         * math/w_coshf.c: Likewise.
80920         * math/w_coshl.c: Likewise.
80921         * math/w_exp2.c: Likewise.
80922         * math/w_exp2f.c: Likewise.
80923         * math/w_exp2l.c: Likewise.
80924         * math/w_hypot.c: Likewise.
80925         * math/w_hypotf.c: Likewise.
80926         * math/w_hypotl.c: Likewise.
80927         * math/w_lgamma.c: Likewise.
80928         * math/w_lgamma_r.c: Likewise.
80929         * math/w_lgammaf.c: Likewise.
80930         * math/w_lgammaf_r.c: Likewise.
80931         * math/w_lgammal.c: Likewise.
80932         * math/w_lgammal_r.c: Likewise.
80933         * math/w_sinh.c: Likewise.
80934         * math/w_sinhf.c: Likewise.
80935         * math/w_sinhl.c: Likewise.
80936         * math/w_tgamma.c: Likewise.
80937         * math/w_tgammaf.c: Likewise.
80938         * math/w_tgammal.c: Likewise.
80939         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80940         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80941         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80942         Minor optimizations.  Pretty printing.  Remove cruft.
80943         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80944         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80945         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80946         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80947         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80948         * sysdeps/i386/fpu/e_asin.S: Likewise.
80949         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80950         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80951         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80952         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80953         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80954         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80955         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80956         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80957         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80958         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80959         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80960         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80961         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80962         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80963         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80964         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80965         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80966         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80967         * sysdeps/i386/fpu/e_log.S: Likewise.
80968         * sysdeps/i386/fpu/e_log10.S: Likewise.
80969         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80970         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80971         * sysdeps/i386/fpu/e_log2.S: Likewise.
80972         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80973         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80974         * sysdeps/i386/fpu/e_logf.S: Likewise.
80975         * sysdeps/i386/fpu/e_logl.S: Likewise.
80976         * sysdeps/i386/fpu/e_pow.S: Likewise.
80977         * sysdeps/i386/fpu/e_powf.S: Likewise.
80978         * sysdeps/i386/fpu/e_powl.S: Likewise.
80979         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80980         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80981         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80982         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80983         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80984         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80985         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80986         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80987         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80988         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80989         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80991         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80992         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80993         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80994         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80995         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80996         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80997         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80998         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80999         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81001         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81002         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81004         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81005         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81006         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81008         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81009         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81010         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81011         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81012         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81013         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81014         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
81015         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81016         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
81017         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81018         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81019         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81020         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81021         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81022         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81023         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81024         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81025         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81026         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81027         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81028         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81029         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81030         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81031         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81032         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81033         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81034         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81035         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81036         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81037         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
81038         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81039         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81040         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81041         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81042         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81043         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81044         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81045         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81046         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81047         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81048         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81049         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81050         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81051         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81052         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81053         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81054         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81055         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81056         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
81057         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81058         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81059         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81060         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81061         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81062         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81064         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
81065         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81066         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81067         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81068         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81069         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81070         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
81071         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81072         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81073         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81074         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81075         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81076         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81077         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81078         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81079         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81080         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81081         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
81082         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81083         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81084         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81085         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
81086         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
81087         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
81088         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
81089         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
81090         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
81091         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
81092         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81093         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81094         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81095         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81096         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
81097         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81098         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
81099         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
81100         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
81101         (__isnanf): Likewise.
81102         (__isinf_ns): Likewise.
81103         (__isinf_nsf): Likewise.
81104         (__finite): Likewise.
81105         (__finitef): Likewise.
81106         (__ieee754_sqrt): Define as macro.
81107         (__ieee754_sqrtf): Define as macro.
81108         (__ieee754_sqrtl): Define as macro.
81109         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
81110         inlined copy.
81111         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
81112         __FINITE_MATH_ONLY__ consistent.
81113         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81115 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
81117         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81118         of rawmemchr.
81120         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81122 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
81124         * po/ja.po: Update from translation team.
81126 2011-10-08  Roland McGrath  <roland@hack.frob.com>
81128         * locale/programs/locarchive.c (prepare_address_space): New function.
81129         (create_archive, enlarge_archive, open_archive): Use it.
81131         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81132         inside [SHARED], where it is used.
81134         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81136         * nss/getent.c (netgroup_keys): Remove unused variable.
81137         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81139 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
81141         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81142         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81143         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81144         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81145         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81146         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81147         * math/Makefile (libm-calls): Add s_isinf_ns.
81148         * math/divtc3.c: Use __isinf_nsl instead of isinf.
81149         * math/multc3.c: Likewise.
81150         * math/s_casin.c: Likewise.
81151         * math/s_casinf.c: Likewise.
81152         * math/s_casinl.c: Likewise.
81153         * math/s_ccos.c: Likewise.
81154         * math/s_ccosf.c: Likewise.
81155         * math/s_ccosl.c: Likewise.
81156         * math/s_ctan.c: Likewise.
81157         * math/s_ctanf.c: Likewise.
81158         * math/s_ctanh.c: Likewise.
81159         * math/s_ctanhf.c: Likewise.
81160         * math/s_ctanhl.c: Likewise.
81161         * math/s_ctanl.c: Likewise.
81162         * math/w_fmod.c: Likewise.
81163         * math/w_fmodf.c: Likewise.
81164         * math/w_fmodl.c: Likewise.
81165         * math/w_remainder.c: Likewise.
81166         * math/w_remainderf.c: Likewise.
81167         * math/w_remainderl.c: Likewise.
81168         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81169         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81170         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81171         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81172         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81173         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81174         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81175         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81177         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81178         of the number.
81179         * stdio-common/printf_fphex.c: Likewise.
81180         * stdio-common/printf_size.c: Likewise.
81182         * math/e_exp10.c: Include math_private.h using <...> not "...".
81183         * math/e_exp10f.c: Likewise.
81184         * math/e_exp10l.c: Likewise.
81185         * math/e_exp2l.c: Likewise.
81186         * math/e_j0l.c: Likewise.
81187         * math/e_j1l.c: Likewise.
81188         * math/e_jnl.c: Likewise.
81189         * math/e_lgammal_r.c: Likewise.
81190         * math/e_rem_pio2l.c: Likewise.
81191         * math/e_scalb.c: Likewise.
81192         * math/e_scalbf.c: Likewise.
81193         * math/e_scalbl.c: Likewise.
81194         * math/k_cosl.c: Likewise.
81195         * math/k_sinl.c: Likewise.
81196         * math/k_tanl.c: Likewise.
81197         * math/s_cacoshf.c: Likewise.
81198         * math/s_catan.c: Likewise.
81199         * math/s_catanf.c: Likewise.
81200         * math/s_catanh.c: Likewise.
81201         * math/s_catanhf.c: Likewise.
81202         * math/s_catanhl.c: Likewise.
81203         * math/s_catanl.c: Likewise.
81204         * math/s_ccosh.c: Likewise.
81205         * math/s_ccoshf.c: Likewise.
81206         * math/s_ccoshl.c: Likewise.
81207         * math/s_cexp.c: Likewise.
81208         * math/s_cexpf.c: Likewise.
81209         * math/s_cexpl.c: Likewise.
81210         * math/s_clog.c: Likewise.
81211         * math/s_clog10.c: Likewise.
81212         * math/s_clog10f.c: Likewise.
81213         * math/s_clog10l.c: Likewise.
81214         * math/s_clogf.c: Likewise.
81215         * math/s_clogl.c: Likewise.
81216         * math/s_csin.c: Likewise.
81217         * math/s_csinf.c: Likewise.
81218         * math/s_csinh.c: Likewise.
81219         * math/s_csinhf.c: Likewise.
81220         * math/s_csinhl.c: Likewise.
81221         * math/s_csinl.c: Likewise.
81222         * math/s_csqrt.c: Likewise.
81223         * math/s_csqrtf.c: Likewise.
81224         * math/s_csqrtl.c: Likewise.
81225         * math/s_ctan.c: Likewise.
81226         * math/s_ctanf.c: Likewise.
81227         * math/s_ctanh.c: Likewise.
81228         * math/s_ctanhf.c: Likewise.
81229         * math/s_ctanhl.c: Likewise.
81230         * math/s_ctanl.c: Likewise.
81231         * math/s_ldexp.c: Likewise.
81232         * math/s_ldexpf.c: Likewise.
81233         * math/s_ldexpl.c: Likewise.
81234         * math/s_significand.c: Likewise.
81235         * math/s_significandf.c: Likewise.
81236         * math/s_significandl.c: Likewise.
81237         * math/w_acos.c: Likewise.
81238         * math/w_acosf.c: Likewise.
81239         * math/w_acosh.c: Likewise.
81240         * math/w_acoshf.c: Likewise.
81241         * math/w_acoshl.c: Likewise.
81242         * math/w_acosl.c: Likewise.
81243         * math/w_asin.c: Likewise.
81244         * math/w_asinf.c: Likewise.
81245         * math/w_asinl.c: Likewise.
81246         * math/w_atan2.c: Likewise.
81247         * math/w_atan2f.c: Likewise.
81248         * math/w_atan2l.c: Likewise.
81249         * math/w_atanh.c: Likewise.
81250         * math/w_atanhf.c: Likewise.
81251         * math/w_atanhl.c: Likewise.
81252         * math/w_cosh.c: Likewise.
81253         * math/w_coshf.c: Likewise.
81254         * math/w_coshl.c: Likewise.
81255         * math/w_dremf.c: Likewise.
81256         * math/w_exp10.c: Likewise.
81257         * math/w_exp10f.c: Likewise.
81258         * math/w_exp10l.c: Likewise.
81259         * math/w_exp2.c: Likewise.
81260         * math/w_exp2f.c: Likewise.
81261         * math/w_fmod.c: Likewise.
81262         * math/w_fmodf.c: Likewise.
81263         * math/w_fmodl.c: Likewise.
81264         * math/w_hypot.c: Likewise.
81265         * math/w_hypotf.c: Likewise.
81266         * math/w_hypotl.c: Likewise.
81267         * math/w_j0.c: Likewise.
81268         * math/w_j0f.c: Likewise.
81269         * math/w_j0l.c: Likewise.
81270         * math/w_j1.c: Likewise.
81271         * math/w_j1f.c: Likewise.
81272         * math/w_j1l.c: Likewise.
81273         * math/w_jn.c: Likewise.
81274         * math/w_jnf.c: Likewise.
81275         * math/w_jnl.c: Likewise.
81276         * math/w_lgamma.c: Likewise.
81277         * math/w_lgamma_r.c: Likewise.
81278         * math/w_lgammaf.c: Likewise.
81279         * math/w_lgammaf_r.c: Likewise.
81280         * math/w_lgammal.c: Likewise.
81281         * math/w_lgammal_r.c: Likewise.
81282         * math/w_log.c: Likewise.
81283         * math/w_log10.c: Likewise.
81284         * math/w_log10f.c: Likewise.
81285         * math/w_log10l.c: Likewise.
81286         * math/w_log2.c: Likewise.
81287         * math/w_log2f.c: Likewise.
81288         * math/w_log2l.c: Likewise.
81289         * math/w_logf.c: Likewise.
81290         * math/w_logl.c: Likewise.
81291         * math/w_pow.c: Likewise.
81292         * math/w_powf.c: Likewise.
81293         * math/w_powl.c: Likewise.
81294         * math/w_remainder.c: Likewise.
81295         * math/w_remainderf.c: Likewise.
81296         * math/w_remainderl.c: Likewise.
81297         * math/w_scalb.c: Likewise.
81298         * math/w_scalbf.c: Likewise.
81299         * math/w_scalbl.c: Likewise.
81300         * math/w_sinh.c: Likewise.
81301         * math/w_sinhf.c: Likewise.
81302         * math/w_sinhl.c: Likewise.
81303         * math/w_sqrt.c: Likewise.
81304         * math/w_sqrtf.c: Likewise.
81305         * math/w_sqrtl.c: Likewise.
81306         * math/w_tgamma.c: Likewise.
81307         * math/w_tgammaf.c: Likewise.
81308         * math/w_tgammal.c: Likewise.
81310         * po/ja.po: Update from translation team.
81312 2011-09-29  Andreas Jaeger  <aj@suse.de>
81314         [BZ #13179]
81315         * sunrpc/netname.c (netname2host): Fix logic.
81317         [BZ #6779]
81318         [BZ #6783]
81319         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81320         correctly.
81321         * math/w_remainder.c (__remainder): Likewise.
81322         * math/w_remainderf.c (__remainderf): Likewise.
81323         * math/libm-test.inc (remainder_test): Add test cases.
81325 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81327         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
81328         sdiv_qrnnd.
81330 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81332         * string/test-memcmp.c: Avoid unncessary #defines.
81333         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81335 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81337         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81338         Use new sse2 version for core i3 - i7 as it's faster
81339         than sse42 version.
81340         (bit_Prefer_PMINUB_for_stringop): New.
81341         * sysdeps/x86_64/rawmemchr.S: Update.
81342         Replace with faster SSE2 version.
81343         * sysdeps/x86_64/memrchr.S: New file.
81344         * sysdeps/x86_64/memchr.S: Update.
81345         Replace with faster SSE2 version.
81347 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
81349         * elf/dl-load.c (lose): Add cast to avoid warning.
81351 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81353         * po/ca.po: Update from translation team.
81355         * inet/getnetgrent_r.c: Hook up nscd.
81356         * nscd/Makefile (routines): Add nscd_netgroup.
81357         (nscd-modules): Add netgroupcache.
81358         (CFLAGS-netgroupcache.c): Define.
81359         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81360         (cache_search): Add const to second parameter.
81361         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81362         INNETGR.
81363         (dbs): Add netgrdb entry.
81364         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81365         (verify_persistent_db): Handle netgrdb.
81366         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81367         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81368         GETFDNETGR.
81369         (netgroup_response_header): Define.
81370         (innetgroup_response_header): Define.
81371         (datahead): Add netgroup_response_header and innetgroup_response_header
81372         elements.
81373         * nscd/nscd.conf: Add entries for netgroup cache.
81374         * nscd/nscd.h (dbtype): Add netgrdb.
81375         (_PATH_NSCD_NETGROUP_DB): Define.
81376         (netgroup_iov_disabled): Declare.
81377         (xmalloc, xcalloc, xrealloc): Move declarations here.
81378         (cache_search): Adjust prototype.
81379         Add netgroup-related prototypes.
81380         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81381         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81382         (__nscd_innetgr): Declare.
81383         * nscd/selinux.c (perms): Use access_vector_t as element type and
81384         add netgroup-related initializers.
81385         * nscd/netgroupcache.c: New file.
81386         * nscd/nscd_netgroup.c: New file.
81387         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81388         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81389         For four parameters use innetgr.
81390         * nss/nss_files/files-init.c: Add definition and callback for netgr.
81391         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81392         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81393         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81395         * nscd/connections.c (register_traced_file): Don't register file
81396         for disabled databases.
81398 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
81400         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81402         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81403         from tree and freeing node.
81405 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
81407         * nss/nsswitch.c (__nss_database_lookup): Handle
81408         nss_parse_service_list out of memory case.
81410 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
81412         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81413         out of memory case.
81415 2011-10-04  Andreas Schwab  <schwab@redhat.com>
81417         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81418         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81419         pass it down.
81420         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81421         elf_machine_rela, elf_machine_lazy_rel.
81422         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81423         (ELF_DYNAMIC_DO_REL): Likewise.
81424         (ELF_DYNAMIC_DO_RELA): Likewise.
81425         (ELF_DYNAMIC_RELOCATE): Likewise.
81426         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81427         to ELF_DYNAMIC_DO_REL.
81428         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81429         (dl_main): In trace mode always set __RTLD_NOIFUNC.
81430         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81431         elf_machine_rela.
81432         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81433         skip_ifunc, don't call ifunc function if non-zero.
81434         (elf_machine_rela): Likewise.
81435         (elf_machine_lazy_rel): Likewise.
81436         (elf_machine_lazy_rela): Likewise.
81437         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81438         (elf_machine_lazy_rel): Likewise.
81439         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81440         Likewise.
81441         (elf_machine_lazy_rel): Likewise.
81442         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81443         Likewise.
81444         (elf_machine_lazy_rel): Likewise.
81445         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81446         (elf_machine_lazy_rel): Likewise.
81447         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81448         (elf_machine_lazy_rel): Likewise.
81449         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81450         (elf_machine_lazy_rel): Likewise.
81451         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81452         (elf_machine_lazy_rel): Likewise.
81453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81454         (elf_machine_lazy_rel): Likewise.
81455         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81456         (elf_machine_lazy_rel): Likewise.
81458 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
81460         * nss/nss_files/files-init.c (_nss_files_init): Use static
81461         initialization for all the *_traced_file variables.
81463 2011-09-28  Andreas Schwab  <schwab@redhat.com>
81465         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81467 2011-09-27  Roland McGrath  <roland@hack.frob.com>
81469         [BZ #13226]
81470         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81472 2011-09-27  Andreas Schwab  <schwab@redhat.com>
81474         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81475         Reread the line before reparsing it.
81477 2011-09-26  Andreas Schwab  <schwab@redhat.com>
81479         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81481 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
81482             Maxim Kuvyrkov  <maxim@codesourcery.com>
81483             Joseph Myers  <joseph@codesourcery.com>
81485         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81486         if needed for __stack_chk_guard.
81488 2011-09-19  Roland McGrath  <roland@hack.frob.com>
81490         * sysdeps/posix/spawni.c (script_execute): Always define it.
81491         It will be optimized away if unused.
81492         (maybe_script_execute): New function.
81493         (__spawni): Call it.
81495         * Makerules: Don't include tls.make.
81496         (config-tls): Always set to thread.
81497         * tls.make.c: File removed.
81499 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
81501         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81502         * config.make.in (CPPFLAGS-config): New substituted variable.
81504 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81506         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81508         [BZ #13192]
81509         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81510         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81512 2011-09-15  Roland McGrath  <roland@hack.frob.com>
81514         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81515         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81516         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81517         (CALL_FAIL): Likewise.
81518         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81519         (CALL_FAIL): Macro removed.
81520         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81522 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81524         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81525         for __FINITE_MATH_ONLY__ == 1.
81527 2011-09-15  Andreas Schwab  <schwab@redhat.com>
81529         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81530         __ieee754_sqrt instead of sqrt.
81531         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81532         __ieee754_sqrtf instead of sqrtf.
81533         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81534         __floorf instead of floorf.
81535         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81536         __floorf, __truncf instead of floorf, truncf.
81538 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
81540         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81542         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81543         __extern_always_inline.
81544         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81545         32-bit.
81547 2011-09-14  Andreas Schwab  <schwab@redhat.com>
81549         * elf/rtld.c (dl_main): Also relocate in dependency order when
81550         doing symbol dependency testing.
81552 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
81554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81555         Always define `refsym'.
81557 2011-09-13  Andreas Schwab  <schwab@redhat.com>
81559         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81560         (__FD_ELT): Renamed from __FDELT.
81561         * misc/bits/select2.h (__FD_ELT): Likewise.
81562         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81563         __FD_MASK instead of __FDELT, __FDMASK.
81564         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81565         Likewise.
81566         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81567         Likewise.
81569         * elf/Makefile (gen-ldd): Fix pattern.
81571         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81572         (init_tls): Likewise.
81574 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
81576         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81578 2011-09-12  Andreas Schwab  <schwab@redhat.com>
81580         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81581         `struct cmsghdr *' instead of `void *'.
81582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81583         Likewise.
81585 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
81587         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81588         if non-absolute.
81589         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81590         ldd_rewrite_script.
81592 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
81594         * configure.in: Remove --with-tls option.
81595         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81596         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81597         out in case it is missing.
81598         * sysdeps/ia64/elf/configure.in: Likewise.
81599         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81600         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81601         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81602         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81603         * sysdeps/sh/elf/configure.in: Likewise.
81604         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81605         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81606         * sysdeps/x86_64/elf/configure.in: Likewise.
81607         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81608         * sysdeps/mach/hurd/tls.h: Likewise.
81610         [BZ #13067]
81611         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81613         [BZ #13090]
81614         * configure.in: Fix use of AC_INIT.
81616         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81618 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
81620         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81621         __set_errno.
81622         * malloc/hooks.c: Likewise.
81624         [BZ #11929]
81625         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
81626         variables statically.
81627         (narenas): Initialize.
81628         (list_lock): Initialize.
81629         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
81630         initializtion of main_arena and list_lock.  Small cleanups.
81631         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81632         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
81633         Add initializers to main_arena and mp_.
81634         (malloc_state): Remove pagesize member.  Change all users to use
81635         GLRO(dl_pagesize).
81637         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81638         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
81639         is always initialized.
81641         * malloc/malloc.c: Removed unused configurations and dead code.
81642         * malloc/arena.c: Likewise.
81643         * malloc/hooks.c: Likewise.
81644         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81646         * include/tls.h: Removed.  USE___THREAD must always be defined.
81647         * bits/libc-tsd.h: Don't handle !USE___THREAD.
81648         * elf/dl-libc.c: Likewise.
81649         * elf/dl-tsd.c: Likewise.
81650         * include/errno.h: Likewise.
81651         * include/netdb.h: Likewise.
81652         * include/resolv.h: Likewise.
81653         * inet/herrno-loc.c: Likewise.
81654         * inet/herrno.c: Likewise.
81655         * malloc/arena.c: Likewise.
81656         * malloc/hooks.c: Likewise.
81657         * malloc/malloc.c: Likewise.
81658         * resolv/res-state.c: Likewise.
81659         * resolv/res_libc.c: Likewise.
81660         * sysdeps/i386/dl-machine.h: Likewise.
81661         * sysdeps/ia64/dl-machine.h: Likewise.
81662         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81663         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81664         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81665         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81666         * sysdeps/sh/dl-machine.h: Likewise.
81667         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81668         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81669         * sysdeps/unix/i386/sysdep.S: Likewise.
81670         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81671         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81675         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81676         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81677         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81678         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81680         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81681         * sysdeps/x86_64/dl-machine.h: Likewise.
81682         * tls.make.c: Likewise.
81684         * configure.in: Remove --with-__thread option.  Make tests for
81685         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81686         tls_model attribute fail if no support is available.  Remove
81687         USE_IN_LIBIO.
81688         * Makeconfig: Adjust for dropped configure option.  All features are
81689         now mandatory.
81690         * Makerules: Likewise.
81691         * Versions.def: Likewise.
81692         * argp/argp-fmtstream.c: Likewise.
81693         * argp/argp-fmtstream.h: Likewise.
81694         * argp/argp-help.c: Likewise.
81695         * assert/assert.c: Likewise.
81696         * config.h.in: Likewise.
81697         * config.make.in: Likewise.
81698         * configure: Likewise.
81699         * configure.in: Likewise.
81700         * csu/Versions: Likewise.
81701         * csu/init.c: Likewise.
81702         * elf/tst-audit2.c: Likewise.
81703         * elf/tst-tls10.c: Likewise.
81704         * elf/tst-tls10.h: Likewise.
81705         * elf/tst-tls11.c: Likewise.
81706         * elf/tst-tls12.c: Likewise.
81707         * elf/tst-tls14.c: Likewise.
81708         * elf/tst-tlsmod11.c: Likewise.
81709         * elf/tst-tlsmod12.c: Likewise.
81710         * elf/tst-tlsmod13.c: Likewise.
81711         * elf/tst-tlsmod13a.c: Likewise.
81712         * elf/tst-tlsmod14a.c: Likewise.
81713         * elf/tst-tlsmod15b.c: Likewise.
81714         * elf/tst-tlsmod16a.c: Likewise.
81715         * elf/tst-tlsmod16b.c: Likewise.
81716         * elf/tst-tlsmod7.c: Likewise.
81717         * elf/tst-tlsmod8.c: Likewise.
81718         * elf/tst-tlsmod9.c: Likewise.
81719         * gmon/gmon.c: Likewise.
81720         * grp/fgetgrent_r.c: Likewise.
81721         * grp/putgrent.c: Likewise.
81722         * hurd/fopenport.c: Likewise.
81723         * include/libc-symbols.h: Likewise.
81724         * include/tls.h: Likewise.
81725         * intl/gettextP.h: Likewise.
81726         * intl/loadinfo.h: Likewise.
81727         * locale/global-locale.c: Likewise.
81728         * locale/localeinfo.h: Likewise.
81729         * mach/devstream.c: Likewise.
81730         * malloc/arena.c: Likewise.
81731         * malloc/set-freeres.c: Likewise.
81732         * misc/err.c: Likewise.
81733         * misc/getttyent.c: Likewise.
81734         * misc/mntent_r.c: Likewise.
81735         * posix/getopt.c: Likewise.
81736         * posix/wordexp.c: Likewise.
81737         * pwd/fgetpwent_r.c: Likewise.
81738         * resolv/Versions: Likewise.
81739         * resolv/res_hconf.c: Likewise.
81740         * shadow/fgetspent_r.c: Likewise.
81741         * shadow/putspent.c: Likewise.
81742         * stdio-common/printf_fphex.c: Likewise.
81743         * stdio-common/tmpfile.c: Likewise.
81744         * stdlib/abort.c: Likewise.
81745         * stdlib/fmtmsg.c: Likewise.
81746         * sunrpc/auth_unix.c: Likewise.
81747         * sunrpc/clnt_perr.c: Likewise.
81748         * sunrpc/clnt_tcp.c: Likewise.
81749         * sunrpc/clnt_udp.c: Likewise.
81750         * sunrpc/clnt_unix.c: Likewise.
81751         * sunrpc/openchild.c: Likewise.
81752         * sunrpc/svc_simple.c: Likewise.
81753         * sunrpc/svc_tcp.c: Likewise.
81754         * sunrpc/svc_udp.c: Likewise.
81755         * sunrpc/svc_unix.c: Likewise.
81756         * sunrpc/xdr.c: Likewise.
81757         * sunrpc/xdr_array.c: Likewise.
81758         * sunrpc/xdr_rec.c: Likewise.
81759         * sunrpc/xdr_ref.c: Likewise.
81760         * sunrpc/xdr_stdio.c: Likewise.
81762 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81764         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81766 2011-07-03  Andreas Jaeger  <aj@suse.de>
81768         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81769         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81770         regenerate with gen-libm-tests.pl.
81772 2010-05-12  Petr Baudis  <pasky@suse.cz>
81774         [BZ #11589]
81775         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81776         around j0() zero points by switching to j1().
81777         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81778         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81780         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81782 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81784         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81785         instead of 0.
81786         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81787         instead of 0.
81788         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81789         Patch in part by Pavel Roskin <proski@gnu.org>.
81791         [BZ #13138]
81792         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81793         realloc.
81794         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
81795         Free memory block if necessary.
81797         [BZ #12847]
81798         * libio/genops.c (INTDEF): For string streams the _lock pointer can
81799         be NULL.  Don't lock in this case.
81801 2011-09-09  Roland McGrath  <roland@hack.frob.com>
81803         * elf/elf.h (ELFOSABI_GNU): New macro.
81804         (ELFOSABI_LINUX): Define to that.
81806 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
81808         * string/strncat.c (strncat): Undef the symbol in case it has been
81809         defined in bits/string.h.
81811 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81813         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81815         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81816         link map.
81818 2011-08-17  Andreas Jaeger  <aj@suse.de>
81820         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81822 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
81823             Ian Lance Taylor  <iant@google.com>
81825         * math/libm-test.inc (lround_test): New testcase.
81826         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81828 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
81830         * Makefile: Remove support for automatic cvs check-ins.
81831         * Makerules: Likewise.
81832         * config.make.in: Likewise.
81833         * configure.in: Likewise.
81834         * intl/Makefile: Likewise.
81835         * locale/Makefile: Likewise.
81836         * po/Makefile: Likewise.
81837         * posix/Makefile: Likewise.
81838         * sysdeps/gnu/Makefile: Likewise.
81839         * sysdeps/mach/hurd/Makefile: Likewise.
81840         * sysdeps/sparc/sparc32/Makefile: Likewise.
81842         [BZ #13118]
81843         * posix/Makefile (bug-regex32-ENV): Define.
81844         Patch by John Stanley <jpsinthemix@verizon.net>.
81846         * misc/Makefile (headers): Add bits/select2.h.
81847         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81848         * misc/bits/select2.h: New file.
81849         * include/bits/select2.h: New file.
81850         * debug/Makefile (routines): Add fdelt_chk.
81851         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81852         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81853         FD_ISSET.
81854         * debug/fdelt_chk.c: New file.
81856         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
81857         * wcsmbs/test-wmemcmp.c: Likewise.
81858         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81859         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81861 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81863         * string/Makefile (strop-tests): Add memcmp.
81864         * string/test-wmemcmp.c: New file.
81865         * string/test-memcmp.c: Add wmemcmp support.
81867 2011-09-08  Roland McGrath  <roland@hack.frob.com>
81869         [BZ #13153]
81870         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81871         2011-07-19 change.
81873         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81874         garbage value in a __mach_port_mod_refs call in the cases of the
81875         task-self and thread-self ports.
81877 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81879         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81881 2011-09-08  Andreas Schwab  <schwab@redhat.com>
81883         * elf/dl-load.c (lose): Check for non-null L.
81885 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81887         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81889         * elf/dl-libc.c (dlerror_run): Pass back error code from
81890         dl_catch_error.
81892         [BZ #13123]
81893         * elf/dl-load.c (lose): Free l_origin if it is valid.
81895         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81896         names.
81897         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81898         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81900         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81901         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81902         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81904 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81906         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81907         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81908         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81909         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81910         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81911         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81912         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81913         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81914         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81915         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81917 2011-08-15  Alan Modra  <amodra@gmail.com>
81919         [BZ #13092]
81920         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81921         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81922         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81923         ppc_mcount to static-only-routines.
81924         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81925         __mcount_internal.
81926         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81927         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81929 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81931         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81932         for finite and infinity parameters.
81934 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81936         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81937         and add nop instructions for throughput optimization.
81938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81940 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81942         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81943         aligned copy for power7 with vector-scalar instructions.
81944         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81946 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81948         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81949         AVX check.
81951 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81953         [BZ #13144]
81954         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81955         last change.
81957 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81959         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81960         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81961         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81962         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81963         clock_gettime.
81965 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81967         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81968         Forgot to demangle the pointer.
81970         * sysdeps/i386/sysdep.h: Define atom_text_section.
81971         * sysdeps/x86_64/sysdep.h: Likewise.
81972         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81973         section with atom_text_section.
81974         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81975         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81976         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81977         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81978         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81980         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81981         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81982         already be defined.  Change to take two parameters and don't assign
81983         result to variable.  Adjust all users.
81984         Define INTERNAL_GETTIME if not already defined.
81985         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81986         call.
81987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81988         HAVE_CLOCK_GETTIME_VSYSCALL.
81989         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81991         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81992         gettimeofday vsyscall, just use time.
81994 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81996         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81997         <errno.h>.
81999 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
82001         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
82002         syscall on x86-64.
82003         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
82004         syscall.
82005         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
82006         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
82007         syscall if possible.
82009 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
82011         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
82012         e_ident.  Don't pass to find_mapsXX.
82013         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
82015 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82018         strchr-sse2-no-bsf strrchr-sse2-no-bsf
82019         * sysdeps/x86_64/multiarch/strchr.S: Update.
82020         Check bit_slow_BSF bit.
82021         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
82022         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
82023         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
82025 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
82027         [BZ #13134]
82028         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
82029         before glibc 2.15.
82030         (tryshell): Define.
82031         (__spawni): Change last parameter to be flag.  Test
82032         SPAWN_XFLAGS_USE_PATH flag to use path or not.
82033         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
82034         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
82035         * posix/spawni.c: Likewise.
82036         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
82037         * posix/spawnp.c: Likewise.  Change normal version to use
82038         SPAWN_XFLAGS_USE_PATH.
82039         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
82040         SPAWN_XFLAGS_TRY_SHELL.
82042         [BZ #13150]
82043         * posix/glob.h: Remove gcc 1.x support.
82045         [BZ #13068]
82046         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
82048 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82050         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82051         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
82052         strrchr-sse2-bsf
82053         * sysdeps/i386/i686/multiarch/strchr.S: New file.
82054         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
82055         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
82056         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
82057         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
82058         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
82060 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82062         * sysdeps/x86_64/wcscmp.S: New file.
82064         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
82065         wcscmp-c wcscmp-sse2
82066         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
82067         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
82068         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
82069         * wcsmbs/wcscmp.c: Allow renaming.
82071 2011-09-05  David S. Miller  <davem@davemloft.net>
82073         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
82074         stack slot, rather than the struct return pointer slot.
82075         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
82076         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
82077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
82078         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
82080 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
82082         * po/ja.po: Update from translation team.
82084         [BZ #13144]
82085         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
82086         kernel in 64-bit binaries.
82088 2011-09-01  David S. Miller  <davem@davemloft.net>
82090         * elf/elf.h (HWCAP_SPARC_*): Move to..
82091         * sysdeps/sparc/sysdep.h: this new file and add new values.
82092         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
82093         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
82094         _DL_HWCAP_COUNT to 24.
82095         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
82096         entries.
82097         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
82098         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
82099         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
82100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
82101         instead of magic constants.
82102         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82104 2011-08-31  David S. Miller  <davem@davemloft.net>
82106         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
82107         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
82108         Reimplement to do errno handling inline.
82109         (SYSCALL_ERROR_HANDLER): New macro.
82110         (__SYSCALL_STRING): Do not do errno handling in asm.
82111         (__CLONE_SYSCALL_STRING): Delete.
82112         (__INTERNAL_SYSCALL_STRING): Delete.
82113         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82114         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82115         (PSEUDO): Reimplement to do errno handling inline.
82116         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82117         (SYSCALL_ERROR_HANDLER): New macro.
82118         (__SYSCALL_STRING): Do not do errno handling in asm.
82119         (__CLONE_SYSCALL_STRING): Delete.
82120         (__INTERNAL_SYSCALL_STRING): Delete.
82121         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82122         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82123         i386.
82124         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82125         (inline_syscall*): Add 'err' argument.
82126         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82127         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82128         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82129         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82131         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82132         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82134 2011-08-30  Andreas Schwab  <schwab@redhat.com>
82136         * elf/rtld.c (dl_main): Relocate objects in dependency order.
82138 2011-08-29  Jiri Olsa <jolsa@redhat.com>
82140         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82141         directive.
82143 2011-08-24  David S. Miller  <davem@davemloft.net>
82145         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82147 2011-08-24  Andreas Schwab  <schwab@redhat.com>
82149         * elf/Makefile: Add rules to build and run unload8 test.
82150         * elf/unload8.c: New file.
82151         * elf/unload8mod1.c: New file.
82152         * elf/unload8mod1x.c: New file.
82153         * elf/unload8mod2.c: New file.
82154         * elf/unload8mod3.c: New file.
82156         * elf/dl-close.c (_dl_close_worker): Reset private search list if
82157         it wasn't used.
82159 2011-08-23  David S. Miller  <davem@davemloft.net>
82161         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82162         subtract stack bias.
82163         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82164         %sp not %fp in calculations.
82165         (_JMPBUF_UNWINDS_ADJ): Likewise.
82167         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82168         (aio_suspend): Call it to force an exception region around the
82169         AIO_MISC_WAIT() invocation.
82171 2011-08-23  Andreas Schwab  <schwab@redhat.com>
82173         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82174         backslash.
82176 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
82178         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82179         protection macro.
82180         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82181         and <dl-machine.h>.
82182         (Elf64_FuncDesc): Remove.
82184 2011-08-22  David S. Miller  <davem@davemloft.net>
82186         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82187         sigaltstack check, add missing cfi directives.
82188         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82189         missing cfi directives, and sigaltstack handling.
82191 2011-08-16  Andreas Schwab  <schwab@redhat.com>
82193         [BZ #11724]
82194         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82195         object is seen twice.
82196         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82198         * elf/Makefile (distribute): Add tst-initorder2.c.
82199         (tests): Add tst-initorder2.
82200         (modules-names): Add tst-initorder2a tst-initorder2b
82201         tst-initorder2c tst-initorder2d.  Add rules to build them.
82202         ($(objpfx)tst-initorder2.out): New rule.
82203         * elf/tst-initorder2.c: New file.
82204         * elf/tst-initorder2.exp: New file.
82206 2011-08-22  Andreas Schwab  <schwab@redhat.com>
82208         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82210         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82211         dependencies back to end of function.
82213         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82214         $(elfobjdir)/ld.so.
82216 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
82218         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82219         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82220         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82221         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82222         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82223         of __vdso_gettimeofday.
82224         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82225         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
82226         attribute_hidden.
82227         (_libc_vdso_platform_setup): Remove initialization of
82228         __vdso_gettimeofday and __vdso_time.
82230 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82232         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82233         and fgetc_unlocked.
82234         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82235         getc_unlocked.
82237         * elf/dl-open.c (add_to_global): Report additions to the global scope
82238         for LD_DEBUG=scopes.
82239         (dl_open_worker): Also print scope of newly loaded dependencies.
82240         (_dl_show_scope): Indicate if there is no scope.
82242         [BZ #13114]
82243         * stdio-common/Makefile (tests): Add bug24.
82244         * stdio-common/bug24.c: New file.
82246 2011-08-19  Andreas Jaeger  <aj@suse.de>
82248         [BZ #13114]
82249         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82250         non-existant file when using close-on-exec mode.
82252 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82254         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82255         the very first instruction.
82257         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82258         the CFI state in the end.
82259         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82260         inclusion of dl-trampoline.h.
82261         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82263 2011-08-19  Andreas Schwab  <schwab@redhat.com>
82265         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82266         expectations for long double.
82268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82269         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82271 2011-08-14  David S. Miller  <davem@davemloft.net>
82273         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82274         artificual limit depends upon the system page size.
82276 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82278         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82279         * resolv/Makefile: Define CFLAGS-libresolv.
82281 2011-08-17  Andreas Schwab  <schwab@redhat.com>
82283         * nss/makedb.c (compute_tables): Make variables used in nested
82284         function static.
82286 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82288         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82289         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82290         if buffer was too small.
82292         * elf/pldd.c (main): Attach to all threads in the process.
82293         Rewrite /proc handling to use *at functions.
82295 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
82297         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82298         specifies first scope to show.
82299         (dl_open_worker): Update callers.  Move printing scope of new
82300         object to before the relocation.
82301         * elf/rtld.c (dl_main): Update _dl_show_scope call.
82302         * sysdeps/generic/ldsodefs.h: Update declaration.
82304         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82305         string for the scope number.
82307 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
82309         * nscd/servicescache.c (cache_addserv): Make sure written is always
82310         initialized.
82312 2011-08-14  Roland McGrath  <roland@hack.frob.com>
82314         * sysdeps/i386/i486/bits/atomic.h
82315         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82316         statement expression, so as to suppress "set but not used" warning.
82317         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82319         * string/strncat.c (STRNCAT): Use prototype definition.
82321         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82322         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82323         -Iprograms here.
82324         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82325         (localedef-modules): Add localedef.
82326         (locale-modules): Add locale.
82328         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82329         * elf/rtld.c (dl_main): Invert order of assignment in last change,
82330         to avoid a warning.
82332 2011-08-14  David S. Miller  <davem@davemloft.net>
82334         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82335         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82337 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
82339         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82340         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82341         * elf/rtld.c (dl_main): Set l_name of vDSO.
82342         Call _dl_show_scope when DL_DEBUG_SCOPES.
82343         (process_dl_debug): Recognize scopes flag and also set it for all.
82344         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82345         Declare _dl_show_scope.
82347         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82348         (do_dlopen): Pass caller_dlopen to dl_open.
82349         (__libc_dlopen_mode): Initialize caller_dlopen.
82351         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82352         of libc.  Make tolower call locale-independent.  Optimize a bit by
82353         using isdigit instead of isalnum.
82354         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82356 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
82358         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82359         was a dependency or dynamically loaded.
82361 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
82363         * intl/l10nflist.c: Allow architecture-specific pop function.
82364         * sysdeps/x86_64/l10nflist.c: New file.
82366         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82367         classification.
82369 2011-08-10  Andreas Schwab  <schwab@redhat.com>
82371         * include/dirent.h: Add libc_hidden_proto for scandirat and
82372         scandirat64.  Don't declare __scandirat64.
82373         * dirent/scandirat.c: Add libc_hidden_def.
82374         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82375         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82377 2011-08-10  David S. Miller  <davem@davemloft.net>
82379         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82380         enum.
82381         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82382         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82383         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82385 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
82387         * Versions.def [libc]: Add GLIBC_2.15.
82388         * dirent/Makefile (routines): Add scandirat and scandirat64.
82389         * dirent/Versions [libc]: Export scandirat and scandirat64 for
82390         GLIBC_2.15.
82391         * dirent/dirent.h: Declare scandirat and scandirat64.
82392         * dirent/scandirat.c: New file.
82393         * dirent/scandirat64.c: New file.
82394         * sysdeps/wordsize-64/scandirat.c: New file.
82395         * sysdeps/wordsize-64/scandirat64.c: New file.
82396         * dirent/opendir.c: Define opendirat.
82397         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
82398         using scandirat.
82399         * dirent/scandir64.c: Adjust for scandir.c change.
82400         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
82401         __scandirat64, and __scandir_cancel_handler.
82402         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
82403         additional parameter and use openat instead of open (outside of ld.so).
82404         Add new __opendir as wrapper around __opendirat.
82405         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82406         here without requiring old scandirat implementation.
82408 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
82410         * dirent/scandir.c (cancel_handler): Renamed to
82411         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
82412         defined.  Adjust users.
82413         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82414         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82416 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
82418         * string/test-string.h (IMPL): Use __STRING to expand name and then
82419         stringify it.
82421         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
82422         of cleanups.
82424 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82426         * string/Makefile: Update.
82427         (strop-tests): Append strncat.
82428         * string/test-wcscmp.c: New file.
82429         New comprehensive test for wcscmp.
82430         * string/test-strcmp.c: Update.
82431         (WIDE): New define.
82433 2011-07-22  Andreas Schwab  <schwab@redhat.com>
82435         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82436         line.
82438 2011-07-26  Andreas Schwab  <schwab@redhat.com>
82440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82441         encoding to ACE if AI_IDN.
82443 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
82445         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82446         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82448 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82450         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82451         Fix overflow bug in strncat.
82452         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82454         * string/test-strncat.c: Update.
82455         Add new tests for checking overflow bugs.
82457 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82460         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82461         * sysdeps/i386/i686/multiarch/strcat.S: New file.
82462         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82463         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82464         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82465         * sysdeps/i386/i686/multiarch/strncat.S: New file.
82466         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82467         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82469         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82470         (USE_AS_STRCAT): Define.
82471         Add strcat and strncat support.
82472         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82474 2011-07-25  Andreas Schwab  <schwab@redhat.com>
82476         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82477         __n bigger than INT_MAX+1.
82478         (__strncmp_g): Likewise.
82480 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
82482         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82483         * libio/stido.h: Likewise.
82485         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82486         (AF_NFC): Define.
82487         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82488         (AF_NFC): Define.
82490         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82491         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82493         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82494         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82496         [BZ #13021]
82497         * scripts/test-installation.pl: Don't expect libnss_test1 to be
82498         installed.
82500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82501         typo.
82502         (_dl_x86_64_save_sse): Likewise.
82504 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
82506         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82507         OSXSAVE.
82508         (_dl_x86_64_save_sse): Likewise.
82510         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82512         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82514 2011-07-21  Andreas Schwab  <schwab@redhat.com>
82516         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82517         change.
82518         (_dl_x86_64_save_sse): Use correct AVX check.
82520 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82522         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82523         bug in strncpy/strncat.
82524         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82526 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
82528         * string/tester.c (test_strcat): Add tests for different alignments
82529         of source and destination.
82530         (test_strncat): Likewise.
82532 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82534         [BZ #12852]
82535         * posix/glob.c (glob): Check passed in values before using them in
82536         expressions to avoid some overflows.
82537         (glob_in_dir): Likewise.
82539         [BZ #13007]
82540         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82541         check for AVX enablement so that we don't crash with old kernels and
82542         new hardware.
82543         * elf/tst-audit4.c: Add same checks here.
82544         * elf/tst-audit6.c: Likewise.
82546         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82548 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
82550         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82552 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82554         * po/cs.po: Update from translation team.
82555         * po/bg.po: Likewise.
82557 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
82559         * misc/sys/cdefs.h: Add support for const attribute.
82560         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82561         to gnu_dev_{major,minor,makedev} functions.
82563 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
82565         * intl/dcigettext.c (get_output_charset): Add missing bracket.
82567 2011-07-20  Andreas Schwab  <schwab@redhat.com>
82569         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82570         strlen results.
82572 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82575         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82576         register in order to avoid conflicts with the soft frame pointer
82577         being held in r11 when necessary.
82578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82579         (INTERNAL_VSYSCALL_NCS): Likewise.
82581 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
82583         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82584         * elf/dl-fini.c (_dl_fini): Adjust caller.
82585         * elf/dl-close.c (_dl_close_worker): Likewise.
82586         * sysdeps/generic/ldsodefs.h: Adjust declaration.
82588 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82590         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82591         "aux_cache->nlibs < 0".
82593         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82594         in the reload-count case.
82596 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82599         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82600         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82601         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82602         * sysdeps/x86_64/multiarch/strcat.S: New file.
82603         * sysdeps/x86_64/multiarch/strncat.S: New file.
82604         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82605         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82606         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82607         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82608         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82609         (USE_AS_STRCAT): Define.
82610         Add strcat and strncat support.
82611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82612         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82613         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82614         * string/strncat.c: Update.
82615         (USE_AS_STRNCAT): Define.
82616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82617         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82618         and i7.
82619         * sysdeps/x86_64/multiarch/init-arch.h
82620         (bit_Prefer_PMINUB_for_stringop): New.
82621         (index_Prefer_PMINUB_for_stringop): Likewise.
82622         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82623         bit_Prefer_PMINUB_for_stringop.
82625 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82627         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82628         buffer64.
82629         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82630         of casting of buffer.
82631         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82632         buffer32 and buffer64.
82633         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82634         writes instead of casting of buffer.
82635         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82636         buffer32.
82637         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82638         casting of buffer.
82640 2011-07-19  Andreas Schwab  <schwab@redhat.com>
82642         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82644 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82646         * nscd/nscd.c (termination_handler): Don't do anything for a database
82647         if it has not yet been initialized.
82649 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82651         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82653 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82655         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82657 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82659         * po/nl.po: Update from translation team.
82660         * po/sv.po: Likewise.
82662 2011-07-16  Roland McGrath  <roland@hack.frob.com>
82664         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82665         now disallowed by GCC.
82667         * configure.in (use-default-link): Default to yes if a test -shared
82668         link meets our qualifications.
82669         * configure: Regenerated.
82671         * config.make.in (output-format): New variable.
82672         * configure.in: Check for ld --print-output-format support.
82673         * configure: Regenerated.
82674         * Makerules ($(common-objpfx)format.lds)
82675         [$(output-format) != unknown]: Just use $(output-format),
82676         instead of the linker-script munging.
82678 2011-07-14  Roland McGrath  <roland@hack.frob.com>
82680         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82681         of $(common-objpfx)shlib.lds.
82682         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82684         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82685         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82687         * configure.in (-z relro check): Adjust test code to add a large
82688         writable data section after it.
82689         * configure: Regenerated.
82691 2011-07-11  Roland McGrath  <roland@hack.frob.com>
82693         * configure.in (-z relro check): Fix test code to make the variable
82694         truly const.
82695         * configure: Regenerated.
82697 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
82699         * nscd/nscd.h (struct traced_file): Define.
82700         (struct database_dyn): Remove inotify_descr, reset_res, and filename
82701         elements.  Add traced_files.
82702         (inotify_fd): Declare.
82703         (register_traced_file): Declare.
82704         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82705         (inotify_fd): Export.
82706         (resolv_conf_descr): Remove.
82707         (nscd_init): Move inotify descriptor creation to main.
82708         Don't register files for notification here.
82709         (register_traced_file): New function.
82710         (invalidate_cache): Don't use reset_res to determine whether to call
82711         res_init, go through the list of registered files.
82712         (main_loop_poll): The inotify descriptors are now stored in the
82713         structures for the traced files.
82714         (main_loop_epoll): Likewise.
82715         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
82716         to __nss_disable_nscd.
82717         * nscd/cache.c (prune_cache): There is no single inotify descriptor
82718         for a database anymore.  Check the records for all the registered
82719         files instead.
82720         * nss/Makefile (libnss_files-routines): Add files-init.
82721         (libnss_db-routines): Add db-init.
82722         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82723         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82724         * nss/nss_db/db-init.c: New file.
82725         * nss/nss_files/files-init.c: New file.
82726         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
82727         __nss_lookup_function.
82728         (__nss_lookup_function): Call nss_load_library.
82729         (nss_load_all_libraries): New function.
82730         (__nss_disable_nscd): Take parameter with callback function for files
82731         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
82732         used for the cached services.
82733         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82734         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82735         options for features to all the files in nscd.
82737         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82739 2011-07-10  Roland McGrath  <roland@hack.frob.com>
82741         * csu/elf-init.c (__libc_csu_init): Comment typo.
82743 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
82745         * po/pl.po: Update from translation team.
82746         * po/ja.po: Likewise.
82747         * po/ru.po: Likewise.
82748         * po/ko.po: Likewise.
82749         * po/fr.po: Likewise.
82751 2011-07-09  Roland McGrath  <roland@hack.frob.com>
82753         * configure.in (.ctors/.dtors header and trailer check):
82754         Use an empirical test on a built program.
82755         * configure: Regenerated.
82757         * configure.in (-z relro check): Use an empirical test on a built DSO.
82758         Detect, but do not require, on ia64.
82759         * configure: Regenerated.
82761         * configure.in (READELF): Find it with AC_CHECK_TOOL.
82762         Update tests that use readelf to use $READELF instead.
82763         * configure: Regenerated.
82765 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
82767         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82768         if the result is not used.
82770 2011-07-05  Andreas Jaeger  <aj@suse.de>
82772         [BZ#9696]
82773         * stdlib/tst-strtod.c: Add testcase.
82775 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
82777         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82778         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82779         The latter has a higher limit.  Take additional parameter to pass to
82780         the new function.
82781         (__pathconf): Pass file to __statfs_link_max.
82782         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82783         __statfs_link_max.
82784         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82785         __statfs_link_max.
82787         [BZ #12868]
82788         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82789         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82790         Handle Lustre.
82791         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82792         (__statfs_filesize_max): Likewise.
82793         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82795 2011-07-05  Andreas Jaeger  <aj@suse.de>
82797         * resolv/res_comp.c (dn_skipname): Remove unused variable.
82799 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
82801         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82802         `status' variable.
82803         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82804         Likewise.
82806 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
82808         * Makefile (strop-tests): Add strncat.
82809         * string/test-strncat.c: New file.
82811 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
82813         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82815 2011-06-21  Andreas Jaeger  <aj@suse.de>
82817         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82818         Copy rule from iconvdata/Makefile.
82820 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82822         [BZ #12922]
82823         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82824         but no long options are defined, just return 'W'.
82826 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
82828         [BZ #9696]
82829         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82831 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82833         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82834         netgroups to read.
82835         (innetgr): Likewise.
82837 2011-07-05  Roland McGrath  <roland@hack.frob.com>
82839         * config.make.in (install_root): Default to $(DESTDIR).
82841 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
82843         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82845 2011-07-02  Roland McGrath  <roland@hack.frob.com>
82847         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82849         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82850         containing directory rather than embedding absolute directory names.
82852         * scripts/check-local-headers.sh: Rewritten using awk.
82853         Match by word, not by line.  Print error messages for matches.
82854         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82856         * Makerules [shlib-lds-flags empty]:
82857         ($(common-objpfx)libc_pic.opts): New target.
82858         ($(common-objpfx)libc_pic.os.clean): New target.
82859         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82861         * config.make.in (OBJCOPY): New variable.
82862         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82863         * configure: Regenerated.
82865         * config.make.in (use-default-link): New variable.
82866         * configure.in (use_default_link): Grok --with-default-link to set it.
82867         * configure: Regenerated.
82868         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82869         (shlib-lds, shlib-lds-flags): Define to empty.
82871         * Makerules (shlib-lds): New variable.
82872         (shlib-lds-flags): New variable.
82873         (build-shlib, build-moduile, build-module-asneeded): Use it.
82874         ($(common-objpfx)libc.so): Use $(shlib-lds).
82875         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82876         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82878         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82879         DT_FLAGS/DT_FLAGS_1 with zero flags.
82881         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82882         linker script munging.
82884 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
82886         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82887         as 128-bit value.
82888         * crypt/sha512.c (sha512_process_block): Perform total addition using
82889         128-bit if possible.
82890         (__sha512_finish_ctx): Likewise.
82891         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82892         as 64-bit value.
82893         * crypt/sha256.c (SWAP64): Define.
82894         (sha256_process_block): Perform total addition using 64-bit if
82895         possible.
82896         (__sha256_finish_ctx): Likewise.
82898 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82900         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82902         * nscd/hstcache.c (cache_addhst): Likewise.
82903         * nscd/grpcache.c (cache_addgr): Likewise.
82904         * nscd/aicache.c (addhstaiX): Likewise.
82905         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82907 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82909         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82910         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82911         * nscd/hstcache.c (cache_addhst): Likewise.
82912         * nscd/grpcache.c (cache_addgr): Likewise.
82913         * nscd/aicache.c (addhstaiX): Likewise.
82915 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82917         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82918         domain only when needed.
82920 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82923         is always restored.
82925 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82927         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82928         are re-adding the entry.
82929         * nscd/servicescache.c (cache_addserv): Likewise.
82931 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82933         * sysdeps/generic/dl-irel.h: fix protection against multiple
82934         inclusions.
82935         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82937 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82939         [BZ #12935]
82940         * malloc/memusage.sh: Fix quoting in message.
82941         * debug/xtrace.sh: Likewise.
82943         * configure.in: Remove support for --experimental-malloc option, make
82944         it the default.
82945         * config.make.in: Likewise.
82946         * malloc/Makefile: Likewise.
82948 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82950         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82951         two-byte characters.
82953 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82955         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82956         AC_CACHE_CHECK invocation.
82957         * configure: Regenerated.
82959         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82961 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82963         [BZ #12350]
82964         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82965         bit from old_res_options.
82967         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82969         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82970         value type for setfct.
82972 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82974         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82975         __gettimeofday instead of gettimeofday.
82977 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82979         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82981 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82983         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82985         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82986         info.
82988 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82991         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82992         strcpy-sse2-unaligned strncpy-sse2-unaligned
82993         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82994         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82995         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82996         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82997         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82998         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82999         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
83000         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
83001         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
83002         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
83003         (STRCPY): Support SSE2 and SSSE3 versions.
83005 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
83007         [BZ #12874]
83008         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
83009         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
83010         kernels which artificially limit size of requests.
83012 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
83014         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83015         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
83016         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
83017         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
83018         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
83019         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
83020         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
83021         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
83022         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
83023         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
83024         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
83025         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
83026         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
83027         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
83028         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
83029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83030         Enable unaligned load optimization for Intel Core i3, i5 and i7
83031         processors.
83032         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
83033         Define.
83034         (index_Fast_Unaligned_Load): Define.
83035         (HAS_FAST_UNALIGNED_LOAD): Define.
83037 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
83039         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
83041 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
83043         [BZ #12907]
83044         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
83045         until it is clear that the information is realy needed.
83046         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
83048 2011-06-22  Andreas Schwab  <schwab@redhat.com>
83050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
83052 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
83054         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
83055         /sys/devices/system/cpu/online if it is usable.
83057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
83058         reading the information from the /proc filesystem to once a second.
83060 2011-06-21  Andreas Jaeger  <aj@suse.de>
83062         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
83063         NULL after inclusion of kernel headers.
83065 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
83067         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
83068         calls to internal_setent.
83070         [BZ #12885]
83071         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
83072         addresses using gethostbyname4_r ignore IPv4 addresses.
83074         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
83075         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
83077         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
83079 2011-06-20  David S. Miller  <davem@davemloft.net>
83081         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
83082         inclusions.
83083         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
83085         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
83086         (elf_irel): Use it.
83087         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
83088         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
83089         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
83090         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
83091         * sysdeps/x86_64/dl-irel.h: Likewise.
83093         * elf/dl-runtime.c: Use elf_ifunc_invoke.
83094         * elf/dl-sym.c: Likewise.
83096 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
83098         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
83099         need to dereference resplen2.
83101 2011-06-14  Andreas Schwab  <schwab@redhat.com>
83103         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
83105 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
83107         * Makeconfig: Define vardbdir and inst_vardbdir.
83108         * nss/Makefile: Add rules to install db-Makefile.
83110         * nss/nss_db/db-XXX.c: Cleanup.
83112         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
83113         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83114         GLIBC_PRIVATE.
83115         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83116         * nss/makedb.c: Implement -g option to specify that value strings
83117         are generated and should not be added to table iterated over for
83118         get*ent calls.
83119         * nss/nss_db/db-initgroups.c: New file.
83121         * nss/getent.c: Add support for initgroups lookups through getgrouplist
83122         interface.
83124         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83125         (internal_getgrouplist): Adjust to name change.
83126         Update use_initgroups_entry if this is not the first call.
83127         * nss/databases.def: Add initgroups entry.
83129         * nss/makedb.c (compute_tables): Check result of multiple hash table
83130         sizes to minimize maximum chain length.
83132 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
83134         * Versions.def: Add entry for libnss_db.
83135         * shlib-versions: Likewise.
83136         * nss/Makefile: Add rules to build libnss_db.
83137         * nss/Versions: Add libnss_db information.  Organize libnss_files
83138         entries better.
83139         * nss/db-Makefile: Add gshadow support.  Change rules for the new
83140         makedb progra.  Some minor improvements to generate smaller files.
83141         * nss/nss_db/nss_db.h: Move NSS database header data structures to
83142         here from...
83143         * nss/makedb.c: ...here.
83144         Improve database format to be smaller and require less memory at
83145         runtime.
83146         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
83147         db anymore.
83148         * nss/nss_db/db-netgrp.c: Likewise.
83149         * nss/nss_db/db-open.c: Likewise.
83150         * nss/nss_files/flies-XXX.x: Adjust comments.
83151         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83152         * nss/nss_files/files-grp.c: Likewise.
83153         * nss/nss_files/files-hosts.c: Likewise.
83154         * nss/nss_files/files-network.c: Likewise.
83155         * nss/nss_files/files-proto.c: Likewise.
83156         * nss/nss_files/files-pwd.c: Likewise.
83157         * nss/nss_files/files-rpc.c: Likewise.
83158         * nss/nss_files/files-service.c: Likewise.
83159         * nss/nss_files/files-sgrp.c: Likewise.
83160         * nss/nss_files/files-spwd.c: Likewise.
83161         * nss/nss_db/db-alias.c: Removed.
83162         * nss/nss_db/dummy-db.h: Removed.
83164 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
83166         * nss/makedb.c: Rewritten to not use database library.
83167         * nss/Makefile: Update to build new makedb program.
83169 2011-06-14  Andreas Jaeger  <aj@suse.de>
83171         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83172         memset declaration.
83174 2011-06-10  Andreas Schwab  <schwab@redhat.com>
83176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83177         tmpbuf.
83179 2011-06-10  Roland McGrath  <roland@hack.frob.com>
83181         * Makerules (shlib.lds): Fail if the linker script comes out empty.
83182         * elf/Makefile ($(objpfx)ld.so): Likewise.
83184         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83185         Don't list ld.so twice in dependencies.
83187         * posix/bug-regex31.c: Include <stdlib.h>.
83189         * nscd/hstcache.c (cache_addhst): Remove unused variable.
83191         * nis/nss_compat/compat-spwd.c
83192         (getspent_next_nss_netgr): Remove unused variable.
83193         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83195         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83196         nonmembers" output to use the right array.
83198         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83200         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83202         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83203         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83204         * catgets/gencat.c (read_input_file): Likewise.
83205         * locale/programs/locarchive.c (enlarge_archive): Likewise.
83207         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83208         variable definition inside #if's controlling its use.
83210         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83212         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83214         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83216         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83217         unreachable code.
83219         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83221         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83222         * configure: Regenerated.
83224         * Makerules: Revert last change.
83225         * elf/Makefile: Likewise.
83227 2011-06-09  Roland McGrath  <roland@hack.frob.com>
83229         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83230         * elf/Makefile ($(objpfx)librtld.os): Likewise.
83231         (reloc-link): Likewise.
83233 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
83235         * elf/Makefile: Add rules to build pldd.
83236         * elf/pldd.c: New file.
83237         * elf/pldd-xx.c: New file.
83239 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
83241         * version.h: Update for 2.15 development version.
83243 2011-06-07  David S. Miller  <davem@davemloft.net>
83245         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83246         ifuncs.
83247         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83248         elf_machine_lazy_rel): Likewise.
83249         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83250         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83251         elf_machine_lazy_rel): Likewise.
83252         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83253         dl_hwcap via passed in argument.
83254         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83255         Likewise.
83257 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83259         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
83261 2011-06-06  Roland McGrath  <roland@hack.frob.com>
83263         [BZ #12849]
83264         * manual/fdl-1.1.texi: New file, verbatim from:
83265         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83266         * manual/lgpl-2.1.texi: New file, verbatim from:
83267         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83268         * manual/Makefile (licenses): New variable, list those new file names.
83269         (texis): Use it.
83270         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83272         * manual/fdl.texi: File removed.
83273         * manual/lesser.texi: File removed.
83274         * manual/libc.texinfo (Copying, Documentation License):
83275         Use new @include file names, put @appendix directive before @include.
83277 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
83279         [BZ #12841]
83280         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83281         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83282         (mq_open): Add __NTH.
83284 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
83286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83287         Assume Intel Core i3/i5/i7 processor if AVX is available.
83289 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83291         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83292         typo.
83294 2011-05-31  Andreas Schwab  <schwab@redhat.com>
83296         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83297         memory.  Use alloca_account.  Fix memory leak when retrying.
83299 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83301         * version.h (RELEASE): Bump for 2.14 release.
83302         * include/features.h (__GLIBC_MINOR__): Bump to 14.
83304         * config.make.in (RANLIB): Remove entry.
83306 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
83308         * po/Makefile (po-sed-cmd): Add ksh to extensions.
83309         (libc.pot): Work around missing support for .ksh extension in xgettext.
83311         [BZ #12684]
83312         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83313         if both request failed.
83314         (send_dg): In case of server errors clear resplen or *resplen2.
83316         [BZ #12454]
83317         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83318         when there are multiple maps.
83319         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83320         (_dl_fini): Remove test here.
83322         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83324 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
83326         [BZ #12350]
83327         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83328         bit from old_res_options.
83329         (gaih_inet): Likewise.
83331         [BZ #11099]
83332         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83333         as signed.
83335         * resolv/res_init.c (res_setoptions): Make the code more compact.
83337         [BZ #11558]
83338         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83339         set RES_USEVC.
83341         [BZ #11634]
83342         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83344         * malloc/malloc.h: Mark malloc hook variables as deprecated.
83346         [BZ #11781]
83347         * malloc/malloc.h: Declare malloc hook variables as volatile.
83349         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83350         in last patch.
83352         [BZ #11799]
83353         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83354         raise in the comment.
83355         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83356         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83357         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83359 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
83361         [BZ #12811]
83362         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83363         grow the buffers more if it already has to be sufficient.
83364         (build_wcs_upper_buffer): Likewise.
83365         * posix/regexec.c (check_matching): Likewise.
83366         (clean_state_log_if_needed): Likewise.
83367         (extend_buffers): Don't enlarge buffers beyond size of the input
83368         buffer.
83369         Patches mostly by Emil Wojak <emil@wojak.eu>.
83370         * posix/bug-regex32.c: New file.
83371         * posix/Makefile (tests): Add bug-regex32.
83373         * locale/findlocale.c (_nl_find_locale): Return right away if
83374         _nl_explode_name failed.
83375         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83377         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83379         * debug/xtrace.sh: Unify messages.
83380         * malloc/memusage.sh: Likewise.
83382         [BZ #12813]
83383         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83384         time symbol from vDSO.  Substitute with vsyscall if not available.
83385         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83386         __vdso_time.
83388         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83389         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83390         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83391         Add sendmmsg and internal_sendmmsg.
83392         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83393         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83394         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83396         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83397         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83398         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83400 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
83402         [BZ #12813]
83403         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83404         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
83405         available.
83406         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83407         __vdso_getcpu.
83409         [BZ #12814]
83410         * iconvdata/Makefile (tests): Add bug-iconv9.
83411         * iconvdata/bug-iconv9.c: New file.
83413 2011-05-27  Andreas Schwab  <schwab@redhat.com>
83415         [BZ #12814]
83416         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83418 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
83420         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83421         (struct user_regs_struct): Change intcs field back to cs.
83423 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
83425         * po/ja.po: Update from translation team.
83427 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
83429         [BZ #12795]
83430         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83431         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83433 2011-05-20  Andreas Schwab  <schwab@redhat.com>
83435         * stdlib/longlong.h: Update from GCC.
83437 2011-05-23  Andreas Schwab  <schwab@redhat.com>
83439         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83440         parameter name.
83441         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83442         Add parameter name.
83443         (__sysconf): Pass it down.
83445 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
83447         [BZ #12671]
83448         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83449         some situations.
83450         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83451         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83452         add in in __libc_use_alloca calls.  Adjust callers.
83453         (glob): Use malloc in some situations.
83455         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83456         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83457         pltexit.
83459 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
83461         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83462         and CLOCK_BOOTTIME_ALARM.
83464         [BZ #12782]
83465         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83466         is returned.
83468         * string/_strerror.c (__strerror_r): Print negative errors as signed
83469         numbers.
83471         [BZ #12777]
83472         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83473         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83474         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83476         * configure.in: Fix typo in redirection and correct removal of test
83477         files in two cases.
83479         [BZ #12788]
83480         * locale/setlocale.c (new_composite_name): Fix test to check for
83481         identical name of all categories.
83483         [BZ #12792]
83484         * libio/filedoalloc.c (local_isatty): New function.
83485         (_IO_file_doallocate): Use local_isatty.
83486         * stdio-common/perror.c (perror): In case a new stream is used
83487         forward the stream error.
83488         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83489         error flag.
83491 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
83493         [BZ #11884]
83494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83495         alloca.
83496         * include/alloca.h (extend_alloca_account): Define.
83498         [BZ #11857]
83499         * posix/regex.h: Fix comments with documentation of user-accessible
83500         fields after compilation and describe correct free'ing of pattern
83501         after re_compile_pattern.
83502         Patch by Reuben Thomas <rrt@sc3d.org>.
83504 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
83506         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83507         and -mno-altivec to prevent the compiler from using Altivec and/or
83508         VSX instructions when the corresponding registers are not available.
83510 2011-05-19  Andreas Schwab  <schwab@redhat.com>
83512         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83514 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
83516         * libio/freopen.c (freopen): Use __dup2, not dup2.
83517         * libio/freopen64.c (freopen64): Likewise.
83519 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
83521         [BZ #12775]
83522         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83523         * math/Makefile (tests): Add test-powl.
83524         (CFLAGS-test-powl.c): Define.
83525         * math/test-powl.c: New file.
83527 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
83529         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83531 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
83533         [BZ #11837]
83534         * iconvdata/gb18030.c: Update to GB18020-2005.
83536 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
83538         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83539         RE_SYNTAX_POSIX_AWK): Update to match recent development.
83540         Patch by Aharon Robbins <arnold@skeeve.com>.
83542         [BZ #11892]
83543         * stdlib/putenv.c (putenv): Don't always create copy of the variable
83544         on the stack.
83546         [BZ #11895]
83547         * misc/pselect.c (__pselect): Handle timeout value errors hidden
83548         through underflows.
83550         [BZ #12766]
83551         * misc/error.c (error_at_line): Ensure file_name and old_file_name
83552         point to strings before performing equality test for error_one_per_line
83553         mode.
83555         [BZ #11697]
83556         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83558         [BZ #11820]
83559         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83560         (struct user_fpregs_struct): Avoid __uint*_t types.
83562         [BZ #6420]
83563         * malloc/mtrace.c (tr_where): Add additional parameter to point to
83564         symbol info.  Use it instead of calling _dl_addr locally.
83565         (lock_and_info): New function.
83566         (tr_freehook): Call lock_and_info and pass symbol info as additional
83567         parameter to tr_where.
83568         (tr_mallochook): Likewise.
83569         (tr_reallochook): Likewise.
83570         (tr_memalignhook): Likewise.
83572         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
83573         used and couldn't be at all thread-safe.
83575 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
83577         * libio/freopen.c (freopen): Don't close old file descriptor
83578         before the new one is opened.  Instead dup the new file descriptor
83579         to the old one after the new stream is created.
83580         * libio/freopen64.c (freopen64): Likewise.
83581         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83582         * libio/fileops.c (_IO_new_file_close_it): Handle new
83583         _IO_FLAGS2_NOCLOSE flag.
83584         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83585         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83586         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83587         _IO_FLAGS2_NOCLOSE flag.
83588         * include/unistd.h: Add hidden_proto for dup3.
83589         Define __have_dup3.
83590         * io/dup3.c: Define hidden symbol.
83591         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83593         [BZ #7101]
83594         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83595         when an incomplete long option is used.
83596         * posix/tst-getopt_long1.c: New file.
83597         * posix/Makefile (tests): Add tst-getopt_long1.
83599         [BZ #10138]
83600         * scripts/config.guess: Update from autoconf-2.68.
83601         * scripts/config.sub: Likewise.
83603         [BZ #10157]
83604         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83605         tests into ...
83606         (has_cpuclock): ...this.  New function.
83607         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83608         macro here based on has_cpuclock code.
83610         [BZ #10149]
83611         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83612         First byte (not low byte) is now always NUL.
83613         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83616         Use non-cancelable interfaces.
83618         [BZ #9809]
83619         * locale/iso-639.def: Add entry for Sorani.
83621         [BZ #11901]
83622         * include/stdlib.h: Move include protection to the right place.
83623         Define abort_msg_s.  Declare __abort_msg with it.
83624         * stdlib/abort.c (__abort_msg): Adjust type.
83625         * assert/assert.c (__assert_fail_base): New function.  Majority
83626         of code from __assert_fail.  Allocate memory for __abort_msg with
83627         mmap.
83628         (__assert_fail): Now call __assert_fail_base.
83629         * assert/assert-perr.c: Remove bulk of implementation.  Use
83630         __assert_fail_base.
83631         * include/assert.hL Declare __assert_fail_base.
83632         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83633         mmap.
83634         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83636 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
83638         [BZ #11952]
83639         [BZ #12453]
83640         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83641         until all modules are registered in the DTV.
83642         * elf/Makefile: Add rules to build and run tst-tls19.
83643         * elf/tst-tls19.c: New file.
83644         * elf/tst-tls19mod1.c: New file.
83645         * elf/tst-tls19mod2.c: New file.
83646         * elf/tst-tls19mod3.c: New file.
83647         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83649         [BZ #12083]
83650         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83651         correctly.
83653         [BZ #12601]
83654         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83655         two-byte sequence errors.
83656         * iconvdata/Makefile (tests): Add bug-iconv8.
83657         * iconvdata/bug-iconv8.c: New file.
83659         [BZ #12626]
83660         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83661         buf2 definition.
83663         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83665         [BZ #12432]
83666         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83667         (dummy_getcfa): New function.
83668         (init): Get _Unwind_GetCFA address, use dummy if not found.
83669         (backtrace_helper): In recursion check, also check whether CFA changes.
83670         (__backtrace): Completely initialize arg.
83672         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83673         storing incomplete byte sequence in state object.  Avoid testing for
83674         guaranteed too small input if we know there is enough data available.
83676 2011-05-11  Andreas Schwab  <schwab@redhat.com>
83678         * Makeconfig (+link-pie): Indent.
83679         * Rules (binaries-pie): Define if $(have-fpie) and
83680         $(build-shared).
83681         (binaries-shared): Also filter out $(binaries-pie).
83682         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83683         * nscd/Makefile (others-pie): Add nscd.
83684         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83685         ($(objpfx)nscd): Remove command override.
83686         * login/Makefile (others-pie): Add pt_chown.
83687         ($(objpfx)pt_chown): Remove command override.
83688         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83689         remove command overrides.
83691 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
83693         * libio/tst_putwc.c: Fix error messages.
83695         [BZ #12724]
83696         * libio/fileops.c (_IO_new_file_close_it): Always flush when
83697         currently writing and seek to current position when not.
83698         * libio/Makefile (tests): Add bug-fclose1.
83699         * libio/bug-fclose1.c: New file.
83701 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
83703         [BZ #12511]
83704         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83705         don't set DF_1_NODELETE here.
83706         (do_lookup_x): When entering new entry test for copy relocation
83707         and if necessary set DF_1_NODELETE flag.
83708         * elf/tst-unique4.cc: New file.
83709         * elf/tst-unique4.h: New file.
83710         * elf/tst-unique4lib.cc: New file.
83711         * elf/Makefile: Add rules to build and run tst-unique4.
83712         Patch by Piotr Bury <pbury@goahead.com>.
83714 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
83716         [BZ #12052]
83717         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83719         [BZ #12625]
83720         * misc/mntent_r.c (addmntent): Flush the stream after the output
83722         [BZ #12393]
83723         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83724         (is_trusted_path_normalize): Skip initial colon.  Append slash
83725         to empty buffer.  Duplicate is_trusted_path code but allow
83726         constructed patch to be prefix.
83727         (is_dst): Allow $ORIGIN followed by /.
83728         (_dl_dst_substitute): Correct clearing of check_for_trusted.
83729         Correct testing of result of is_trusted_path_normalize
83730         (decompose_rpath): Fix warning.
83732 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
83734         [BZ #11257]
83735         * grp/initgroups.c (internal_getgrouplist): When we found the service
83736         list through the initgroups entry in nsswitch.conf do not always
83737         continue on a successful lookup.  Don't always use the
83738         __nss_group_database value if it is set.
83739         * nss/nsswitch.conf (initgroups): Change action for successful db
83740         lookup to continue for compatibility.
83742 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
83744         [BZ #11532]
83745         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83746         and CP774 modules.
83747         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83748         and CP774 modules.
83749         * iconvdata/tst-tables.sh: Likewise.
83750         * iconvdata/cp770.c: New file.
83751         * iconvdata/cp771.c: New file.
83752         * iconvdata/cp772.c: New file.
83753         * iconvdata/cp773.c: New file.
83754         * iconvdata/cp774.c: New file.
83755         * iconvdata/testdata/CP770: New file.
83756         * iconvdata/testdata/CP770..UTF8: New file.
83757         * iconvdata/testdata/CP771: New file.
83758         * iconvdata/testdata/CP771..UTF8: New file.
83759         * iconvdata/testdata/CP772: New file.
83760         * iconvdata/testdata/CP772..UTF8: New file.
83761         * iconvdata/testdata/CP773: New file.
83762         * iconvdata/testdata/CP773..UTF8: New file.
83763         * iconvdata/testdata/CP774: New file.
83764         * iconvdata/testdata/CP774..UTF8: New file.
83766         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83767         END CHARMAP line.
83768         * iconvdata/gen-8bit-gap.sh: Likewise.
83769         * iconvdata/gen-8bit.sh: Likewise.
83771         * locale/iso-639.def: Add ary entry.
83773         [BZ #11258]
83774         * locale/C-translit.h.in: Add U20A1 transliteration.
83776         [BZ #12178]
83777         * locale/iso-639.def: Add wae entry.
83778         Patch by Kevin Bortis <bortis@translate-wae.ch>.
83780         [BZ #12545]
83781         * locale/programs/localedef.c (construct_output_path): Use ssize_t
83782         for n.
83784         [BZ #12711]
83785         * locale/C-translit.h.in: Add entry for U20B9.
83786         Patch by pravin.d.s@gmail.com.
83788 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
83790         [BZ #12713]
83791         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83792         ENAMETOOLONG use generic getcwd.
83793         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
83794         in rtld.  Use *stat64.
83795         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83796         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83797         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83798         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83799         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83800         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83801         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83802         __fstatat64 macros.
83803         * include/dirent.h: Add libc_hidden_proto for rewinddir.
83804         * dirent/rewinddir.c: Add libc_hidden_def.
83805         * sysdeps/mach/hurd/rewinddir.c: Likewise.
83806         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
83808         * include/dirent.h (__alloc_dir): Add flags parameter.
83809         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83810         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83811         __alloc_dir.
83812         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
83813         from fdopendir if O_CLOEXEC is already set.
83815 2011-03-15  Alan Modra  <amodra@gmail.com>
83817         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83818         l_tls_firstbyte_offset non-zero.  Save padding offset in
83819         l_tls_firstbyte_offset for later use.
83820         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83821         freeing static tls block.
83823 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
83825         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83826         where #ifdef was intended.  The intent is to prevent ARG_MAX from
83827         being defined by the kernel headers.
83829 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
83831         [BZ #12734]
83832         * resolv/resolv.h: Define RES_NOTLDQUERY.
83833         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83834         no-tld-query and set RES_NOTLDQUERY.
83835         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83836         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83837         modern BIND to search name as TLD unless forbidden.
83839 2011-05-07  Petr Baudis  <pasky@suse.cz>
83840             Ulrich Drepper  <drepper@gmail.com>
83842         [BZ #12393]
83843         * elf/dl-load.c (fillin_rpath): Move trusted path check...
83844         (is_trusted_path): ...to here.
83845         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83846         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83847         using is_trusted_path_normalize() in setuid scripts.
83849 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83851         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83852         __BEGIN/__END_DECLS.
83854 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
83856         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83857         NSS_STATUS_NOTFOUND if no record was found.
83859 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83861         * sunrpc/Makefile (headers): Add rpc/netdb.h.
83862         (headers-not-in-tirpc): Remove rpc/netdb.h
83863         * resolv/netdb.h: Revert last change.
83865 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83867         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83868         circular dependency between libgcc.a and libc.a.
83870 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83872         * resolv/netdb.h: Don't include <rpc/netdb.h>.
83873         * nis/Makefile: Don't install rpcsvc/*.
83874         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83875         instead of <rpc/types.h>.
83876         (MAXHOSTNAMELEN): Define.
83878 2011-05-03  Andreas Schwab  <schwab@redhat.com>
83880         * elf/ldconfig.c (add_dir): Don't crash on empty path.
83882 2011-04-28  Maciej Babinski  <mbabinski@google.com>
83884         [BZ #12714]
83885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83886         gethostbyname4_r when IPv6 results are possible.
83888 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
83890         [BZ #12723]
83891         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83892         _PC_PIPE_BUF handling.
83894 2011-04-30  Bruno Haible  <bruno@clisp.org>
83896         [BZ #12717]
83897         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83898         * resolv/netdb.h (getnameinfo): Change type of flags parameter
83899         to 'int'.
83900         * inet/getnameinfo.c (getnameinfo): Likewise.
83902 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83904         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83905         to groups setting in database lookup.
83906         * nss/nsswitch.conf: Add initgroups entry.
83908 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83910         [BZ #12685]
83911         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83912         mode string.
83913         Patch by Eric Blake <eblake@redhat.com>.
83915 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83917         * sunrpc/Makefile (need-export-routines): Add svc_run.
83918         (routines): Remove svc_run.
83919         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83920         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83921         * sunrpc/svc_run.c (svc_run): Likewise.
83922         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83924 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83926         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83927         problem in reallocation in last patch.
83929 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83931         * sunrpc/Makefile: Move inclusion of Rules.
83933 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83935         * nss/nss_files/files-initgroups.c: New file.
83936         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83937         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83938         _nss_files_initgroups_dyn.
83940 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83942         * elf/elf.h (R_ARM_IRELATIVE): Define.
83944 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83946         * po/ru.po: Update from translation team.
83948 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83950         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83951         dependencies.
83953 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83955         [BZ #12653]
83956         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83957         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83959         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83960         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83962 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83964         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83965         differing bytes.
83966         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83967         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83968         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83970 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83972         [BZ #12420]
83973         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83974         storing it.
83975         * stdlib/bug-getcontext.c: New file.
83976         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83978 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83980         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83981         instructions into .machine "z9-109".
83982         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83983         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83985 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83987         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83988         between environment variables and auxiliary vector.
83990 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83992         * Makefile: Add rules to build linkobj/libc.so.
83993         * include/libc-symbols.h: Define libc_hidden_nolink.
83994         * include/rpc/auth.h: Mark functions which are to be hidden.
83995         * include/rpc/auth_des.h: Likewise.
83996         * include/rpc/auth_unix.h: Likewise.
83997         * include/rpc/clnt.h: Likewise.
83998         * include/rpc/des_crypt.h: Likewise.
83999         * include/rpc/key_prot.h: Likewise.
84000         * include/rpc/pmap_clnt.h: Likewise.
84001         * include/rpc/pmap_prot.h: Likewise.
84002         * include/rpc/pmap_rmt.h: Likewise.
84003         * include/rpc/rpc_msg.h: Likewise.
84004         * include/rpc/svc.h: Likewise.
84005         * include/rpc/svc_auth.h: Likewise.
84006         * include/rpc/xdr.h: Likewise.
84007         * nis/Makefile: Link all DSOs against linkobj/libc.so.
84008         * nss/Makefile: Likewise.
84009         * sunrpc/Makefile: Don't install headers.  Build library with normal
84010         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
84011         * sunrpc/auth_des.c: Hide exported symbols by default, export some
84012         for the compat linking library.  Remove use of INTDEF/INTUSE.
84013         * sunrpc/auth_none.c: Likewise.
84014         * sunrpc/auth_unix.c: Likewise.
84015         * sunrpc/authdes_prot.c: Likewise.
84016         * sunrpc/authuxprot.c: Likewise.
84017         * sunrpc/clnt_gen.c: Likewise.
84018         * sunrpc/clnt_perr.c: Likewise.
84019         * sunrpc/clnt_raw.c: Likewise.
84020         * sunrpc/clnt_simp.c: Likewise.
84021         * sunrpc/clnt_tcp.c: Likewise.
84022         * sunrpc/clnt_udp.c: Likewise.
84023         * sunrpc/clnt_unix.c: Likewise.
84024         * sunrpc/des_crypt.c: Likewise.
84025         * sunrpc/des_soft.c: Likewise.
84026         * sunrpc/get_myaddr.c: Likewise.
84027         * sunrpc/key_call.c: Likewise.
84028         * sunrpc/key_prot.c: Likewise.
84029         * sunrpc/netname.c: Likewise.
84030         * sunrpc/pm_getmaps.c: Likewise.
84031         * sunrpc/pm_getport.c: Likewise.
84032         * sunrpc/pmap_clnt.c: Likewise.
84033         * sunrpc/pmap_prot.c: Likewise.
84034         * sunrpc/pmap_prot2.c: Likewise.
84035         * sunrpc/pmap_rmt.c: Likewise.
84036         * sunrpc/publickey.c: Likewise.
84037         * sunrpc/rpc_cmsg.c: Likewise.
84038         * sunrpc/rpc_common.c: Likewise.
84039         * sunrpc/rpc_dtable.c: Likewise.
84040         * sunrpc/rpc_prot.c: Likewise.
84041         * sunrpc/rpc_thread.c: Likewise.
84042         * sunrpc/rtime.c: Likewise.
84043         * sunrpc/svc.c: Likewise.
84044         * sunrpc/svc_auth.c: Likewise.
84045         * sunrpc/svc_authux.c: Likewise.
84046         * sunrpc/svc_raw.c: Likewise.
84047         * sunrpc/svc_run.c: Likewise.
84048         * sunrpc/svc_simple.c: Likewise.
84049         * sunrpc/svc_tcp.c: Likewise.
84050         * sunrpc/svc_udp.c: Likewise.
84051         * sunrpc/svc_unix.c: Likewise.
84052         * sunrpc/svcauth_des.c: Likewise.
84053         * sunrpc/xcrypt.c: Likewise.
84054         * sunrpc/xdr.c: Likewise.
84055         * sunrpc/xdr_array.c: Likewise.
84056         * sunrpc/xdr_float.c: Likewise.
84057         * sunrpc/xdr_intXX_t.c: Likewise.
84058         * sunrpc/xdr_mem.c: Likewise.
84059         * sunrpc/xdr_rec.c: Likewise.
84060         * sunrpc/xdr_ref.c: Likewise.
84061         * sunrpc/xdr_sizeof.c: Likewise.
84062         * sunrpc/xdr_stdio.c: Likewise.
84064 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
84066         [BZ #12650]
84067         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
84068         * sysdeps/ia64/dl-tls.h: Likewise.
84069         * sysdeps/powerpc/dl-tls.h: Likewise.
84070         * sysdeps/s390/dl-tls.h: Likewise.
84071         * sysdeps/sh/dl-tls.h: Likewise.
84072         * sysdeps/sparc/dl-tls.h: Likewise.
84073         * sysdeps/x86_64/dl-tls.h: Likewise.
84074         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
84076 2011-03-14  Andreas Schwab  <schwab@redhat.com>
84078         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
84079         rpath element also skip the following colon.
84080         (expand_dynamic_string_token): Add is_path parameter and pass
84081         down to DL_DST_REQUIRED and _dl_dst_substitute.
84082         (decompose_rpath): Call expand_dynamic_string_token with
84083         non-zero is_path.  Ignore empty rpaths.
84084         (_dl_map_object_from_fd): Call expand_dynamic_string_token
84085         with zero is_path.
84087 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
84089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
84090         Make cancelable.
84092 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
84094         [BZ #12655]
84095         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
84096         Patch by Filipe David Manana <fdmanana@apache.org>.
84098 2011-04-07  Andreas Schwab  <schwab@redhat.com>
84100         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
84101         Maintain aligned stack.
84102         (CHECK_RSP): Remove unused macro.
84104 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
84106         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
84107         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
84109 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
84111         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
84113         * include/features.h: Mention __USE_XOPEN2K8 in comment.
84115 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
84117         [BZ #12518]
84118         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84119         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84120         * sysdeps/x86_64/memmove.c: New file.
84121         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84122         (memcpy): Renamed to ...
84123         (__new_memcpy): This.
84124         (memcpy): Provide GLIBC_2_14 memcpy.
84125         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84126         (memcpy): Provide GLIBC_2_2_5 memcpy.
84128 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84130         [BZ #12631]
84131         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84133 2011-03-30  Andreas Schwab  <schwab@redhat.com>
84135         * misc/syncfs.c: New file.
84136         * misc/Makefile (routines): Add syncfs.
84137         * posix/unistd.h: Declare syncfs.
84138         * sysdeps/unix/syscalls.list: Add syncfs.
84140 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84142         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84143         open_by_handle_at.
84144         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84145         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84146         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84147         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84148         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84149         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
84150         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84152 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84154         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84155         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84156         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84157         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84158         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84160         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84162         * io/Makefile: Compile fallocate.c, fallocate64.c, and
84163         sync_file_range.c with -fexceptions.
84164         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84165         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84166         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84167         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84168         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84169         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84170         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84171         sync_file_range as cancellation point
84172         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
84173         now a wrapper around __call_sync_file_range with cancellation handling.
84174         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84175         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
84176         function name to __call_sync_file_range.
84177         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84178         Add call_sync_file_range.
84180 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84183         bits/timex.h.
84185 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84187         * iconv/iconv.h: Fix typo in comment.
84188         * io/fcntl.h: Likewise.
84189         * libio/stdio.h: Likewise.
84190         * posix/spawn.h: Likewise.
84191         * posix/unistd.h: Likewise.
84192         * stdlib/stdlib.h: Likewise.
84193         * time/time.h: Likewise.
84194         * wcsmbs/wchar.h: Likewise.
84196         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84197         open_by_handle): Add.
84198         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84199         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
84200         Augment a few comments.
84201         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84202         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84203         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84204         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84205         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84206         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84207         open_by_handle.
84209         * io/fcntl.h (AT_EMPTY_PATH): Define.
84211 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
84213         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84214         * sysdeps/unix/sysv/linux/bits/time.h: New file.
84215         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84216         to...
84217         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
84218         * Versions.def: Add GLIBC_2.14.
84219         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84220         Export.
84222 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
84224         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84225         round counter.
84226         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84228 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84230         [BZ #12597]
84231         * string/test-strncmp.c (do_page_test): New function.
84232         (check2): Likewise.
84233         (test_main): Call check2.
84234         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84236 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
84238         [BZ #12587]
84239         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84240         Handle cache information in CPU leaf 4.
84241         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84243 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
84245         [BZ #12583]
84246         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84247         character representation.
84248         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84250 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
84252         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84253         END(__isnan) to END(__isnanf) to match function entry point/label
84254         EALIGN(__isnanf,...).
84256 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
84258         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84260 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
84262         [BZ #12510]
84263         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84264         copy from the symbol referenced in the relocation to initialize the
84265         used variable.
84266         Patch by Piotr Bury <pbury@goahead.com>.
84267         * elf/Makefile: Add rules to build and tst-unique3.
84268         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84269         * elf/tst-unique3.cc: New file.
84270         * elf/tst-unique3.h: New file.
84271         * elf/tst-unique3lib.cc: New file.
84272         * elf/tst-unique3lib2.cc: New file.
84274         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84276 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
84278         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84279         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
84280         to _start.
84282 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
84284         * elf/dl-load.c (_dl_map_object): If we are looking for the first
84285         to-be-loaded object along a path to loader is ld.so.
84287 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84288             Ulrich Drepper  <drepper@gmail.com>
84290         * sysdeps/x86_64/memset.S: After aligning destination, code
84291         branches to different locations depending on the value of
84292         misalignment, when multiarch is enabled. Fix this.
84294 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84296         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84297         Set _x86_64_preferred_memory_instruction for AMD processsors.
84298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84299         Set bit_Prefer_SSE_for_memop for AMD processors.
84301 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
84303         * libio/fmemopen.c (fmemopen): Optimize a bit.
84305 2011-03-03  Andreas Schwab  <schwab@redhat.com>
84307         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84309 2011-03-03  Roland McGrath  <roland@redhat.com>
84311         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84313 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
84315         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84316         __bzero_ultra1 instead of __memset_ultra1.
84318 2011-02-23  Andreas Schwab  <schwab@redhat.com>
84319             Ulrich Drepper  <drepper@gmail.com>
84321         [BZ #12509]
84322         * include/link.h (struct link_map): Add l_orig_initfini.
84323         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84324         returning unsuccessfully.
84325         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84326         close of a file loaded at startup, restore the original l_initfini
84327         list.
84328         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84329         list, store the pointer.
84330         * elf/Makefile ($(objpfx)noload-mem): New rule.
84331         (noload-ENV): Define.
84332         (tests): Add $(objpfx)noload-mem.
84333         * elf/noload.c: Include <memcheck.h>.
84334         (main): Call mtrace.  Close all opened handles.
84336 2011-02-17  Andreas Schwab  <schwab@redhat.com>
84338         [BZ #12454]
84339         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84340         dependencies are missing.
84342 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84344         Fix __if_freereq crash: Unlike the generic version which uses free,
84345         Hurd needs munmap.
84346         * sysdeps/mach/hurd/ifreq.h: New file.
84348 2011-01-27  Petr Baudis  <pasky@suse.cz>
84349             Ulrich Drepper  <drepper@gmail.com>
84351         [BZ 12445]#
84352         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84353         to extend_alloca().
84354         * stdio-common/bug23.c: New file.
84355         * stdio-common/Makefile (tests): Add bug23.
84357 2010-09-28  Andreas Schwab  <schwab@redhat.com>
84358             Ulrich Drepper  <drepper@gmail.com>
84360         [BZ #12489]
84361         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84362         before performing relro protection.  At old place add assertion
84363         to make sure nothing changed.
84365 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
84366             Glauber de Oliveira Costa  <glommer@gmail.com>
84368         * elf/elf.h: Add new ARM TLS relocs.
84370 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
84372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84373         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84374         cast from r3.
84375         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
84376         'tests' variable.
84377         * sysdeps/wordsize-64/tst-writev.c: New file.
84379 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
84381         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84382         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84383         insns in _dl_start to prevent a TOC reference before relocs are
84384         resolved.
84386 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
84388         [BZ #12469]
84389         * Makeconfig: Remove RANLIB definition.
84390         * Makerules: Don't use RANLIB.
84391         * aclocal.m4: Remove ranlib test.
84392         * configure.in: No need to check for ranlib.
84393         * elf/rtld-Rules: Don't use RANLIB.
84395 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84397         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84398         protection macro.
84399         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84400         inclusion protection macro.
84402         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84403         SIGRTMIN and SIGRTMAX and print information in that case only when
84404         SIGRTMIN is defined.
84406 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
84408         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84409         arginfo fn returning -1.
84411         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84412         and thousands string is zero terminated.
84414 2011-02-03  Andreas Schwab  <schwab@redhat.com>
84416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84417         sysdeps/unix/sysv/linux/bits/socket.h.
84419 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84421         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84422         (__CPU_COUNT): Remove old macros.
84423         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84424         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84425         (__CPU_ALLOC, __CPU_FREE): Add macros.
84426         (__sched_cpualloc, __sched_cpufree): Add declarations.
84428 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
84430         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84431         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84432         * nscd/aicache.c (addhstaiX): Return timeout of added value.
84433         (readdhstai): Return value of addhstaiX call.
84434         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84435         (addgrbyX): Return value returned by cache_addgr.
84436         (readdgrbyname): Return value returned by addgrbyX.
84437         (readdgrbygid): Likewise.
84438         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84439         (addpwbyX): Return value returned by cache_addpw.
84440         (readdpwbyname): Return value returned by addhstbyX.
84441         (readdpwbyuid): Likewise.
84442         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84443         (addservbyX): Return value returned by cache_addserv.
84444         (readdservbyname): Return value returned by addservbyX:
84445         (readdservbyport): Likewise.
84446         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84447         (addhstbyX): Return value returned by cache_addhst.
84448         (readdhstbyname): Return value returned by addhstbyX.
84449         (readdhstbyaddr): Likewise.
84450         (readdhstbynamev6): Likewise.
84451         (readdhstbyaddrv6): Likewise.
84452         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84453         (readdinitgroups): Return value returned by addinitgroupsX.
84454         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84455         (prune_cache): Keep track of timeout value of re-added entries.
84456         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84457         * nscd/nscd.h: Adjust prototypes of readd* functions.
84459 2011-02-04  Roland McGrath  <roland@redhat.com>
84461         * nis/nis_server.c (nis_servstate): Use the right name for 0.
84462         (nis_stats): Likewise.
84463         * nis/nis_modify.c (nis_modify): Likewise.
84464         * nis/nis_remove.c (nis_remove): Likewise.
84465         * nis/nis_add.c (nis_add): Likewise.
84467         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84469         * posix/fnmatch_loop.c: Add some consts.
84471         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84473 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
84475         [BZ #12460]
84476         * config.make.in (config-cflags-novzeroupper): Define.
84477         * configure.in: Substitute libc_cv_cc_novzeroupper.
84478         * elf/Makefile (AVX-CFLAGS): Define.
84479         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84480         (CFLAGS-tst-auditmod4a.c): Likewise.
84481         (CFLAGS-tst-auditmod4b.c): Likewise.
84482         (CFLAGS-tst-auditmod6b.c): Likewise.
84483         (CFLAGS-tst-auditmod6c.c): Likewise.
84484         (CFLAGS-tst-auditmod7b.c): Likewise.
84485         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84487 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
84489         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84490         function to the callback.
84491         Patch partly by Jiri Olsa <jolsa@redhat.com>.
84493 2011-02-02  Andreas Schwab  <schwab@redhat.com>
84495         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84496         of errno.
84498 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
84500         [BZ #11724]
84501         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84502         of constructors.
84503         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84504         of destructors.
84505         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84507         [BZ #11724]
84508         * elf/Makefile: Add rules to build and run new test.
84509         * elf/tst-initorder.c: New file.
84510         * elf/tst-initorder.exp: New file.
84511         * elf/tst-initordera1.c: New file.
84512         * elf/tst-initordera2.c: New file.
84513         * elf/tst-initordera3.c: New file.
84514         * elf/tst-initordera4.c: New file.
84515         * elf/tst-initorderb1.c: New file.
84516         * elf/tst-initorderb2.c: New file.
84517         * elf/tst-order-a1.c: New file.
84518         * elf/tst-order-a2.c: New file.
84519         * elf/tst-order-a3.c: New file.
84520         * elf/tst-order-a4.c: New file.
84521         * elf/tst-order-b1.c: New file.
84522         * elf/tst-order-b2.c: New file.
84523         * elf/tst-order-main.c: New file.
84524         New test case by George Gensure <werkt0@gmail.com>.
84526 2010-10-01  Andreas Schwab  <schwab@redhat.com>
84528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84529         decoding ACE if AI_CANONIDN.
84531 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
84533         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84535 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
84537         * version.h (RELEASE): Bump for 2.13 release.
84538         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84540         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84542         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84543         MADV_NOHUGEPAGE.
84544         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84546         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84547         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84548         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84549         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84551         * posix/getconf.c: Update copyright year.
84552         * catgets/gencat.c: Likewise.
84553         * csu/version.c: Likewise.
84554         * debug/catchsegv.sh: Likewise.
84555         * debug/xtrace.sh: Likewise.
84556         * elf/ldconfig.c: Likewise.
84557         * elf/ldd.bash.in: Likewise.
84558         * elf/sprof.c (print_version): Likewise.
84559         * iconv/iconv_prog.c: Likewise.
84560         * iconv/iconvconfig.c: Likewise.
84561         * locale/programs/locale.c: Likewise.
84562         * locale/programs/localedef.c: Likewise.
84563         * malloc/memusage.sh: Likewise.
84564         * malloc/mtrace.pl: Likewise.
84565         * nscd/nscd.c (print_version): Likewise.
84566         * nss/getent.c: Likewise.
84568         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84569         PF_CAIF, and PF_ALG.
84570         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84572 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
84574         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84575         (modules-names): Use them.
84576         (ifunc-test-modules, ifunc-pie-tests): Define.
84577         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84578         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84579         (test-extras): Likewise.
84580         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84581         $(compile-command.c).
84582         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84583         (all-built-dso): Define.
84584         (check-textrel.out, check-execstack.out): Depend on it.
84586         * configure.in: Don't override --enable-multi-arch.
84588 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
84590         [BZ #6812]
84591         * nscd/hstcache.c (tryagain): Define.
84592         (cache_addhst): Return tryagain not notfound for temporary errors.
84593         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84594         failed.
84596 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
84598         [BZ #10563]
84599         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84600         to make the syscall.
84601         * sysdeps/unix/sysv/linux/setgroups.c: New file.
84603         [BZ #12378]
84604         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84605         and fall back to matching as normal character if the string ends before
84606         the matching ']' is found.  This is what POSIX requires.
84607         * posix/testfnm.c: Adjust test result.
84608         * posix/globtest.sh: Adjust test result.  Add new test.
84609         * posix/tst-fnmatch.input: Likewise.
84610         * posix/tst-fnmatch2.c: Add new test.
84612 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
84614         * elf/Makefile (check-execstack): Revert last change.  Depend on
84615         check-execstack.h.
84616         (check-execstack.h): New target.
84617         (generated): Add check-execstack.h.
84618         * elf/check-execstack.c: Include "check-execstack.h".
84619         (main): Revert last change.
84620         (handle_file): Return zero if GNU_STACK is absent and
84621         DEFAULT_STACK_PERMS doesn't include PF_X.
84623 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
84625         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84626         in child fails because the descriptor is already closed.
84627         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84628         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84629         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84631         [BZ #12397]
84632         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84633         syscall.
84635         [BZ #10484]
84636         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84637         temporary buffer used to handle multi lookups locally.
84638         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84640 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84642         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84643         loader is ld.so.
84645 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
84647         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84648         alignment for SSE2.
84650 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84652         [BZ #12394]
84653         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84654         characters.  When rounding increased number of integer digits recompute
84655         number of groups.
84656         * stdio-common/tst-grouping.c: New file.
84657         * stdio-common/Makefile: Add rules to build and run tst-grouping.
84659 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
84661         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84662         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
84664         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84665         void.
84666         * bits/select.h: Likewise.
84668 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
84670         * po/ja.po: Update from translation team.
84672 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
84674         [BZ #11155]
84675         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84676         implementation just like for lxstat, fxstatat, et al.
84678 2010-12-27  Jim Meyering  <meyering@redhat.com>
84680         [BZ #12348]
84681         * posix/regexec.c (build_trtable): Return failure indication upon
84682         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
84684 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
84686         [BZ #12201]
84687         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84688         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84689         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84690         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84692         [BZ #12207]
84693         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84695         [BZ #12204]
84696         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84697         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84699 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
84701         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84702         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84703         script has SORT_BY_INIT_PRIORITY.
84704         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84705         NO_CTORS_DTORS_SECTIONS is defined.
84706         * elf/soinit.c: Likewise.
84707         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84708         NO_CTORS_DTORS_SECTIONS is defined.
84709         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84710         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84711         * sysdeps/sh/init-first.c: Likewise.
84712         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84714 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
84716         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84717         always use the slow path.
84719 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
84721         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84722         similar rule which adds the sysdep directories to the header search in
84723         order to pick up the correct platform stackinfo.h.
84724         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84725         perform test if it is, otherwise return successfully without testing.
84726         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84727         DEFAULT_STACK_PERMS define in stackinfo.h.
84728         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84729         defined in stackinfo.h.
84730         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84731         DEFAULT_STACK_PERMS defined in stackinfo.h.
84732         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84733         * sysdeps/ia64/stackinfo.h: Likewise.
84734         * sysdeps/s390/stackinfo.h: Likewise.
84735         * sysdeps/sh/stackinfo.h: Likewise.
84736         * sysdeps/sparc/stackinfo.h: Likewise.
84737         * sysdeps/x86_64/stackinfo.h: Likewise.
84738         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84739         PF_X for powerpc64.  Retain PF_X for powerpc32.
84741 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
84743         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84744         accurately.
84745         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84746         GETDENTS_64BIT_ALIGNED.
84748 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
84750         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84752 2010-12-10  Andreas Schwab  <schwab@redhat.com>
84754         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84755         _GNU_SOURCE.
84757         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84758         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84759         Remove __restrict.
84760         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84761         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84763 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
84765         [BZ #11655]
84766         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84767         are initialized.
84769 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
84771         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84773 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
84775         * po/it.po: Update from translation team.
84777 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
84779         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84780         unused codes.
84782 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
84784         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84786 2010-11-24  Andreas Schwab  <schwab@redhat.com>
84788         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84789         specially.
84790         (gaih_getanswer_slice): Likewise.
84792 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
84794         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84796 2010-05-31  Petr Baudis  <pasky@suse.cz>
84798         [BZ #11149]
84799         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84800         silently even in the chroot mode.
84802 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
84804         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84805         last patch a bit.  Pretty printing
84807 2010-05-31  Petr Baudis <pasky@suse.cz>
84809         [BZ #10085]
84810         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84811         initialization of skip_initgroups_dyn.
84813 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
84815         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84816         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84818 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
84820         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84822 2010-11-11  Andreas Schwab  <schwab@redhat.com>
84824         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84825         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84826         (tst-fnmatch-ENV): Set MALLOC_TRACE.
84827         ($(objpfx)tst-fnmatch-mem): New rule.
84828         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84829         * posix/tst-fnmatch.c (main): Call mtrace.
84831 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
84833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84834         Support Intel processor model 6 and model 0x2c.
84836 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
84838         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84839           signed comparison.
84841 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
84843         [BZ #12205]
84844         * string/test-strncasecmp.c (check_result): New function.
84845         (do_one_test): Use it.
84846         (check1): New function.
84847         (test_main): Use it.
84848         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84849         Support strcasecmp and strncasecmp.
84851 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
84853         [BZ #12194]
84854         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84855         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84857 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
84859         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84860         IFUNC support.
84861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84862         memset-x86-64.
84863         * sysdeps/x86_64/multiarch/bzero.S: New file.
84864         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84865         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84866         * sysdeps/x86_64/multiarch/memset.S: New file.
84867         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84869         Set bit_Prefer_SSE_for_memop for Intel processors.
84870         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84871         Define.
84872         (index_Prefer_SSE_for_memop): Define.
84873         (HAS_PREFER_SSE_FOR_MEMOP): Define.
84875 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
84877         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84878         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84880 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
84882         [BZ #12191]
84883         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84884         (__x86_64_raw_data_cache_size_half): Likewise.
84885         (__x86_64_raw_shared_cache_size): Likewise.
84886         (__x86_64_raw_shared_cache_size_half): Likewise.
84888         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84889         (__x86_64_raw_data_cache_size_half): Likewise.
84890         (__x86_64_raw_shared_cache_size): Likewise.
84891         (__x86_64_raw_shared_cache_size_half): Likewise.
84892         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84893         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84894         and __x86_64_raw_shared_cache_size_half.  Round
84895         __x86_64_data_cache_size_half, __x86_64_data_cache_size
84896         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84897         to multiple of 256 bytes.
84899 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84901         [BZ #12167]
84902         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84903         of inacessible symlinks.  Verify result of symlink before returning it.
84904         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84905         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84907 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84909         * math/math.h (isinf): Fix typo in comment.
84911 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84913         * po/da.po: Update from translation team.
84915 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84917         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84918         is added to the list.
84920 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84921             Ulrich Drepper  <drepper@gmail.com>
84923         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84924         the global list here.  Move code to...
84925         (_dl_add_to_namespace_list): ...here.  New function.
84926         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84927         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84928         * elf/dl-load.c (lose): Don't remove the element from the list.
84929         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84930         (_dl_map_object): Likewise.
84932 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84934         [BZ #12159]
84935         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84936         into all bytes of SSE register.
84937         Patch by Richard Li <richardpku@gmail.com>.
84939 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84941         [BZ #12140]
84942         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84943         perturbing.
84945 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84947         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84948         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84949         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84950         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84952         submachine.
84953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84955 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84957         * include/dlfcn.h (__RTLD_SECURE): Define.
84958         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84959         mode & __RTLD_SECURE instead.
84960         (open_path): Rename preloaded parameter to secure.
84961         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84962         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84963         * elf/dl-deps.c (openaux): Likewise.
84964         * elf/rtld.c (struct map_args): Remove is_preloaded.
84965         (map_doit): Don't use it.
84966         (dl_main): Likewise.
84967         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84968         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84970 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84972         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84973         (sysd-rules-targets): Remove duplicates.
84974         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84975         rtld-%.$o dependency.
84977 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84979         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84980         _dl_map_object do it.
84982 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84984         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84985         fast fma builtins, define the macros in the C99 standard.
84986         (FP_FAST_FMAF): Likewise.
84987         (FP_FAST_FMAL): Likewise.
84988         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84990         * bits/mathdef.h: Update copyright year.
84991         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84993 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84995         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84996         builtins, define the macros in the C99 standard.
84997         (FP_FAST_FMAF): Likewise.
84998         (FP_FAST_FMAL): Likewise.
84999         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
85000         multiply/add.
85001         (FP_FAST_FMAF): Likewise.
85003 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
85005         [BZ #3268]
85006         * math/libm-test.inc (fma_test): Some new testcases.
85007         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
85008         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
85009         y and infinite z.  Do multiplication by C already in long double.
85010         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
85011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
85012         y and infinite z.  Do bitwise or of inexact bit into u.d.
85013         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
85014         * sysdeps/i386/fpu/s_fmaf.S: Removed.
85015         * sysdeps/i386/fpu/s_fma.S: Removed.
85016         * sysdeps/i386/fpu/s_fmal.S: Removed.
85018 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
85020         [BZ #3268]
85021         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
85022         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
85023         computation is not scheduled after fetestexcept.  Fix value
85024         of minimum denormal long double.
85026 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
85028         [BZ #3268]
85029         * math/libm-test.inc (fma_test): Add some more tests.
85030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
85031         correctly.
85033 2010-10-15  Andreas Schwab  <schwab@redhat.com>
85035         * scripts/data/localplt-s390-linux-gnu.data: New file.
85036         * scripts/data/localplt-s390x-linux-gnu.data: New file.
85038 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
85040         [BZ #3268]
85041         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
85042         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
85043         instead of dbl-64.
85044         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
85045         inlines.
85046         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
85047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
85048         if one of x and y is very large and the other is subnormal.
85049         * sysdeps/s390/fpu/s_fmaf.c: New file.
85050         * sysdeps/s390/fpu/s_fma.c: New file.
85051         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
85052         * sysdeps/powerpc/fpu/s_fma.S: New file.
85053         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
85054         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
85055         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
85057 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
85059         [BZ #3268]
85060         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
85061         fma tests.
85062         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
85063         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
85064         * sysdeps/i386/i686/multiarch/s_fma.c: Include
85065         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
85066         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
85067         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
85068         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
85070 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
85072         [BZ #12078]
85073         * posix/regcomp.c (parse_branch): One more memory leak plugged.
85074         * posix/bug-regex31.input: Add test case.
85076 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
85078         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
85079         * posix/bug-regex31.input: New file.
85081         [BZ #12078]
85082         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
85083         (parse_sub_exp): Fix last change, use postorder.
85085         * posix/bug-regex31.c: New file.
85086         * posix/Makefile: Add rules to build and run bug-regex31.
85088         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
85090         [BZ #12078]
85091         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
85093         [BZ #12108]
85094         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
85095         to have entries in sys_siglist.
85097         [BZ #12093]
85098         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
85099         be NULL.
85101 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
85103         [BZ #3268]
85104         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
85105         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
85106         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
85107         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
85108         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85109         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
85110         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
85111         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
85112         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
85113         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85114         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85115         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85116         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85117         * math/ftestexcept.c (fetestexcept): Likewise.
85118         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85119         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85120         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85121         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85122         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85123         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85124         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85126 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
85128         [BZ #12107]
85129         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85130         newline.
85132 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
85134         * string/bug-strstr1.c: New file.
85135         * string/Makefile: Add rules to build and run bug-strstr1.
85137 2010-10-05  Eric Blake  <eblake@redhat.com>
85139         [BZ #12092]
85140         * string/str-two-way.h (two_way_long_needle): Always clear memory
85141         when skipping input due to the shift table.
85143 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
85145         [BZ #12005]
85146         * malloc/mcheck.c: Handle large requests.
85148         [BZ #12077]
85149         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85150         for strncmp and strncasecmp.
85151         * string/stratcliff.c: Add tests for strcmp and strncmp.
85152         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85154 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85156         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85157         __set_fpscr.
85159 2010-09-30  Andreas Jaeger  <aj@suse.de>
85161         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85162         (CGROUP_SUPER_MAGIC): Define.
85163         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85164         Handle btrfs and cgroup file systems.
85165         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85166         Likewise.
85168 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
85170         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85171         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85173 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85175         [BZ #12067]
85176         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85177         trying to locate the ELF header.
85179 2010-09-27  Andreas Schwab  <schwab@redhat.com>
85181         [BZ #11611]
85182         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85183         Mask out sign-bit copies when constructing f_fsid.
85185 2010-09-24  Petr Baudis <pasky@suse.cz>
85187         * debug/stack_chk_fail_local.c: Add missing licence exception.
85188         * debug/warning-nop.c: Likewise.
85190 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
85192         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85193         implementing getdents64 using getdents syscall, set d_type if
85194         __ASSUME_GETDENTS32_D_TYPE.
85196 2010-09-16  Andreas Schwab  <schwab@redhat.com>
85198         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85199         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85201 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
85203         [BZ #12037]
85204         * posix/unistd.h: Undo change of feature selection for ftruncate from
85205         2010-01-11.
85207 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
85209         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85210         detection.
85212 2010-09-20  Andreas Schwab  <schwab@redhat.com>
85214         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85215         fanotify_mark.
85216         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85218 2010-09-14  Andreas Schwab  <schwab@redhat.com>
85220         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85221         variables after CHECK_SP call.
85222         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85224 2010-09-13  Andreas Schwab  <schwab@redhat.com>
85225             Ulrich Drepper  <drepper@redhat.com>
85227         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85228         re-relocationg ld.so.
85229         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85230         _dl_init_paths call.
85231         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
85232         here anymore.
85234 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
85236         * resolv/res_init.c (__res_vinit): Count the default server we added.
85238 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
85239             Ulrich Drepper  <drepper@redhat.com>
85241         [BZ #11968]
85242         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85243         (____longjmp_chk): Use %ebx for saving value across system call.
85244         Add unwind info.
85246 2010-09-06  Andreas Schwab  <schwab@redhat.com>
85248         * manual/Makefile: Don't mix pattern rules with normal rules.
85250 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
85252         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85253         operation.
85254         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85255         * libio/iofopncook.c (_IO_cookie_init): Likewise.
85256         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85257         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85258         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85259         Likewise.
85261 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
85263         [BZ #11979]
85264         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85265         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85267 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
85269         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85270         * sysdeps/x86_64/addmul_1.S: Likewise.
85271         * sysdeps/x86_64/lshift.S: Likewise.
85272         * sysdeps/x86_64/mul_1.S: Likewise.
85273         * sysdeps/x86_64/rshift.S: Likewise.
85274         * sysdeps/x86_64/sub_n.S: Likewise.
85275         * sysdeps/x86_64/submul_1.S: Likewise.
85277 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85279         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85280         Define __sched_param instead of SCHED_* and sched_param when
85281         <bits/sched.h> is included with __need_schedparam defined.
85282         * bits/sched.h [__need_schedparam]
85283         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85284         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85285         (__defined_schedparam): Define to 1.
85286         (__sched_param): New structure, identical to sched_param.
85287         (__need_schedparam): Undefine.
85289 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
85291         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85292         (epoll_create1): Declare.
85294         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85296 2010-08-31  Andreas Schwab  <schwab@redhat.com>
85298         [BZ #7066]
85299         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85300         shifting retval into place.
85302 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
85304         * nis/rpcsvc/nis.h: Update copyright notice.
85305         * nis/rpcsvc/nis.x: Likewise.
85306         * nis/rpcsvc/nis_callback.h: Likewise.
85307         * nis/rpcsvc/nis_callback.x: Likewise.
85308         * nis/rpcsvc/nis_object.x: Likewise.
85309         * nis/rpcsvc/nis_tags.h: Likewise.
85310         * nis/rpcsvc/yp.h: Likewise.
85311         * nis/rpcsvc/yp.x: Likewise.
85312         * nis/rpcsvc/ypupd.h: Likewise.
85313         * nis/yp_xdr.c: Likewise.
85314         * nis/ypupdate_xdr.c: Likewise.
85316         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
85317         mainly the body of pmap_getport.  Add parameters to specify timeouts.
85318         (pmap_getport): Use __libc_rpc_getport.
85319         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85320         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85321         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85323 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
85325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85326         fanotify_mark.
85328 2010-08-27  Roland McGrath  <roland@redhat.com>
85330         * sysdeps/i386/i686/multiarch/Makefile
85331         (CFLAGS-varshift.c): New variable.
85333 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
85335         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85336         * sysdeps/i386/i686/multiarch/varshift.c: New file.
85338         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85340         * sysdeps/x86_64/strlen.S: Minimal code improvement.
85342 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
85344         * sysdeps/x86_64/strlen.S: Unroll the loop.
85345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85346         strlen-sse2 strlen-sse2-bsf.
85347         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85348         __strlen_no_bsf if bit_Slow_BSF is set.
85349         (__strlen_sse42): Removed.
85350         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85351         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85353 2010-08-25  Roland McGrath  <roland@redhat.com>
85355         * sysdeps/x86_64/multiarch/varshift.S: File removed.
85356         * sysdeps/x86_64/multiarch/varshift.c: New file.
85357         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85358         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85359         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85360         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85362 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
85364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85365         strlen-sse2 strlen-sse2-bsf.
85366         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85367         __strlen_sse2_bsf if bit_Slow_BSF is unset.
85368         (__strlen_sse2): Removed.
85369         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85370         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85372         bit_Slow_BSF for Atom.
85373         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85374         (index_Slow_BSF): Define.
85375         (HAS_SLOW_BSF): Define.
85377 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
85379         [BZ #10851]
85380         * resolv/res_init.c (__res_vinit): When no server address at all
85381         is given default to loopback.
85383 2010-08-24  Roland McGrath  <roland@redhat.com>
85385         * configure.in: Remove config-name.h generation.
85386         * configure: Regenerated.
85387         * config-name.in: File removed.
85388         * scripts/config-uname.sh: New file.
85389         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85390         ($(objdir)config-name.h): New target.
85392         * sunrpc/rpc_parse.h: Avoid nested comment.
85394 2010-08-24  Richard Henderson  <rth@redhat.com>
85395             Ulrich Drepper  <drepper@redhat.com>
85396             H.J. Lu  <hongjiu.lu@intel.com>
85398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85400         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85401         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
85402         _mm_alignr_epi8 with _mm_loadu_si128.
85403         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85404         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85405         (__m128i_shift_right): Removed.
85406         * sysdeps/i386/i686/multiarch/varshift.h: New file.
85407         * sysdeps/i386/i686/multiarch/varshift.S: New file.
85408         * sysdeps/x86_64/multiarch/varshift.h: New file.
85409         * sysdeps/x86_64/multiarch/varshift.S: New file.
85411 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
85413         * configure.in: Move assembler checks to before sysdep dir checking.
85415 2010-08-20  Petr Baudis  <pasky@suse.cz>
85417         * LICENSES: Sync the sunrpc license.
85419 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
85421         * sunrpc/auth_des.c: Update copyright notice once again.
85422         * sunrpc/auth_none.c: Likewise.
85423         * sunrpc/auth_unix.c: Likewise.
85424         * sunrpc/authdes_prot.c: Likewise.
85425         * sunrpc/authuxprot.c: Likewise.
85426         * sunrpc/bindrsvprt.c: Likewise.
85427         * sunrpc/clnt_gen.c: Likewise.
85428         * sunrpc/clnt_perr.c: Likewise.
85429         * sunrpc/clnt_raw.c: Likewise.
85430         * sunrpc/clnt_simp.c: Likewise.
85431         * sunrpc/clnt_tcp.c: Likewise.
85432         * sunrpc/clnt_udp.c: Likewise.
85433         * sunrpc/clnt_unix.c: Likewise.
85434         * sunrpc/des_crypt.c: Likewise.
85435         * sunrpc/des_soft.c: Likewise.
85436         * sunrpc/get_myaddr.c: Likewise.
85437         * sunrpc/getrpcport.c: Likewise.
85438         * sunrpc/key_call.c: Likewise.
85439         * sunrpc/key_prot.c: Likewise.
85440         * sunrpc/openchild.c: Likewise.
85441         * sunrpc/pm_getmaps.c: Likewise.
85442         * sunrpc/pm_getport.c: Likewise.
85443         * sunrpc/pmap_clnt.c: Likewise.
85444         * sunrpc/pmap_prot.c: Likewise.
85445         * sunrpc/pmap_prot2.c: Likewise.
85446         * sunrpc/pmap_rmt.c: Likewise.
85447         * sunrpc/rpc/auth.h: Likewise.
85448         * sunrpc/rpc/auth_unix.h: Likewise.
85449         * sunrpc/rpc/clnt.h: Likewise.
85450         * sunrpc/rpc/des_crypt.h: Likewise.
85451         * sunrpc/rpc/key_prot.h: Likewise.
85452         * sunrpc/rpc/netdb.h: Likewise.
85453         * sunrpc/rpc/pmap_clnt.h: Likewise.
85454         * sunrpc/rpc/pmap_prot.h: Likewise.
85455         * sunrpc/rpc/pmap_rmt.h: Likewise.
85456         * sunrpc/rpc/rpc.h: Likewise.
85457         * sunrpc/rpc/rpc_des.h: Likewise.
85458         * sunrpc/rpc/rpc_msg.h: Likewise.
85459         * sunrpc/rpc/svc.h: Likewise.
85460         * sunrpc/rpc/svc_auth.h: Likewise.
85461         * sunrpc/rpc/types.h: Likewise.
85462         * sunrpc/rpc/xdr.h: Likewise.
85463         * sunrpc/rpc_clntout.c: Likewise.
85464         * sunrpc/rpc_cmsg.c: Likewise.
85465         * sunrpc/rpc_common.c: Likewise.
85466         * sunrpc/rpc_cout.c: Likewise.
85467         * sunrpc/rpc_dtable.c: Likewise.
85468         * sunrpc/rpc_hout.c: Likewise.
85469         * sunrpc/rpc_main.c: Likewise.
85470         * sunrpc/rpc_parse.c: Likewise.
85471         * sunrpc/rpc_parse.h: Likewise.
85472         * sunrpc/rpc_prot.c: Likewise.
85473         * sunrpc/rpc_sample.c: Likewise.
85474         * sunrpc/rpc_scan.c: Likewise.
85475         * sunrpc/rpc_scan.h: Likewise.
85476         * sunrpc/rpc_svcout.c: Likewise.
85477         * sunrpc/rpc_tblout.c: Likewise.
85478         * sunrpc/rpc_util.c: Likewise.
85479         * sunrpc/rpc_util.h: Likewise.
85480         * sunrpc/rpcinfo.c: Likewise.
85481         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85482         * sunrpc/rpcsvc/key_prot.x: Likewise.
85483         * sunrpc/rpcsvc/klm_prot.x: Likewise.
85484         * sunrpc/rpcsvc/mount.x: Likewise.
85485         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85486         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85487         * sunrpc/rpcsvc/rex.x: Likewise.
85488         * sunrpc/rpcsvc/rstat.x: Likewise.
85489         * sunrpc/rpcsvc/rusers.x: Likewise.
85490         * sunrpc/rpcsvc/sm_inter.x: Likewise.
85491         * sunrpc/rpcsvc/spray.x: Likewise.
85492         * sunrpc/rpcsvc/yppasswd.x: Likewise.
85493         * sunrpc/rtime.c: Likewise.
85494         * sunrpc/svc.c: Likewise.
85495         * sunrpc/svc_auth.c: Likewise.
85496         * sunrpc/svc_authux.c: Likewise.
85497         * sunrpc/svc_raw.c: Likewise.
85498         * sunrpc/svc_run.c: Likewise.
85499         * sunrpc/svc_simple.c: Likewise.
85500         * sunrpc/svc_tcp.c: Likewise.
85501         * sunrpc/svc_udp.c: Likewise.
85502         * sunrpc/svc_unix.c: Likewise.
85503         * sunrpc/svcauth_des.c: Likewise.
85504         * sunrpc/xcrypt.c: Likewise.
85505         * sunrpc/xdr.c: Likewise.
85506         * sunrpc/xdr_array.c: Likewise.
85507         * sunrpc/xdr_float.c: Likewise.
85508         * sunrpc/xdr_mem.c: Likewise.
85509         * sunrpc/xdr_rec.c: Likewise.
85510         * sunrpc/xdr_ref.c: Likewise.
85511         * sunrpc/xdr_sizeof.c: Likewise.
85512         * sunrpc/xdr_stdio.c: Likewise.
85514         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85515         handling.
85517 2010-08-19  Andreas Schwab  <schwab@redhat.com>
85519         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85521 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
85523         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85524         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85525         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85526         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85527         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85528         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85529         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85530         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85531         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85532         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85533         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85534         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85535         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85536         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85538 2010-07-26  Anton Blanchard  <anton@samba.org>
85540         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85541         * malloc/arena.c (heap_trim): Likewise.
85543 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
85545         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85546         here.  Not...
85547         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85548         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85550 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
85552         * sysdeps/i386/elf/Makefile: New file.
85554 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85556         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85557         from fanotify_init.
85558         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85561 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
85563         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85564         of strncasecmp_l.
85565         * sysdeps/multiarch/strcmp.S: Likewise.
85567 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
85569         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85570         strncase_l-nonascii.
85571         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85572         Add strncase_l-ssse3.
85573         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85574         * sysdeps/x86_64/strcmp.S: Likewise.
85575         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85576         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85577         * sysdeps/x86_64/strncase.S: New file.
85578         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85579         * sysdeps/x86_64/strncase_l.S: New file.
85580         * string/Makefile (strop-tests): Add strncasecmp.
85581         * string/test-strncasecmp.c: New file.
85583         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85584         warning.
85586         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85587         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85589 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85591         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85593 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
85595         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85596         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85597         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85599 2010-05-01  Alan Modra  <amodra@gmail.com>
85601         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85602         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85603         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85604         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85605         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85606         tidying.  Don't tail-call __sigjmp_save for static lib.
85607         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85608         save location.
85609         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85610         (CALL_MCOUNT): Add eh info, and nop after bl.
85611         (TAIL_CALL_SYSCALL_ERROR): New macro.
85612         (PSEUDO_RET): Use it.
85613         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85614         Correct save location of integer regs and cr.
85615         (_dl_profile_resolve): Correct cr save location.  Delete nops
85616         after bl when SHARED.  Reduce cfi size a little by better
85617         placement of cfi directives.
85618         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85619         make a stack frame.  Instead use parm save area as a temp.
85620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85621         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
85622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85623         Don't make a stack frame for parent, use parm save area.
85624         Increase child stack frame to 112 bytes.  Don't save unused reg,
85625         and adjust reg usage.  Set up cfi on error recovery and
85626         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85628         (__makecontext): Add dummy nop after jump to exit.
85629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85630         Use correct parm save area and cr save, reduce stack frame.
85631         Correct cfi for possible PSEUDO_RET frame setup.
85632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85633         Branch to local label emitted by PSEUDO_RET rather than
85634         __syscall_error.
85636 2010-08-12  Andreas Schwab  <schwab@redhat.com>
85638         [BZ #11904]
85639         * locale/programs/locale.c (print_assignment): New function.
85640         (show_locale_vars): Use it.
85642 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
85644         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85645         field.
85646         (struct statfs64): Likewise.
85647         (_STATFS_F_FLAGS): Define.
85648         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85649         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85650         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85651         (ST_VALID): Define locally.
85652         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85653         __statvfs_getflags, use the provided value.
85654         * sysdeps/unix/sysv/linux/kernel-features.h: Define
85655         __ASSUME_STATFS_F_FLAGS.
85657         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85659         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85660         Add sys/fanotify.h.
85661         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85662         fanotify_mask for GLIBC_2.13.
85663         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85664         fanotify_init and fanotify_mark.
85665         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85666         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85668         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85669         Add prlimit.
85670         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85671         prlimit64 for GLIBC_2.13.
85672         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85673         prlimit64.
85674         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85675         syscall.
85676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85677         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85678         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85679         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
85681         add prlimit alias.
85682         * sysdeps/unix/sysv/linux/prlimit.c: New file.
85684         [BZ #11903]
85685         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85686         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85688         * nss/Makefile: Add rules to build and run tst-nss-test1.
85689         * shlib-versions: Add entry for libnss_test1.
85690         * nss/nss_test1.c: New file.
85691         * nss/tst-nss-test1.c: New file.
85693         * nss/nsswitch.c (__nss_database_custom): Define new variable.
85694         (__nss_configure_lookup): Set appropriate entry in
85695         __nss_configure_lookup to true.
85696         * nss/nsswitch.h: Define enum with indeces of databases in
85697         databases and __nss_database_custom arrays.  Declare
85698         __nss_database_custom.
85699         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85700         to avoid using nscd when custom rules are installed.
85701         * nss/getXXbyYY_r.c: Likewise.
85702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85704         * nss/nss_files/files-parse.c: Whitespace fixes.
85706 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
85708         [BZ #11883]
85709         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85710         * posix/fnmatch_loop.c: Likewise.
85712 2010-07-17  Andi Kleen  <ak@linux.intel.com>
85714         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85715         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85716         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85717         * Versions.def [GLIBC_2.13]: Add.
85719 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
85721         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85722         Also fail if tpwd after pwuid call is NULL.
85724 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85726         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85727         when converting to ms.
85729 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85731         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85732         EOPNOTSUPP errors with ENOTTY.
85733         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85734         EOPNOTSUPP errors with ENOTTY.
85736 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
85738         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85739         Add strcasecmp_l-ssse3.
85740         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85741         strcasecmp.
85742         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85743         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85744         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85746 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
85748         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85750         * string/Makefile (strop-tests): Add strcasecmp.
85751         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85752         strcasecmp_l-nonascii.
85753         (gen-as-const-headers): Add locale-defines.sym.
85754         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85755         * sysdeps/x86_64/strcasecmp.S: New file.
85756         * sysdeps/x86_64/strcasecmp_l.S: New file.
85757         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85758         * sysdeps/x86_64/locale-defines.sym: New file.
85759         * string/test-strcasecmp.c: New file.
85761         * string/test-strcasestr.c: Test both ends of the range of characters.
85762         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85764 2010-07-29  Roland McGrath  <roland@redhat.com>
85766         [BZ #11856]
85767         * manual/locale.texi (Yes-or-No Questions): Fix example code.
85769 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
85771         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85772         for ld.so.
85774 2010-07-27  Andreas Schwab  <schwab@redhat.com>
85776         * manual/memory.texi (Malloc Tunable Parameters): Document
85777         M_PERTURB.
85779 2010-07-26  Roland McGrath  <roland@redhat.com>
85781         [BZ #11840]
85782         * configure.in (-fgnu89-inline check): Set and substitute
85783         gnu89_inline, not libc_cv_gnu89_inline.
85784         * configure: Regenerated.
85785         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85787 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
85789         * string/test-strnlen.c: New file.
85790         * string/Makefile (strop-tests): Add strnlen.
85791         * string/tester.c (test_strnlen): Add a few more test cases.
85792         * string/tst-strlen.c: Better error reporting.
85794         * sysdeps/x86_64/strnlen.S: New file.
85796 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
85798         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85799         lower-latency instructions.
85801 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
85803         * string/test-strcasestr.c: New file.
85804         * string/test-strstr.c: New file.
85805         * string/Makefile (strop-tests): Add strstr and strcasestr.
85806         * string/str-two-way.h: Don't undefine MAX.
85807         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85809 2010-07-21  Andreas Schwab  <schwab@redhat.com>
85811         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85812         strcasestr-nonascii.
85813         (CFLAGS-strcasestr-nonascii.c): Define.
85814         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85815         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85816         Remove unused attribute.
85818 2010-07-20  Roland McGrath  <roland@redhat.com>
85820         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85821         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
85822         ld.so.cache was broken.  With it, there is no way to disable dsocaps
85823         like LD_HWCAP_MASK can disable hwcaps.
85825 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85827         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85829 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
85831         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85832         call in strcasestr.
85833         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85834         __strcasestr_sse42_nonascii.
85835         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85836         strcasestr-nonascii.c.
85837         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85839 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
85841         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85842         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85843         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85844         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85846 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
85848         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85849         fcntl.
85851 2010-07-06  Andreas Schwab  <schwab@redhat.com>
85853         [BZ #11577]
85854         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85855         dl_signal_cerror.
85857 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
85859         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85860         _PC_PIPE_BUF using F_GETPIPE_SZ.
85862 2010-07-05  Roland McGrath  <roland@redhat.com>
85864         * manual/arith.texi (Rounding Functions): Fix rint description
85865         implicit in round description.
85867 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
85869         * elf/Makefile: Fix linking for a few tests to make recent linker
85870         happy.
85872 2010-06-30  Andreas Schwab  <schwab@redhat.com>
85874         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85875         $(common-objpfx)libc_nonshared.a.
85877 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
85879         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85880         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85881         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85882         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85883         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85884         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85885         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85886         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85901         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85902         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85903         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85904         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85905         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85906         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85907         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85908         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85909         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85910         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85911         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85912         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85928 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85930         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85931         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85932         * string/memmove.c (memmove): Renamed to ...
85933         (MEMMOVE): ...this.  Default to memmove.
85934         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85935         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85936         (END_CHK): Define.
85937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85938         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85939         mempcpy-ssse3-back memmove-ssse3-back.
85940         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85941         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85942         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85943         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85944         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85945         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85946         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85947         * sysdeps/x86_64/multiarch/memmove.c: New file.
85948         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85949         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85950         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85951         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85952         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85953         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85954         Define.
85955         (index_Fast_Copy_Backward): Define.
85956         (HAS_ARCH_FEATURE): Define.
85957         (HAS_FAST_REP_STRING): Define.
85958         (HAS_FAST_COPY_BACKWARD): Define.
85960 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85962         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85963         Restore proper fallback handling.
85965 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85967         [BZ #11701]
85968         * posix/group_member.c (__group_member): Correct checking loop.
85970         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85971         OOM in getpwuid_r correctly.  Return error number when the caller
85972         should return, otherwise -1.
85973         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85974         call returning > 0 value.
85975         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85977 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85979         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85980         libc_nonshared.a from targets in modules-names.
85982 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85984         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85985         requires it.
85987 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85989         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85990         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85991         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85994 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85996         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85998 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
86000         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
86001         and F_GETPIPE_SZ.
86002         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
86003         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86004         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86006         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86007         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86009 2010-06-14  Roland McGrath  <roland@redhat.com>
86011         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
86013 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
86015         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
86016         __REDIRECT followed by __THROW.
86017         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
86018         * posix/getopt.h (getopt): Likewise.
86020 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
86022         * hurd/lookup-at.c (__file_name_lookup_at): Accept
86023         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
86024         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
86025         in AT_FLAGS.
86026         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
86027         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
86029 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
86031         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
86033 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
86035         [BZ #11640]
86036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86037         Properly check family and model.
86039 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
86041         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
86043 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
86045         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
86047 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
86049         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
86050         symbol reference.
86052 2010-05-19  Andreas Schwab  <schwab@redhat.com>
86054         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
86055         symbol reference.
86057 2010-05-21  Andreas Schwab  <schwab@redhat.com>
86059         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
86060         and internal_recvmmsg.
86061         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
86062         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
86063         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
86064         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
86066         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
86067         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
86068         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
86070 2010-05-20  Andreas Schwab  <schwab@redhat.com>
86072         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
86074 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
86076         POWER7 optimizations.
86077         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
86078         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
86080 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
86082         * version.h: Update for 2.13 development version.
86084 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
86086         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
86087         exceptions.  Return 0.
86089 2010-05-07  Roland McGrath  <roland@redhat.com>
86091         * elf/ldconfig.c (main): Add a const.
86093 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
86095         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
86096         (args_options): Add no-idn option.
86097         (ahosts_keys_int): Add idn_flags to ai_flags.
86098         (parse_option): Handle 'i' option to clear idn_flags.
86100         * malloc/malloc.c (_int_free): Possible race in the most recently
86101         added check.  Only act on the data if no current modification
86102         happened.
86104 See ChangeLog.17 for earlier changes.